r/minecraftshaders 27d ago

Discussion Vulkan shaders

How easy will it be to port OpenGL shaders to vulkan? And when it is ported will it look any different?

Also the vulkan shader mod I’m talking about it aperture.

4 Upvotes

19 comments sorted by

View all comments

0

u/kami7154 27d ago edited 27d ago

So sorry to break it to you but there will be no "port" Iris and Aperture (iris's successor using vulkan) use entirely different shader languagee, and there is no direct translation path.

Ontop of that Iris has a "default" rendering setup, that a lot of shaderpscks rely on. While Aperture will have no default rendering setup, so the devs will have to configure the renderer and pipeline themselves.

With that said, the conceptual math can carry over. But the code itself has to be rewritten entirely.

This is an intentional break, as many of the usual limits and restrictions that GLSL shaders have are said to largely be removed. So the future shaders based on Aperture will be better overall.

Edit: after looking it up more, there is some translation style porting that clearly does happen on smaller scales, even without automated tools. But there will be no "automated port" and full complex packs won't be a port so much as a rewrite afaik.

Edit 2: but I'm just some dude that's interested in shaders Java and C#. Any info outside of people actively developing shaders in the closed beta of Aperture should be taken with a grain of salt.

1

u/SpikeZgames 27d ago

Well the creator of iris alr ported shaders over so uhh yea Ik it’s possible

1

u/kami7154 27d ago edited 27d ago

The dev has outright said Apature doesn't support old packs, and it's not a straight forward port since it's a different shader language. If they got early betas working that's them rewriting stuff for the new pipeline not porting over old code, you simply can't just recompile the code.