Creates an instance of UnlitShader. *
The WebGL2 rendering context. *
The unlit material.
Protected_Protected_Protected_Protected_The WebGL2 rendering context. *
The unlit material.
StaticSHADER_A map of string keys to URLs for reusable shader function files. *
ProtecteddeserializeDeserializes the object from a JSON-compatible data structure.
The JSON data object to deserialize from. *
ProtectedgetLoads the unlit material's properties into the shader's uniforms.
ProtectedserializeSerializes the object to a JSON-compatible data structure. *
StaticinstanciateCreates a new instance of UnlitShader.
The WebGL2 rendering context. *
The unlit material associated with this shader. *
Staticpre
Represents a shader specifically designed for rendering objects with an unlit material. It handles uniforms for color, texture, and UV transformations. *