mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
Change RenderParticleMgr for use sampler names instead of harcoded locations for allow OpenGL.
This commit is contained in:
parent
c354f59b72
commit
53ac49ee91
2 changed files with 16 additions and 4 deletions
|
|
@ -110,6 +110,9 @@ protected:
|
|||
GFXShaderConstHandle *mPrePassTargetParamsSC;
|
||||
GFXShaderConstHandle *mAlphaFactorSC;
|
||||
GFXShaderConstHandle *mAlphaScaleSC;
|
||||
GFXShaderConstHandle *mSamplerDiffuse;
|
||||
GFXShaderConstHandle *mSamplerPrePassTex;
|
||||
GFXShaderConstHandle *mSamplerParaboloidLightMap;
|
||||
|
||||
} mParticleShaderConsts;
|
||||
|
||||
|
|
@ -118,6 +121,8 @@ protected:
|
|||
GFXShaderConstBufferRef mShaderConsts;
|
||||
GFXShaderConstHandle *mSystemDepth;
|
||||
GFXShaderConstHandle *mScreenRect;
|
||||
GFXShaderConstHandle *mSamplerColorSource;
|
||||
GFXShaderConstHandle *mSamplerEdgeSource;
|
||||
GFXShaderConstHandle *mEdgeTargetParamsSC;
|
||||
GFXShaderConstHandle *mOffscreenTargetParamsSC;
|
||||
} mParticleCompositeShaderConsts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue