Help with shaders

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Help with shaders

gouessej
Administrator
Maybe Martin wrote that with NVIDIA in mind even though I don't think it was intentional.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Help with shaders

Martin
Hi,

Sorry for late reply. I remember some shaders instruction failed to compile when my NVIDIA was not properly configured.

I left some comments on how to change the setting here: http://forum.jogamp.org/Fail-to-run-a-depth-peeling-example-td3715480.html#a3717113

It especially allowed to have the following instruction properly compiled:
#extension ARB_draw_buffers : require

Concerning your pictures, the second one is indeed the expected result.

This sample is a kind of cleanup of a work done by abokinsky (see github), who used the NVIDIA online C++ demos originally written by Louis Bavoil, the author of the dual depth peeling algorithm. So there might be some NVIDIA specific code. Please let us now if some primitives do not work on other GC.

Regards,
Martin

2012/3/14 gouessej [via jogamp] <[hidden email]>
Maybe Martin wrote that with NVIDIA in mind even though I don't think it was intentional.
If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Help-with-shaders-tp3737063p3824830.html
To unsubscribe from Help with shaders, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Help with shaders

cznlzq

I don't think my ATI card support the DDP although it shows it has the higher OpenGL and GLSL version



But I don't know why......

Reply | Threaded
Open this post in threaded view
|

Re: Help with shaders

Martin
You might miss ARB_draw_buffers indeed.
I don't remember exactly, but there is a method to ask OpenGL if a given function exists, and it is available in jogl.
That could help you.
12