mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 07:15:37 +00:00
Removed old fixed function code from GFX.
This commit is contained in:
parent
58d2e30af7
commit
5a933c00d3
53 changed files with 98 additions and 1646 deletions
|
|
@ -1608,14 +1608,6 @@ void Precipitation::renderObject(ObjectRenderInst *ri, SceneRenderState *state,
|
|||
mDefaultSB = GFX->createStateBlock(desc);
|
||||
|
||||
desc.samplersDefined = true;
|
||||
desc.samplers[0].textureColorOp = GFXTOPModulate;
|
||||
desc.samplers[0].colorArg1 = GFXTATexture;
|
||||
desc.samplers[0].colorArg2 = GFXTADiffuse;
|
||||
desc.samplers[0].alphaOp = GFXTOPSelectARG1;
|
||||
desc.samplers[0].alphaArg1 = GFXTATexture;
|
||||
|
||||
desc.samplers[1].textureColorOp = GFXTOPDisable;
|
||||
desc.samplers[1].alphaOp = GFXTOPDisable;
|
||||
|
||||
mDistantSB = GFX->createStateBlock(desc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue