Hi guys, I followed this excellent thread
http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/31360 with much
success.  I was able to mimic texgen in the vertex shader and get shadows
applied in the frag shader.  However, the quality doesn't match what you get
with ShadowMap using fixed function vertex processing and I believe I can see
where it's coming from.  In ShadowMap.cpp there exists the macro constant
"IMPROVE_TEXGEN_PRECISION".  What I have in the shader doesn't take this
enhancement into account.  Anyone know how this can be done?

Thanks,
Michael Guerrero


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to