mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Implement Singlepass Terrain Render
This commit is contained in:
parent
49a8c0ad36
commit
87dd7ffc4a
35 changed files with 1658 additions and 951 deletions
|
|
@ -135,6 +135,11 @@ protected:
|
|||
///
|
||||
Vector<GFXTexHandle> mBaseTextures;
|
||||
|
||||
GFXTextureArray* mDetailTextureArray;
|
||||
GFXTextureArray* mMacroTextureArray;
|
||||
GFXTextureArray* mNormalTextureArray;
|
||||
GFXTextureArray* mOrmTextureArray;
|
||||
|
||||
///
|
||||
GFXTexHandle mLayerTex;
|
||||
|
||||
|
|
@ -324,6 +329,11 @@ public:
|
|||
|
||||
U32 getMaterialCount() const;
|
||||
|
||||
GFXTextureArray* getDetailTextureArray() const { return mDetailTextureArray; }
|
||||
GFXTextureArray* getMacroTextureArray() const { return mMacroTextureArray; }
|
||||
GFXTextureArray* getNormalTextureArray() const { return mNormalTextureArray; }
|
||||
GFXTextureArray* getOrmTextureArray() const { return mOrmTextureArray; }
|
||||
|
||||
//BaseMatInstance* getMaterialInst( U32 x, U32 y );
|
||||
|
||||
void setHeight( const Point2I &pos, F32 height );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue