[osg-users] problem setting texture min/mag filter
antiro black
antiro42 at gmail.com
Tue Feb 20 10:35:59 PST 2018
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
More information about the osg-users
mailing list