Explorar o código

docs shadermaterial remove attribute from example

Jost Schmithals %!s(int64=8) %!d(string=hai) anos
pai
achega
e4a859b17c
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      docs/api/materials/ShaderMaterial.html

+ 4 - 3
docs/api/materials/ShaderMaterial.html

@@ -86,13 +86,14 @@
 		var material = new THREE.ShaderMaterial( {
 
 			uniforms: {
+
 				time: { value: 1.0 },
 				resolution: { value: new THREE.Vector2() }
+
 			},
-			attributes: {
-				vertexOpacity: { value: [] }
-			},
+
 			vertexShader: document.getElementById( 'vertexShader' ).textContent,
+
 			fragmentShader: document.getElementById( 'fragmentShader' ).textContent
 
 		} );