iPortalTeam / ImmersivePortalsMod

Non-Euclidean in Minecraft. See through portals and teleport seamlessly.
https://qouteall.fun/immptl/
Apache License 2.0
435 stars 103 forks source link

Hypothetical support for VulkanMod? #1278

Open ghost opened 1 year ago

ghost commented 1 year ago

I would like to know if there are any plans to support VulkanMod? If anything, I have its fork (for now), not the main version. Is there even such a possibility and probability of such support? And in general, is there any way to disable some of the mixins of this mod, or even replace them altogether?

qouteall commented 1 year ago

Does VulkanMod support hardware ray tracing?

Portal rendering is much simpler in ray tracing. If VulkanMod supports hardware ray tracing, it may be easy to integrate.

However, if VulkanMod only does rasterization, I think there is no much need to support VulkanMod, unless VulkanMod is faster than Sodium.

ghost commented 1 year ago

Ray tracing is still planned. And I would prefer to implement both methods. And not really VulkanMod, but my hybrid, not the official version.

However, if VulkanMod only does rasterization, I think there is no much need to support VulkanMod, unless VulkanMod is faster than Sodium.

And that's where you're not quite right. The fact is that the Vulkan API is a completely different graphical API. There are a lot of changes you need to make to make it work. And that's why you need to stuff the right mixins to make it work. At the very least you should replace all OpenGL functionality.