[osg-users] problem using uniform arrays
Mike Weiblen
mweiblen at zebraimaging.com
Mon Feb 4 10:57:06 PST 2008
Hi Roni,
See below
> -----Original Message-----
> From: osg-users-bounces at lists.openscenegraph.org [mailto:osg-users-
> bounces at lists.openscenegraph.org] On Behalf Of Roni Rosenzweig
> Sent: Monday, February 04, 2008 1:18 AM
> To: OpenSceneGraph Users
> Subject: [osg-users] problem using uniform arrays
>
> Hello
> I'm using uniform arrays in my glsl shader. On geforce 8800 it works
> great, but on 7800 doesn't work (converts to fixed shader).
> when I try to validate my shader code I get a "GL_3DL_array_objects
> extension is disabled" error.
Assuming you used 3Dlabs' GLSLvalidate tool which, as you can see, is
only helpful up to a point.
> Are uniform arrays not supported on geforce 7800?
No idea. Array support often a driver issue, but could require some
hardware capability. Are both GPUs running exactly the same driver?
It would be most helpful to see the actual error messages generated
during OSG's attempt to compile/link the shader code (eg perhaps you in
fact have a bug completely unrelated to arrays) When you increase the
OSG_NOTIFY_LEVEL, it will print out the compile/link InfoLogs containing
diagnostic info. What are those messages?
Cut down your shader code to a bare minimum example that works on 8800
but fails on 7800. That repro case should probably be no more than a
couple lines.
Hth
-- mew
More information about the osg-users
mailing list