Re: [osg-users] OSGSpotLight example on a GLSL material

2009-06-15 Thread Robert Osfield
//gl_FragColor = vec4(1,0,0,1); > } > > -Original Message- > From: osg-users-boun...@lists.openscenegraph.org > [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert > Osfield > Sent: Friday, 12 June 2009 6:10 PM > To: OpenSceneGraph Users > Subject:

Re: [osg-users] OSGSpotLight example on a GLSL material

2009-06-14 Thread Albino Rodrigues
: Friday, 12 June 2009 6:10 PM To: OpenSceneGraph Users Subject: Re: [osg-users] OSGSpotLight example on a GLSL material Hi Bino, I can't see how many of us will be able divine what is up with your shaders as we have absolutely no knowledge of what you've put into your shader. You questi

Re: [osg-users] OSGSpotLight example on a GLSL material

2009-06-12 Thread Robert Osfield
Hi Bino, I can't see how many of us will be able divine what is up with your shaders as we have absolutely no knowledge of what you've put into your shader. You question is equivalent to "I have a piece of string you can't see, but can you tell me exactly how long it is". Try including the vert

[osg-users] OSGSpotLight example on a GLSL material

2009-06-11 Thread Albino Rodrigues
Hi, I have been using the OSGSpotLight example as a starting base to simulate a flashlight with success. The scene I was using has now been updated to be drawn with a GLSL NormalMap shader (included as part of the .ive). The spotlight can no longer be seen. It does however appear to affect