CaffeineMC / sodium-fabric

A Fabric mod designed to improve frame rates and reduce micro-stutter
Other
4.58k stars 773 forks source link

MoltenGL implementation #2555

Closed ghost closed 2 weeks ago

ghost commented 2 weeks ago

Request Description

Sodium and other OpenGL-based renderers don't perform well on Macs because Apple doesn't fully support OpenGL.

However, MoltenGL enables OpenGL to run natively on Apple devices by leveraging the native Metal API. This can significantly improve performance on macOS devices, especially those with Apple Silicon.

This is evident from MoltenVK's use in the VulkanMod, which achieves impressive frame rates and very high view distances on Macs with Apple Silicon.

Also, incorporating MoltenGL into Iris and other optimization mods that work with Sodium, after proper collaboration between developers, could similarly result in substantial performance improvements for Minecraft shaders on macOS, leading to exceptional optimization for the game.

jellysquid3 commented 2 weeks ago

MoltenGL is not free software, and licensing costs up to $19,999 USD/year. Furthermore, on macOS, it does not provide any advantage over Apple's OpenGL implementation (which provides up to OpenGL 4.1, rather than OpenGL 2.0 ES). And it is very unlikely it would perform any better.

ghost commented 2 weeks ago

Ah okay, thanks for the explanation, I thought it was free and open source like MoltenVK.