mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
parent
700fbc803d
commit
d6da80fe24
7 changed files with 6 additions and 26 deletions
|
@ -109,11 +109,7 @@ void main(void)
|
|||
: directional_ambient(normalize(inVertexNormal));
|
||||
#endif
|
||||
|
||||
#ifdef GL_ES
|
||||
vec4 color = inVertexColor.bgra;
|
||||
#else
|
||||
vec4 color = inVertexColor;
|
||||
#endif
|
||||
|
||||
color *= materialColor;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue