Where may i find a complete shaders documentation?

Hello community!

Wiki’s papers covers only Vertex and Fragment shaders as they were the only officially supported shaders in 3.0. In latest versions i know JME now support geometry, tessellation and maybe compute shaders but i can’t find any reference about them. Are there any examples or docs in which i can find informations on using them into the engine?

1 Like

for example:

MaterialDef SimpleGeom {

    MaterialParameters {


     Technique {
        VertexShader GLSL330:   Materials/Geom/SimpleGeom.vert
        GeometryShader GLSL330:   Materials/Geom/SimpleGeom.geom
        FragmentShader GLSL330: Materials/Geom/SimpleGeom.frag

        WorldParameters {


So you can make any geometry shader and put it to matdef like this :slight_smile:


Thanks a lot :slight_smile: So it doesn’t differ so much from the current configuration, you just have to declare the files in the material definition.

1 Like