Re: [osg-users] Question about osgmultiplerendertargets

2014-04-04 Thread Paul Pocock

Sorry my bad - it was the texure coordinates :P


On 05/04/14 09:40, Paul Pocock wrote:

Hi
Am I assuming correctly that the image and texture in createScene() is 
using COLOR_BUFFER0 that is written to by the shaders set up in 
createRTTQuad?  I tested by loading an image in createRTTQuad and 
texturing that quad_geom. I printed out data from the image and it 
always the same constant value for the whole image. I assumed my 
loaded texture would be written to the texture that was set up to 
render to.

Am I missing something?

Regards




___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Question about osgmultiplerendertargets

2014-04-04 Thread Paul Pocock

Hi
Am I assuming correctly that the image and texture in createScene() is 
using COLOR_BUFFER0 that is written to by the shaders set up in 
createRTTQuad?  I tested by loading an image in createRTTQuad and 
texturing that quad_geom. I printed out data from the image and it 
always the same constant value for the whole image. I assumed my loaded 
texture would be written to the texture that was set up to render to.

Am I missing something?

Regards




___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org