Protected_Protected_Protected_Protected_ProtectedglThe cubemap material associated with this shader. *
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. *
ProtectedgetInitializes the shader by setting the correct file paths for the vertex and fragment shaders before calling the parent initialize method. * *
Loads the cubemap material's properties into the shader's uniforms.
ProtectedserializeBinds a cubemap texture to a uniform in the shader. * *
The name of the uniform. *
The cubemap texture object. *
The texture unit index to bind to. *
Serializes the object to a JSON-compatible data structure. *
StaticinstanciateCreates a new instance of SkyboxShader.
The WebGL2 rendering context. *
The cubemap material associated with this shader. *
Staticpre
A shader designed specifically for rendering skyboxes using a cubemap texture. *