Game Development Community

Auto Billboard Transparent

by Wes Macdonald · in Torque Game Engine · 07/17/2008 (4:53 pm) · 1 replies

I am trying to get DTS Auto Billboard working. When DTS objects are exported from lightwave they show up correctly in Torque Showtool but when loaded into Torque the billboards do not show up at all. I noticed that if I remove

// if we're a billboard detail, draw it and exit
   PROFILE_START(TSShapeInstanceRenderBillboards);
   if (ss<0)
   {
       //if (!smNoRenderTranslucent) <- I commented this
          mShape->billboardDetails[dl]->render(mAlphaAlways ? mAlphaAlwaysValue : 1.0f, smRenderData.fogOn);

      PROFILE_END();
      return;
   }
   PROFILE_END();

around line 658 in tsShapeInstance.cc the billboard will show up but it is slightly transparent. Anyone know how to export it so that it is not transparent? Or why they are transparent at all?

About the author

Lead engineer at Onverse.


#1
07/24/2008 (11:10 am)
No one has seen this with auto billboarding?