Hi,
I try to make some changes to the osgTexDemo example to use 32bit
osgCudaTexture2D.
I changed the source type to GL_FLOAT, and modified the kernel accordingly
(float4* instead of uchar4*).
The resulting values in VBO were precise (32bit precision), but the values
in trgTexture still had 8bit precision, like in the original example.

Am I doing something wrong?

Thanks a lot,
Diana
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to