Class: ShaderMaterial

ShaderMaterial

new ShaderMaterial(aIllumShader) → {ShaderMaterial}

Default Constructor

Knows how to load aMaterial into the IllumShader

Rederences point to uMaterial.

Parameters:
Name Type Description
aIllumShader IllumShader shader to load material into
Source:
Returns:
new instance of ShaderMaterial
Type
ShaderMaterial

Methods

loadToShader(aMaterial) → {void}

Loads material onto the shader
Parameters:
Name Type Description
aMaterial Material Material to load into shader
Source:
Returns:
Type
void