Explorar o código

Merge pull request #1750 from Azaezel/LODloss

short term LOD correction
Areloch %!s(int64=9) %!d(string=hai) anos
pai
achega
ab68a19a8b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Engine/source/ts/tsShapeInstance.cpp

+ 1 - 1
Engine/source/ts/tsShapeInstance.cpp

@@ -643,7 +643,7 @@ S32 TSShapeInstance::setDetailFromDistance( const SceneRenderState *state, F32 s
    // 4:3 aspect ratio, we've changed the reference value
    // to 300 to be more compatible with legacy shapes.
    //
-   const F32 pixelScale = (state->getViewport().extent.x / state->getViewport().extent.y);
+   const F32 pixelScale = (state->getViewport().extent.x / state->getViewport().extent.y)*2;
 
    // This is legacy DTS support for older "multires" based
    // meshes.  The original crossbow weapon uses this.