mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-12 22:39:09 -05:00
Fixed bug causing atm leaking.
This commit is contained in:
@@ -202,7 +202,6 @@ private:
|
||||
|
||||
float _hdrExposure = 3.7f;
|
||||
float _gamma = 0.95f;
|
||||
float _maxWhite = 5.0f;
|
||||
float _hue = 1.f;
|
||||
float _saturation = 1.f;
|
||||
float _value = 1.f;
|
||||
|
||||
@@ -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