Constructor
new ShaderMaterial(aIllumShader)
Parameters:
| Name | Type | Description |
|---|---|---|
aIllumShader |
WebGLProgram | compiled IllumShader program this ShaderMaterial belongs to |
- Source:
Methods
loadToShader(aMaterial)
Loads a Material into the IllumShader
Parameters:
| Name | Type | Description |
|---|---|---|
aMaterial |
Material | Material to load into GLSL |
- Source: