Capítulo 89 de 859
This class works just like ShaderMaterial, except that definitions of built-in uniforms and attributes are not automatically prepended to the GLSL shader code.
RawShaderMaterial can only be used with WebGLRenderer.
Constructor
| Signature |
|---|
new RawShaderMaterial( parameters : Object ) |
Properties
| Property | Description |
|---|---|
.isRawShaderMaterial : boolean (readonly) | This flag can be used for type testing. |