fix missing moonphase uniform

This commit is contained in:
Xonk
2023-10-20 21:33:13 -04:00
parent eaace81958
commit 5ef65d94e5
2 changed files with 4 additions and 4 deletions

View File

@ -163,10 +163,10 @@ void main() {
Indirect_lighting = DoAmbientLightColor(AmbientLightColor, vec3(TORCH_R,TORCH_G,TORCH_B), clamp(lightmap.xy,0,1));
#ifndef LINES
gl_FragData[0].rgb = (Indirect_lighting + Direct_lighting) * Albedo;
#else
#ifdef LINES
gl_FragData[0].rgb = (Indirect_lighting + Direct_lighting) * toLinear(color.rgb);
#else
gl_FragData[0].rgb = (Indirect_lighting + Direct_lighting) * Albedo;
#endif
// distance fade targeting the world border...