Re: [osg-users] Shadow size dont change when i change model size in vertex shader

2012-08-30 Thread David Callu
Hi Umid nobody can help you if you don't explain more precisely your problem Cheer David 2012/8/30 Umid Shahmaliyev quza...@yahoo.com 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

Re: [osg-users] Shadow size dont change when i change model size in vertex shader

2012-08-30 Thread Sergey Polischuk
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

[osg-users] Shadow size dont change when i change model size in vertex shader

2012-08-29 Thread Umid Shahmaliyev
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: