Fix fog looking weird on transparent.
But mixing alpha with 0 instead of 1.
This commit is contained in:
parent
62964430a6
commit
653a695eda
@ -28,5 +28,5 @@ void main()
|
||||
|
||||
fog = min(fog, fogmax);
|
||||
|
||||
FragColor = vec4(vec4(col, 1.) * fog + color *(1. - fog));
|
||||
FragColor = vec4(vec4(col, 0.) * fog + color *(1. - fog));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user