mirror of
https://github.com/minetest/minetest.git
synced 2025-03-18 08:12:33 +01:00
`IShaderSource` was designed with the idea that if you want a shader, you must want it for a node. So it depends heavily on being given a tile material and the node drawtype. But this doesn't make sense neither in theory nor in practice. This commit takes a small step towards removing the incorrect abstraction.