Hi, all
How i can apply shadow texture for object's native state? I don't want modify
osg's sources (native shaders). I implement shader for multitexture terrain +
grass and other objects, and i want get shadow map and bind it to my shaders.
Now i implement like this:
Code:
class
Hi Daniel,
All the osgShadow techniques can work with multi-texturing and it's
certainly how I'd expect most users to use it. However, the built in
shaders they provide can't handle all the types of effects you might
want to use so you'll need to replace these with your own custom
shaders.
2 matches
Mail list logo