Browse Source

removed unused uniform

Lewy Blue 6 năm trước cách đây
mục cha
commit
5031938c06
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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">
 
-			uniform float amplitude;
 			attribute float size;
 			attribute vec3 customColor;
 
@@ -143,7 +142,6 @@
 			var material = new THREE.ShaderMaterial( {
 
 				uniforms: {
-					amplitude: { value: 1.0 },
 					color: { value: new THREE.Color( 0xffffff ) },
 					texture: { value: new THREE.TextureLoader().load( "textures/sprites/spark1.png" ) }
 				},