1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Drop fixed pipeline lighting stuff (#15165)

This commit is contained in:
grorp
2024-09-18 12:18:28 +02:00
committed by GitHub
parent 6dfd61cba0
commit 70e169f165
34 changed files with 59 additions and 426 deletions

View File

@@ -1,4 +1,4 @@
uniform lowp vec4 emissiveColor;
uniform lowp vec4 materialColor;
varying lowp vec4 varColor;
@@ -14,7 +14,7 @@ void main(void)
vec4 color = inVertexColor;
#endif
color *= emissiveColor;
color *= materialColor;
varColor = color;
eyeVec = -(mWorldView * inVertexPosition).xyz;