Re: [osg-users] problems with shadow maping

2014-10-08 Thread Guo Zhao
Hi,Christian thanks for your reply, i've solved this problem. i just ignore the code: _camera->setComputeNearFarMode(osg::Camera::DO_NOT_COMPUTE_NEAR_FAR); the program can work correctly! ... Thank you! Cheers, Guo -- Read this topic online here: http://forum.openscenegraph.

Re: [osg-users] problems with shadow maping

2014-09-29 Thread Christian Buchner
Hi Jay, that is not a lot of information you gave there. What shadow mapping algorithm is applied? Does the shader create the shadow map or does it only render out an existing shadow map to the surface of your cube? Do you use any classes from osgShadow in your code? Christian 2014-09-22 8:5

[osg-users] problems with shadow maping

2014-09-27 Thread Guo Zhao
Hi, all Recently, i used shaders to create my own shadow map, but got the wrong selfmaping, if i render a box, the upside of the box will be alway in the shadow. is there anybody to help me? ... Thank you! Cheers, Jay -- Read this topic online here: http://forum.openscenegra