Re: Help with shaders
Posted by
Demoscene Passivist on
Feb 13, 2012; 5:56am
URL: https://forum.jogamp.org/Help-with-shaders-tp3737063p3739257.html
>Thanks, gl_Color is exactly what I was looking for :)
>Moreover your shaders are great examples for me.
>By the way, your videos on youtube are beautifull.
Thanks
>Unfortunately, when using gl_Color I always retrieve a black color.
>Should I do additional work in the java caller code?
I don't see that ur code does any material specification ? Maybe thats the problem ? When using the fixed function pipeline for lighting u have to specify a couple of material properties first. Stg like this routine does:
GL2_BasicFragmentShading.java ...