Lewy Blue 6 роки тому
батько
коміт
5031938c06
1 змінених файлів з 0 додано та 2 видалено
  1. 0 2
      examples/webgl_custom_attributes_points.html

+ 0 - 2
examples/webgl_custom_attributes_points.html

@@ -38,7 +38,6 @@
 
 
 		<script type="x-shader/x-vertex" id="vertexshader">
 		<script type="x-shader/x-vertex" id="vertexshader">
 
 
-			uniform float amplitude;
 			attribute float size;
 			attribute float size;
 			attribute vec3 customColor;
 			attribute vec3 customColor;
 
 
@@ -143,7 +142,6 @@
 			var material = new THREE.ShaderMaterial( {
 			var material = new THREE.ShaderMaterial( {
 
 
 				uniforms: {
 				uniforms: {
-					amplitude: { value: 1.0 },
 					color: { value: new THREE.Color( 0xffffff ) },
 					color: { value: new THREE.Color( 0xffffff ) },
 					texture: { value: new THREE.TextureLoader().load( "textures/sprites/spark1.png" ) }
 					texture: { value: new THREE.TextureLoader().load( "textures/sprites/spark1.png" ) }
 				},
 				},