Hello Michael,

Michael Babcock wrote:
> I ran into this issue again and, unlike before, I could not workaround 
> it by disabling frustum culling. I found a fix though: add a call to 
> updateShader(pNewState) after line 2318 of OSGRenderAction.cpp (from 1.8 
> cvs).
> 
> I do not know why the changeFrom call is not updating the uniform 
> parameters, or why it only has the issue on transparency sorted 
> geometry. All object materials in my scene point to a single SHLChunk, 
> and each material has its own SHLParameterChunks to modify the 
> appearance, if that provides any hints.

I committed your fix. I also don't understand why it only shows up for 
transparent objects, as opaque and transparent objects both go through 
the same RenderAction::draw function.
Many thanks for sending the patch.

        Cheers,
                Carsten

------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to