Login  Register

Re: ShaderCode throws "Unknown shader type: 36313" with GEOMETRY_SHADER

Posted by Sven Gothel on Jan 12, 2013; 8:17am
URL: https://forum.jogamp.org/ShaderCode-throws-Unknown-shader-type-36313-with-GEOMETRY-SHADER-tp4027631p4027803.html

On 12/23/2012 05:16 PM, bananafish [via jogamp] wrote:
> Below is the java code for a test case and an image of the expected output.
> Loads a low-resolution image of bananas from wikimedia commons,
> uploads it as a GL texture, sets up vertex,geometry,and fragment
> shaders then uses immediate mode (for simplicity) to display the
> image as two triangles.
>
>  To choose between using ShaderCode or raw calls for setting up
>  shaders, flip the boolean value of GeomShaderBananaGL.USE_SHADER_CODE_CLASS .
>

Thank you, fixed & added, see
  <http://jogamp.org/git/?p=jogl.git;a=commit;h=62c8fcc30dd5f9558df9ca907a6936c7bc252527>

~Sven


signature.asc (909 bytes) Download Attachment