mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
Improve terrain rendering, handle bug with no detail
This commit is contained in:
parent
27641b16ca
commit
481e2a7230
5 changed files with 74 additions and 24 deletions
|
|
@ -59,7 +59,7 @@ protected:
|
|||
public:
|
||||
|
||||
MaterialInfo()
|
||||
:mat(NULL), layerId(0)
|
||||
:mat(NULL), layerId(0), mBlendDepthConst(NULL), mBlendContrastConst(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -69,8 +69,8 @@ protected:
|
|||
|
||||
TerrainMaterial *mat;
|
||||
U32 layerId;
|
||||
GFXShaderConstHandle* mBlendDepthConst;
|
||||
GFXShaderConstHandle* mBlendContrastConst;
|
||||
GFXShaderConstHandle *mBlendDepthConst;
|
||||
GFXShaderConstHandle *mBlendContrastConst;
|
||||
};
|
||||
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue