关于glsl

How do I implement some of the effects in the website in JME when I find that the code in the website and the GLSL code don’t seem to be universal.

I want to know how everyone previews the GLSL written?
(Or how to preview GLSL effects in JME)
If you have a recommended GLSL tutorial, please send me a link. Thank you very much

(My knowledge of GLSL is very small and I just started to contact from yesterday)
(If you have any doubts about what I’m asking please point them out)

1 Like

I don’t know much about glsl, but you can find a lot of resources on Khronos group (the original maintainer of the language), surely it heavily depends on the native code and your understanding of linear algebra will make it easier, also you can learn from old folks here, their code on github and jMonkeyStore.

Here are some resources for glsl (i used):

Here are some good projects using glsl on jme:

Jme uses material definition files (.j3md) and j3md loaders to bind native glsl variables and methods to java, so you can use them in your shaders, the original shader files (where the shader sources are located) are the glslib files on:

2 Likes

For the very basics and learning to write a simple shader in JME, start here:

2 Likes

Yes, it’s a very good start


Follow the tutorial to create Vert and Frga and J3MD to add color to the box
:grin:

Thanks for more OpengL information :smiling_face_with_three_hearts: :smiling_face_with_three_hearts:

1 Like