mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 00:23:46 +00:00
Merge branch 'Preview4_0' of https://github.com/Areloch/Torque3D into Preview4_0
This commit is contained in:
commit
8b4d4633bc
8 changed files with 1027 additions and 1 deletions
|
|
@ -704,7 +704,7 @@ void ConvexShape::prepRenderImage( SceneRenderState *state )
|
|||
|
||||
// Set our Material
|
||||
ri->matInst = matInst;
|
||||
if (matInst->getMaterial()->isTranslucent())
|
||||
if (matInst->getMaterial()->isTranslucent() && (!(matInst->getMaterial()->isAlphatest() && state->isShadowPass())))
|
||||
{
|
||||
ri->translucentSort = true;
|
||||
ri->type = RenderPassManager::RIT_Translucent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue