Skip to content
Snippets Groups Projects
Commit 40f1ca20 authored by AronKovacs's avatar AronKovacs
Browse files

replaced placeholder value with the correct uniform

parent 926fb38c
Branches
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ void main(void) { ...@@ -113,7 +113,7 @@ void main(void) {
if (color.a != 1.0) { if (color.a != 1.0) {
color.a = 1.0 - fogFactor; color.a = 1.0 - fogFactor;
} }
color.rgb = mix(color.rgb, vec3(1.0), fogFactor); color.rgb = mix(color.rgb, uFogColor, fogFactor);
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment