Experimenting with array-less materials.

Do not use for anything, this is just snapshot of a test in progress. I solved quite a few issues, but many things are still clumsy and broken.
This commit is contained in:
alteredq
2011-10-21 03:06:06 +02:00
parent 32ba5a562a
commit 05b3db4dca
38 changed files with 1103 additions and 1091 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ THREE.TexturePass.prototype = {
render: function ( renderer, writeBuffer, readBuffer, delta ) {
THREE.EffectComposer.quad.materials[ 0 ] = this.material;
THREE.EffectComposer.quad.material = this.material;
renderer.render( THREE.EffectComposer.scene, THREE.EffectComposer.camera, readBuffer );