|
@@ -346,6 +346,12 @@ this.extensions = {
|
|
|
as a string directly or loaded via AJAX instead.
|
|
|
</p>
|
|
|
|
|
|
+ <h3>[property:String glslVersion]</h3>
|
|
|
+ <p>
|
|
|
+ Defines the GLSL version of custom shader code. Only relevant for WebGL 2 in order to define whether to use
|
|
|
+ GLSL 3.0 or not. Valid values are *THREE.GLSL1* or *THREE.GLSL3*. Default is *null*.
|
|
|
+ </p>
|
|
|
+
|
|
|
<h3>[property:String index0AttributeName]</h3>
|
|
|
<p>
|
|
|
If set, this calls [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindAttribLocation gl.bindAttribLocation]
|
|
@@ -378,19 +384,11 @@ this.extensions = {
|
|
|
When set to true, morph normal attributes are available in the vertex shader. Default is *false*.
|
|
|
</p>
|
|
|
|
|
|
-
|
|
|
- <h3>[property:WebGLProgram program]</h3>
|
|
|
- <p>
|
|
|
- The compiled shader program associated with this material, generated by [page:WebGLRenderer].
|
|
|
- You should not need to access this property.
|
|
|
- </p>
|
|
|
-
|
|
|
<h3>[property:Boolean flatShading]</h3>
|
|
|
<p>
|
|
|
Define whether the material is rendered with flat shading. Default is false.
|
|
|
</p>
|
|
|
|
|
|
-
|
|
|
<h3>[property:Boolean skinning]</h3>
|
|
|
<p>
|
|
|
Define whether the material uses skinning; true to pass skinning attributes to the shader. Default is false.
|