瀏覽代碼

removed amplitude uniform because it is not used

N Halloran 12 年之前
父節點
當前提交
edcded2fc1
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      examples/webgl_buffergeometry_custom_attributes_particles.html

+ 0 - 2
examples/webgl_buffergeometry_custom_attributes_particles.html

@@ -42,7 +42,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;
 
 
@@ -115,7 +114,6 @@
 
 
 			uniforms = {
 			uniforms = {
 
 
-				amplitude: { type: "f", value: 1.0 },
 				color:     { type: "c", value: new THREE.Color( 0xffffff ) },
 				color:     { type: "c", value: new THREE.Color( 0xffffff ) },
 				texture:   { type: "t", value: THREE.ImageUtils.loadTexture( "textures/sprites/spark1.png" ) },
 				texture:   { type: "t", value: THREE.ImageUtils.loadTexture( "textures/sprites/spark1.png" ) },