Hi Robertos,

setting "texture->setResizeNonPowerOfTwoHint(false);" fixed the problem....

After being stuck on this problem for more than a week I can safely say that I 
would never have found that without your help. I checked the data after 
generating the image at which point it was still OK, but found problems when it 
was sampled in the shader, which is why expected a problem with the sampling. 

Being new to OSG (and used to pure openGL) I hadn't realized that OSG would be 
modifying the data before it got to the graphics card so I was looking in the 
wrong place.

So, thanks again! You saved me many more days of hitting my head against the 
wall!

Cheers,
antiro

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72974#72974





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

Reply via email to