Game Development Community

[Beta 5 bug] RenderTranslucentMgr does not correctly draw primitives

by Jaimi McEntire · in Torque 3D Professional · 08/26/2009 (1:07 pm) · 2 replies

Around line 235, the following line:

GFX->drawPrimitive( passRI->primBuffIndex );

Needs to be changed as follows:

// draw it   
              if ( passRI->prim )   
                 GFX->drawPrimitive( *passRI->prim );   
              else  
                 GFX->drawPrimitive( passRI->primBuffIndex );

reference:

www.garagegames.com/community/forums/viewthread/100385

#1
08/26/2009 (7:10 pm)
Logged as THREED-710
#2
09/05/2009 (3:52 am)
Excellent find Jaimi!

Fixed for the next release.