Render Targets with Opengl ES 2.0
Posted: Wed May 29, 2013 6:48 pm
Does Opengl ES 2.0 support using the Render Target Component?
Can't seem to get it working.
Can't seem to get it working.
The rapid development solution with a tiny footprint
http://www.emix8.org/forum/
Correct. Any textures you add to the Material component are passed to the shader automatically ( as sampler2D ) using the naming convention tex1, tex2 etc. So simply add the line "uniform sampler2D tex1" in your fragment shader to access the RenderTarget you've applied to the Material.jazz wrote:Seem like I should sample my render target texture in the fragment shader for the final image. But not sure how to send the image to the shader.