VulkanMod icon indicating copy to clipboard operation
VulkanMod copied to clipboard

Basic mesh shader support

Open alexander4308 opened this issue 1 year ago • 10 comments

Describe the request

Since this mod is incompatible with anything sensible, i would ask to implement basic mesh shader support as terrain rasterizer. It will benefit modern AMD cards in the first place, since they doesn't have mesh shaders in their OpenGL implementation and allow them to render terrain with high render distances easily.

alexander4308 avatar Oct 14 '24 07:10 alexander4308

Compatibility has greatly improved over the last few updates, and VulkanMod should word with most mods on Modrinth. Which mods are still causing issues and are important to you?

NXTler avatar Oct 27 '24 10:10 NXTler

Mesh shaders are not easy to implement and only limit the hardware support to newer and dedicated graphics cards. There are many other possible optimizations that are far easier to implement and would work on all devices, hence there is little reason to implement it in the first place. I don't get why so many people are obsessed with mesh shaders recently.

NXTler avatar Oct 27 '24 10:10 NXTler

I don't get why so many people are obsessed with mesh shaders

That's because mesh shaders (for supported hardware) and the rasterized occlusion culling (all hardware but 2x slower) allows you to enjoy an insane render distance almost without performance loss.

Felix14-v2 avatar Oct 27 '24 11:10 Felix14-v2

I don't get why so many people are obsessed with mesh shaders

That's because mesh shaders (for supported hardware) and the rasterized occlusion culling (all hardware but 2x slower) allows you to enjoy an insane render distance almost without performance loss.

But they take the "incompatible with anything sensible" statement and make it significantly LESS compatible. You'd be breaking support for anything before Turing and RDNA2

FluffyPuppyKasey avatar Mar 02 '25 06:03 FluffyPuppyKasey

Mesh shaders could be optional, just like with Nvidium.

Felix14-v2 avatar Mar 02 '25 19:03 Felix14-v2

Mesh shaders could be optional, just like with Nvidium.

Nvidium doesn't make them optional. It disables itself when mesh shaders aren't supported (i.e on anything that's not Turing or newer, or anything AMD/Intel, since neither of those support OpenGL mesh shaders)

FluffyPuppyKasey avatar Mar 02 '25 19:03 FluffyPuppyKasey

It disables itself when mesh shaders aren't supported

You just described how "optional" works.

Felix14-v2 avatar Mar 02 '25 19:03 Felix14-v2

It disables itself when mesh shaders aren't supported

You just described how "optional" works.

If you install the mod on a system that doesn't support the extension the mod doesn't do anything, therefore it's not optional because it does LITERALLY NOTHING

FluffyPuppyKasey avatar Mar 02 '25 19:03 FluffyPuppyKasey

If you install the mod on a system that doesn't support the extension the mod doesn't do anything, therefore it's not optional because it does LITERALLY NOTHING

"optional" in this context means "has no hard dependency". So if your GPU doesn't support a technology, game still works but with a different renderer.

Felix14-v2 avatar Mar 02 '25 19:03 Felix14-v2

Creating such a complicated feature that requires a very long development time and making it optional (because most users can't use it), doesn't make any sense.

NXTler avatar Mar 02 '25 19:03 NXTler