Namespace sandboxe.material.coreProgram
Defined in: docbase.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Built-in programs for the program property of a material.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
sandboxe.material.coreProgram.basic
Default material.
|
<static> |
sandboxe.material.coreProgram.lighting
Lighting material.
|
Namespace Detail
sandboxe.material.coreProgram
Built-in programs for the program property of a material.
These are to be used if no user shader programs are provided.
Field Detail
<static>
sandboxe.material.coreProgram.basic
Default material. No lighting. The color is determined by the Ambient color.
<static>
sandboxe.material.coreProgram.lighting
Lighting material. The lighting shader is guaranteed to follow and Phong-like shading model.