Implement Singlepass Terrain Render

This commit is contained in:
Lukas Aldershaab 2021-01-01 21:05:21 +01:00
parent 49a8c0ad36
commit 87dd7ffc4a
35 changed files with 1658 additions and 951 deletions

View file

@ -110,6 +110,21 @@ public:
virtual void print( Stream &stream );
};
//----------------------------------------------------------------------------
/*!
Accesses the given index on the variable
*/
//----------------------------------------------------------------------------
class IndexOp : public ShaderOp
{
typedef ShaderOp Parent;
U32 mIndex;
public:
IndexOp( Var* var, U32 index );
virtual void print( Stream &stream );
};
//----------------------------------------------------------------------------
/*!