mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
clear gbuffer from code and not from a shader
This commit is contained in:
parent
5ef8cc912d
commit
ad4c115e00
6 changed files with 7 additions and 244 deletions
|
|
@ -103,20 +103,13 @@ protected:
|
|||
bool _lightManagerActivate(bool active);
|
||||
|
||||
// Deferred Shading
|
||||
GFXVertexBufferHandle<GFXVertexPC> mClearGBufferVerts;
|
||||
GFXShaderRef mClearGBufferShader;
|
||||
GFXStateBlockRef mStateblock;
|
||||
NamedTexTarget mColorTarget;
|
||||
NamedTexTarget mMatInfoTarget;
|
||||
NamedTexTarget mLightMapTarget;
|
||||
GFXTexHandle mColorTex;
|
||||
GFXTexHandle mMatInfoTex;
|
||||
GFXTexHandle mLightMapTex;
|
||||
GFXShaderConstBufferRef mShaderConsts;
|
||||
GFXTexHandle mLightMapTex;
|
||||
|
||||
public:
|
||||
void clearBuffers();
|
||||
void _initShaders();
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue