Game Development Community

Console spam

by Keith Johnston · in Torque 3D Professional · 06/20/2009 (3:30 pm) · 4 replies

I am trying to find where this console message is coming from so I can turn it off:

[0] Files: shadergen:/10840800088_fdf0036a328cf9d5_V.hlsl, shadergen:/10840800088_fdf0036a328cf9d5_P.hlsl Pix Version: 3.00

Anyone?

#1
06/20/2009 (3:40 pm)
Looks like it is all coming from materialList.cpp:

#ifndef TORQUE_SHIPPING
            Con::printf( "" );
            matInst->dumpShaderInfo();
         #endif

which I changed to:

#ifdef TORQUE_SPEW_SHADER_INFO
            Con::printf( "" );
            matInst->dumpShaderInfo();
         #endif

Nice and quiet!
#2
06/20/2009 (3:56 pm)
FYI. We already removed that spam for beta 3.
#3
06/21/2009 (12:19 am)
I know it sounds strange, but I did some experimenting with removing as much of this kind of spam as possible, and I see a radical improvement in framerate, I'm talking an 11 fps increase!!,
I know there is a switch to stop all writing to console log, but I dont know where/how.
Tom, you got an idea where/what that switch is?