提交 ae86d186 编写于 作者: T Takahiro

3D Texture example Minor Clean up

上级 1d77ef63
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
var material = new THREE.ShaderMaterial( { var material = new THREE.ShaderMaterial( {
uniforms: { uniforms: {
diffuse: { value: texture }, diffuse: { value: texture },
depth: { value: 0 },// 50 / 109 }, depth: { value: 0 },
size: { value: new THREE.Vector2( planeWidth, planeHeight ) } size: { value: new THREE.Vector2( planeWidth, planeHeight ) }
}, },
vertexShader: document.getElementById( 'vs' ).textContent.trim(), vertexShader: document.getElementById( 'vs' ).textContent.trim(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册