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 {
WorldViewProjectionMatrix
}
}
}
So you can make any geometry shader and put it to matdef like this
2 Likes
Thanks a lot So it doesn’t differ so much from the current configuration, you just have to declare the files in the material definition.
1 Like