mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Fixed bug causing atm leaking.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user