Hello,
Here is the fix for the warning for everyone who got the package from npm:
three.webglrenderer.setTexture2D: don't use render targets as textures. Use their .texture property instead.
Locate your shaderpass file in your node_modules, and search for this line:
this.uniforms[ this.textureID ].value = readBuffer;
Next, replace that line with this:
this.uniforms[ this.textureID ].value = readBuffer.texture;
As you can see all that is added to this line is .texture to the readBuffer to fix the warning.
Hello,
Here is the fix for the warning for everyone who got the package from npm:
three.webglrenderer.setTexture2D: don't use render targets as textures. Use their .texture property instead.Locate your shaderpass file in your node_modules, and search for this line:
this.uniforms[ this.textureID ].value = readBuffer;Next, replace that line with this:
this.uniforms[ this.textureID ].value = readBuffer.texture;As you can see all that is added to this line is .texture to the readBuffer to fix the warning.