[osg-users] FixedFunctionTechnique, lighting, and createNormalMapTexture
Alex Taylor
alextaylor at gmail.com
Mon May 23 14:49:51 PDT 2016
Hey all,
>From previous posts, I understand clearly that FixedFunctionTechnique is
the worst of the osgVolume techniques in terms of both speed and quality of
results.
However, due to some specific requirements of the application I'm trying to
build (need for clipping to a bounding box, need to insert other geometry
into scene) and limitations in the osgViewer in my environment (no support
for pre-cameras), FixedFunctionTechnique may be something I have to
consider.
I was wondering, I understand that createNormalMapTexture is to allow for
lighting with FixedFunctionTechnique. What does one do with the resulting
array of normal vectors once you call createNormalMapTexture? Is there an
interface somewhere to pass the normals? How would one use
createNormalMapTexture to implement lighting when using
FixedFunctionTechnique?
- Alex
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160523/ef3138f0/attachment-0002.htm>
More information about the osg-users
mailing list