External Publication
Visit Post

An attempt at Vulkan

jMonkeyEngine Hub March 16, 2026
Source

Tbh i am not sure i get the issues. Yes, spir-v does not support preprocessors style functions. Nor does opengl. You are already forced to recompile the shader in case a define changes. Jme already has its own preprocessor in place that does the loop unroll, so why not extent that part.

For uniform style variables you have push constants in vulcan. If its a good idea to use it is a different topic, but you can.

https://docs.vulkan.org/guide/latest/push_constants.html

Note, i am referring to this attempt. Last time i checked codex’s approach i got the impression that it was ment to create a implementation that makes use of the enforced ways vulcan wants to render.

Discussion in the ATmosphere

Loading comments...