1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Remove volumetrics stuff and some changes

This commit is contained in:
Gefüllte Taubenbrust 2024-10-01 20:00:24 +02:00
parent da1a688493
commit 1bf1d0b2ff
21 changed files with 311 additions and 857 deletions

View file

@ -0,0 +1,24 @@
uniform lowp vec4 materialColor;
varying lowp vec4 varColor;
varying highp vec3 eyeVec;
varying lowp vec3 normal;
void main(void)
{
gl_Position = mWorldViewProj * inVertexPosition;
#ifdef GL_ES
vec4 color = inVertexColor.bgra;
#else
vec4 color = inVertexColor;
#endif
color *= materialColor;
varColor = color;
normal = inVertexNormal;
eyeVec = -(mWorldView * inVertexPosition).xyz;
}