Robert,

I'm actually planning on providing FixedFunctionTechnique as a fallback
codepath for rare cases. As such, I was hoping to get lighting working with
FixedFunctionTechnique. I'm confused by the interface of
createNormalMapTexture. Specifically, is there an interface for passing the
resulting buffer of surface normals to somewhere in the
osgVolume/layer/tile hierarchy so that lighting sources can use this
information? It's unclear to me what I'd do with the result of
createNormalMapTexture. I can't find any examples of code using this
function with a google search.

- Alex

On Thu, Mar 10, 2016 at 9:52 AM Robert Osfield <[email protected]>
wrote:

> Hi Alex,
>
> The normal map texture is required when you want to mimic per pixel
> lighting with the fixed function pipeline, it's not something required for
> normal osgVolume usage these days as you'll be using RayTracedTechnique or
> MultipassTechnique.
>
> Robert.
>
> On 10 March 2016 at 14:49, Alex Taylor <[email protected]> wrote:
>
>> Hey,
>>
>> Looking through the osgVolume namespace, I have a question about the
>> function createNormalMapTexture. My main question is, what are the intended
>> use cases for this function?
>>
>> - Alex
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to