浏览代码

removed unused uniform

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">
 
-			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" ) }
 				},