GLSL: Make models respect iris adaption

This commit is contained in:
Marco Cawthorne 2020-04-01 12:23:33 +02:00
parent 0952201ef2
commit 11b7b11fe1

View file

@ -94,7 +94,7 @@ varying vec3 light;
void main () void main ()
{ {
vec4 diffuse_f = texture2D(s_diffuse, tex_c); vec4 diffuse_f = texture2D(s_diffuse, tex_c);
diffuse_f.rgb *= light; diffuse_f.rgb *= light * e_lmscale;
#ifdef REFLECTCUBE #ifdef REFLECTCUBE
vec3 cube_c; vec3 cube_c;