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:53 GMT+02:00 Guo Zhao <[email protected]>:

> 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.openscenegraph.org/viewtopic.php?p=61101#61101
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/1_2_769.png
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to