Hi Roland,

Hi have an Nvidia so I can't test on my side:

can you add this line

    program->addBindFragDataLocation("fragData", 0);

at the end of configureShaders function and try again.

HTH
David Callu

2012/3/28 Roland Hill <[email protected]>

> Hi,
>
> I have been trying to convert my application to use version 1.50 compliant
> shaders and found that they work on my NVidia machine, but not on my ATI
> Mobility Radeon HD 5850 laptop. The shaders compile and link on the ATI,
> but  no geometry gets rendered. Both machines are running Ubuntu 11.10 64
> bit and the ATI drivers are the latest available. OSG version is 3.1.1
> (developer release) / trunk (I've been trying both).
>
> The same issue can be seen using the osgsimplegl3 example. If I execute
> ./osgsimplegl3 cow.osg the NVidia desktop machine shows the cow, while the
> ATI machine shows an empty window.
>
> osgsimplegl3 was executed after "export OSG_NOTIFY_LEVEL=INFO" and the 2
> logs are attached.
>
> I would like to use version 1.40+ shaders to make potential porting to ES2
> devices easier in the future. In any case, osgsimplegl3 example should work
> on ATI cards.
>
> I am quite new to shader coding and this has me thoroughly confused. Any
> help would be much appreciated.
>
> Thank you!
>
> Cheers,
> Roland
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=46641#46641
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/osg_nv_log_123.txt
> http://forum.openscenegraph.org//files/osg_ati_log_274.txt
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to