mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
short term LOD correction to preserve current widescreen vs 4:3 windows while closer matching prior release results
This commit is contained in:
parent
5d38357785
commit
a50ff1b054
1 changed files with 1 additions and 1 deletions
|
|
@ -642,7 +642,7 @@ S32 TSShapeInstance::setDetailFromDistance( const SceneRenderState *state, F32 s
|
||||||
// 4:3 aspect ratio, we've changed the reference value
|
// 4:3 aspect ratio, we've changed the reference value
|
||||||
// to 300 to be more compatible with legacy shapes.
|
// 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
|
// This is legacy DTS support for older "multires" based
|
||||||
// meshes. The original crossbow weapon uses this.
|
// meshes. The original crossbow weapon uses this.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue