Re: [osg-users] osgShadow and multitexturing

2012-06-12 Thread Sedov Dmitry
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

Re: [osg-users] osgShadow and multitexturing

2012-03-19 Thread Robert Osfield
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.