This commit is contained in:
griffi-gh 2023-11-22 22:03:39 +01:00
parent fe50cd1af9
commit 3aa64143e3

View file

@ -25,5 +25,5 @@ void main() {
float light = abs(v_normal.x) + .8 * abs(v_normal.y) + .6 * abs(v_normal.z); float light = abs(v_normal.x) + .8 * abs(v_normal.y) + .6 * abs(v_normal.z);
color *= vec4(vec3(light), 1.); color *= vec4(vec3(light), 1.);
//discard alpha //discard alpha
color.w = 0.; color.w = 1.;
} }