Have you noticed that TextureRectangle does not use normalized texture
coordinates? I had a similar problem the first time I tried using
TextureRectangle - I was using 0.0->1.0 for texcoords instead of
0->width and 0->height.
Trajce Nikolov wrote:
Hello community,
I have some fragment shader that works ok with Texture2D. When I change
it to use TextureRectangles instead it doesnt work. Any hints?
Thanx
--
- Nick
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
- Benjamin Franklin
+----------------------------------------+
| Don Tidrow |
| Visualization Software Engineer |
| SAIC |
| ph: 703-253-1094 |
+----------------------------------------+
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/