Added Alpha LOD to tsStatic objects.

This allows designers to set the start and end distance for Alpha LOD on objects.
Fixed

 

From: Nathan Martin [mailto:notifications@github.com] 
Sent: Thursday, November 06, 2014 10:38 AM
To: GarageGames/Torque3D
Cc: Vincent Gee
Subject: Re: [Torque3D] Added Alpha LOD to tsStatic objects. (#910)

 

In Engine/source/T3D/tsStatic.cpp:

> @@ -502,6 +514,38 @@ void TSStatic::prepRenderImage( SceneRenderState* state )
>     if (dist < 0.01f)
>        dist = 0.01f;
>  
> +   if (mUseAlphaLod)

The only problem I see with this PR is tab vs space indention on this set of added lines.

—
Reply to this email directly or view it on GitHub <https://github.com/GarageGames/Torque3D/pull/910/files#r19951433> .  <https://github.com/notifications/beacon/ACUNZCQcPopyxPRzbg7ohvxLAuGYo3pXks5nK41WgaJpZM4C30bN.gif>