Game Development Community

T3D 1.1 Final - AutoBillboard has crashed after set ShaderOption Lowest - CONFIRMED (THREED-1983)

by Enel · in Torque 3D Professional · 05/26/2011 (1:37 am) · 5 replies

Build: 1.1 Preview (also 1.1 Final), Debug no modification

Platform: Windows 7 64-bit

Target: AutoBillboard

issue : if Shader option is Lowest, MFT_NormalMap Feature has exclude by this code
features.exclude( MATMGR->getExclusionFeatures() );

than if have MFT_NormalMap feature try to return but it passed..
void GBufferConditionerHLSL::processVert( Vector<ShaderComponent*> &componentList, 
                                          const MaterialFeatureData &fd )
{
   // If we have a normal map then that feature will
   // take care of passing gbNormal to the pixel shader.
   if ( fd.features[MFT_NormalMap] )
      return; 
   ...

so has assert
AssertFatal( inNormal, "Something went bad with ShaderGen. The normal should be already defined." );

and than Crash when print
void GenOp::print( Stream &stream )
{
   for( U32 i=0; i<mElemList.size(); i++ )
   {
      mElemList[i]->print( stream ); // Crash!
   }
}

Steps to Repeat:
1. start WorldEditor
2. set Lowest ShaderOption
3. add DefaultTree
4. far away from DefaultTree untill make autoBillboard
5. Crash!


#1
05/26/2011 (6:25 pm)
anybody logged that?.. my explain that so weak?

it is very serious problem..
#2
06/07/2011 (7:01 pm)
Explanation fine, Enel. :)

Crashes on my box too with Shader Quality set to lowest - Nvidia GTS250, win7.
#3
06/07/2011 (7:17 pm)
@Steve

Thx Steve!

also My graphic card - Nvidia GTX 460-SE but still crashes!

i think it is logic problem. not Graphic Card problem..
#4
06/08/2011 (9:52 am)
Logged as THREED-1983.
#5
06/15/2011 (3:02 pm)
Bug confirmed.