Login  Register

Re: Thanks and question on Version 2.4.0 not on maven central

Posted by Sven Gothel on May 21, 2023; 1:45pm
URL: https://forum.jogamp.org/Thanks-and-question-on-Version-2-4-0-not-on-maven-central-tp4042618p4042627.html

FWIW .. I added a fully fledged shader 'runtime editor' to JOGL,
which also resolves the differences between ES and desktop, i.e. shader versions.

See example demo: https://jogamp.org/cgit/jogl.git/tree/src/demos/com/jogamp/opengl/demos/es2/RedSquareES2.java#n110

API: https://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/index.html?com/jogamp/opengl/util/glsl/package-summary.html

E.g. for our ffmpeg media player, ShaderCode helps to edit the shader code
which maps video-pixel-format to RGBA :)

The ShaderState is also used in Graph and our own little FixedFunction pipeline implementation.

May it inspire