Hi

Shadow technique itself uses either fixed function or its own shaders to draw 
shadow map, and know nothing about what are you doing in your shader. Easy way 
to go is apply whatever transforms you need with osg::MatrixTransform node in 
graph instead of doing it in shaders. If this is not possible - you should use 
your own shaders for drawing shadow map, so you can do same transformations 
yourself.

Cheers.

30.08.2012, 09:38, "Umid Shahmaliyev" <[email protected]>:
> Hi,
>
> Hi all. I have some problem with shadow. I have 2 models in scene whith 
> shadow. And when i change model size in vertex shader nothing happens with 
> shadow. Are there any way to do this?
>
> ...
>
> Thank you!
>
> Cheers,
> Umid
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=49671#49671
>
> _______________________________________________
> 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