Open RohacekD opened 2 years ago
Describe the bug This leads to magic constants in shaders and makes it harder to combine shaders together.
Expected behavior Pass current material through the functions as reference instead of filling magic constant.
Fix terrain fragment shader as well
Describe the bug This leads to magic constants in shaders and makes it harder to combine shaders together.
Expected behavior Pass current material through the functions as reference instead of filling magic constant.