       }
     } else {
       // No ATM defined.
-      //renderTarget = vec4(1.0, 1.0, 0.0, 1.0);
+      renderTarget = meanColor;
     }
 
                 

// a RenderableGlobe
uniform int RenderableClass;

//uniform sampler2D reflectanceTexture;
uniform sampler2D irradianceTexture;
uniform sampler3D inscatterTexture;
//uniform sampler2DMS mainDepthTexture;
uniform sampler2DMS mainPositionTexture;
//uniform sampler2D mainPositionTexture;
uniform sampler2DMS mainNormalReflectanceTexture;
uniform sampler2DMS mainColorTexture;



// Model Transform Matrix Used for Globe Rendering
uniform dmat4 ModelTransformMatrix;
uniform dmat4 dInverseTransformMatrix;
uniform dmat4 dInverseScaleTransformMatrix;
uniform dmat4 dInverseSgctEyeToWorldTranform; // SGCT Eye to OS World
uniform dmat4 dSgctEyeToOSEyeTranform; // SGCT Eye to OS Eye
uniform dmat4 dInverseSgctProjectionMatrix; // Clip to SGCT Eye
uniform dmat4 dInverseCamRotTransform;

// Double Precision Versions:
uniform dvec4 dObjpos;
uniform dvec3 dCampos;

uniform dvec3 sunDirectionObj;

