On 5/6/2011 1:04 AM, Turgut Mehdiyev wrote:
> Hi all,
> I'm currently working on integrating RenderMonkey shaders into 
> OpenSceneGraph. There, i need to use shaders and shadows in one scene. But 
> when i use shader on some geometry shadowmap disables him. How to pass this 
> problem. Im using openscenegraph 2.8.3 and porting RenderMonkey Marble 
> Shader. And for Shadow im using osgShadow::ShadowMap class.

  No personal experience here, but I am pretty sure you can use a shader 
together with
osgShadow -- the osgShadow docs talk about doing this.

  Are you applying your shader with a StateSet further down in the scene graph 
from the
Shadow nodes? Perhaps you need some sort of OVERRIDE flag to indicate your 
shader stateset
should override something installed by osgShadow?

-- 
Chris 'Xenon' Hanson, omo sanza lettere. [email protected] 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
    "There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to