提交 00c19768 编写于 作者: M Mr.doob

Examples: Clean up.

上级 3d0eac48
...@@ -289,7 +289,7 @@ ...@@ -289,7 +289,7 @@
uniforms: { uniforms: {
resolution: { value: new THREE.Vector2( canvas.width, canvas.height ) }, resolution: { value: new THREE.Vector2( canvas.width, canvas.height ) },
cameraWorldMatrix: { value: camera.matrixWorld }, cameraWorldMatrix: { value: camera.matrixWorld },
cameraProjectionMatrixInverse: { value: new THREE.Matrix4().copy( camera.projectionMatrixInverse ) } cameraProjectionMatrixInverse: { value: camera.projectionMatrixInverse.clone() }
}, },
vertexShader: document.getElementById( 'vertex_shader' ).textContent, vertexShader: document.getElementById( 'vertex_shader' ).textContent,
fragmentShader: document.getElementById( 'fragment_shader' ).textContent fragmentShader: document.getElementById( 'fragment_shader' ).textContent
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册