Hi,

That is because TextureRectangle is used and not Texture2D. Look up the difference in the OpenGL pages.

HTH
Raymond




On 10/10/2012 2:46 PM, Peterakos wrote:
Hello.

in the example osgmultiplerenderingtargets, why are the texture coordinates initialized as:

0,0
tex_width, 0
tex_width,tex_height
0,tex_height

instead of

0,1
1,0
1,1
0,1

(the result is different)

Thank you for your time.


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to