mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-01 18:45:13 +00:00
ambient scale and LOD quick fix
This commit is contained in:
parent
eaa28844c9
commit
82c616efbe
3 changed files with 17 additions and 4 deletions
|
|
@ -593,7 +593,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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue