mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 14:13:48 +00:00
Merge branch 'PBR_Bins_Reordered' of https://github.com/Areloch/Torque3D into PBR_PR
# Conflicts: # Engine/source/gfx/D3D11/gfxD3D11Device.cpp # Engine/source/renderInstance/renderDeferredMgr.h
This commit is contained in:
commit
726c748578
9 changed files with 92 additions and 45 deletions
|
|
@ -46,7 +46,8 @@ public:
|
|||
// andremwac: Deferred Rendering
|
||||
static const String ColorBufferName;
|
||||
static const String MatInfoBufferName;
|
||||
static const String LightMapBufferName;
|
||||
static const String DiffuseLightBufferName;
|
||||
static const String SpecularLightBufferName;
|
||||
|
||||
// Generic Deferred Render Instance Type
|
||||
static const RenderInstType RIT_Deferred;
|
||||
|
|
@ -105,11 +106,13 @@ protected:
|
|||
// Deferred Shading
|
||||
NamedTexTarget mColorTarget;
|
||||
NamedTexTarget mMatInfoTarget;
|
||||
NamedTexTarget mLightMapTarget;
|
||||
NamedTexTarget mDiffuseLightTarget;
|
||||
NamedTexTarget mSpecularLightTarget;
|
||||
GFXTexHandle mColorTex;
|
||||
GFXTexHandle mMatInfoTex;
|
||||
GFXTexHandle mLightMapTex;
|
||||
|
||||
GFXTexHandle mDiffuseLightTex;
|
||||
GFXTexHandle mSpecularLightTex;
|
||||
GFXShaderConstBufferRef mShaderConsts;
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue