If you change the GLSL code but not the C++ code, it really isnt "just"
osgparametric anymore; we have no idea what dependencies or interactions
were introduced by your new code.  Are you missing texture or uniform
assignments, etc, etc.

Turn up the osgNotify level up to osg::DEBUG and see what infolog messages
you get from the GLSL compiler and linker.

-- mew


On 8/3/07, Amal <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>  I have a GLSL code using the Shader model 3.0 which works fine when Iam
> linking and running with a simple OpenGL program. But when i try to link the
> vertex and the pixel shader in a OSG program, the code does not work . Iam
> just changing the osgparametric example with my shader codes and running it.
> It does not seem to work fine . What could be the problems ?
>
> I have installed a new NVIDIA driver after configuring and compiling the
> OSG codebase. WIll that affect ?
>
> regards.
> Amal.
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Mike Weiblen -- Austin Texas USA -- http://mew.cx/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to