[osg-users] How to apply shadows to a scene with different shaders- Part 2

Michael Guerrero mjguerre at nps.edu
Mon Sep 22 13:37:15 PDT 2008


Thanks Wojtek, that was what I needed to hear.  Currently I'm filtering the
shadows (similar to the soft shadow shaders i imagine) by averaging 9 texture
samples.  This gives decent results but in the event that more precision is
needed, storing a custom texture matrix in a uniform sounds good.

Michael







More information about the osg-users mailing list