mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
let me underscore this is painfully incorrect and we'll want to revisit it when we have more time, but... this seems to fix mangled decal and decalroad rendering
This commit is contained in:
parent
de6ee93159
commit
66820fee90
2 changed files with 4 additions and 1 deletions
|
|
@ -1425,6 +1425,7 @@ void DecalManager::prepRenderImage( SceneRenderState* state )
|
|||
ri->prim->numPrimitives = currentBatch->iCount / 3;
|
||||
ri->prim->startVertex = 0;
|
||||
ri->prim->numVertices = currentBatch->vCount;
|
||||
ri->translucentSort = !currentBatch->matInst->getMaterial()->isTranslucent();
|
||||
|
||||
// Ugly hack for ProjectedShadow!
|
||||
if ( customTex )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue