Browse Source

Update scatterSky.cpp

marauder2k7 3 years ago
parent
commit
bbf92846c2
1 changed files with 0 additions and 8 deletions
  1. 0 8
      Engine/source/environment/scatterSky.cpp

+ 0 - 8
Engine/source/environment/scatterSky.cpp

@@ -1047,14 +1047,6 @@ void ScatterSky::_render( ObjectRenderInst *ri, SceneRenderState *state, BaseMat
    xform *= GFX->getViewMatrix();
    xform *=  GFX->getWorldMatrix();
 
-   if(state->isReflectPass())
-   {
-      static MatrixF rotMat(EulerF(0.0, 0.0, M_PI_F));
-      xform.mul(rotMat);
-      rotMat.set(EulerF(M_PI_F, 0.0, 0.0));
-      xform.mul(rotMat);
-   }
-
    mShaderConsts->setSafe( mModelViewProjSC, xform );
    mShaderConsts->setSafe( mMiscSC, miscParams );
    mShaderConsts->setSafe( mSphereRadiiSC, sphereRadii );