[osg-users] Texture coordinate calculation in vertex shader

2010-09-13 Thread Werner Modenbach
Hi everybody! I'm using osgShadow::ShadowMap on my scene. Also I have written my own vertex and fragment shaders. When coming to apply the shadow effect in the fragment shader I have to access the shadow map. The original shader uses just shadow2DProj( osgShadow_shadowTexture,

Re: [osg-users] Texture coordinate calculation in vertex shader

2010-09-13 Thread Wojciech Lewandowski
-- From: Werner Modenbach werner.modenb...@texion.eu Sent: Monday, September 13, 2010 4:15 PM To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Texture coordinate calculation in vertex shader Hi Wojtek, thanks for your reply. I have instantly studied