Merge branch 'feature/hdrOS' into feature/FXAA

This commit is contained in:
Jonathas Costa
2019-08-18 12:36:39 -04:00

View File

@@ -615,7 +615,7 @@ void main() {
pixelDepth *= 0.001;
positionObjectsCoords.xyz *= 0.001;
if (dot(position.xyz, vec3(1.0)) > 0.0 && (pixelDepth < offset)) {
if (pixelDepth < offset) {
// ATM Occluded - Something in fron of ATM.
atmosphereFinalColor += color;
} else {