mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 03:45:26 +00:00
cleaned up variant of https://github.com/GarageGames/Torque3D/pull/768 alterations: opengl support, in-shader bug-reporting, direction vector fit to material slider-bar.
This commit is contained in:
parent
949251b988
commit
c6cdfafe4e
42 changed files with 2680 additions and 8 deletions
|
|
@ -27,7 +27,9 @@
|
|||
#include "math/mMatrix.h"
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
|
||||
class SceneRenderState;
|
||||
class GFXCubemap;
|
||||
|
|
@ -103,8 +105,14 @@ protected:
|
|||
/// are forward lit and need lights.
|
||||
LightQuery *mLightQuery;
|
||||
|
||||
// The accumulation texture provided by an accumulation
|
||||
// volume. This is passed down per-object.
|
||||
GFXTextureObject* mAccuTex;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
|
||||
TSRenderState();
|
||||
TSRenderState( const TSRenderState &state );
|
||||
|
||||
|
|
@ -147,6 +155,10 @@ public:
|
|||
void setLightQuery( LightQuery *query ) { mLightQuery = query; }
|
||||
LightQuery* getLightQuery() const { return mLightQuery; }
|
||||
|
||||
///@see mAccuTex
|
||||
void setAccuTex( GFXTextureObject* query ) { mAccuTex = query; }
|
||||
GFXTextureObject* getAccuTex() const { return mAccuTex; }
|
||||
|
||||
/// @}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue