Login  Register

Re: Help with shaders

Posted by cznlzq on Mar 13, 2012; 2:54pm
URL: https://forum.jogamp.org/Help-with-shaders-tp3737063p3822409.html

Hi,

Could some one help on this?

I'm trying to run the  example Martin provided  (http://www.jzy3d.org/misc/depthpeeling/org.jogl.demos.dualdepthpeeling.zip, a cleanly packed eclipse project)

However, when I run it, it has some errors as following

===================================================
init

loading shaders...

dual_peeling_peel_fragment.glsl
compile status: 0
log length: 237
Fragment shader failed to compile with the following errors:
ERROR: 0:12: error(#12) Unexpected qualifier.
ERROR: 0:12: error(#132) Syntax error: 'DepthBlenderTex' parse error
ERROR: error(#273) 2 compilation errors.  No code generated
====================================================

I s there any settings I'm missing?

Thank you.