Hi,
I have used normal mapping using GLSL and OSG for my application (an imaging
sonar simulation) and I got problems by calculating the TBN matrix on shaders.
The normal vectors contain lower resolution on border in comparison with the
center of image.
Follows my vertex code:
Code:
Hi Christian and Robert,
I solved in an alternative way: converting my images to PNG. I did not change
anything in the source code and it worked!
...
Thank you!
Cheers,
Rômulo
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72323#72323
Hi,
I have a osg::Texture2D that I'm using as a render to texture target.
I can see that it is working on the screen, but I need to have access to the
RGB values of the texture itself so I can also copy them to another API.
How can I access the RGB values?
After rendering a frame, if I
3 matches
Mail list logo