/* set up fog */
fog = &mapFogs[ numMapFogs++ ];
- fog->si = ShaderInfoForShader( globalFog );
+ fog->si = ShaderInfoForShaderNull( globalFog );
if( fog->si == NULL )
Error( "Invalid shader \"%s\" referenced trying to add global fog", globalFog );
fog->brush = NULL;
shader = PicoGetSurfaceShader( surface );
if( shader == NULL )
continue;
- ti.si = ShaderInfoForShader( PicoGetShaderName( shader ) );
+ ti.si = ShaderInfoForShaderNull( PicoGetShaderName( shader ) );
if( ti.si == NULL )
continue;
allCompileFlags &= si->compileFlags;
}
- Sys_FPrintf( SYS_VRB, "flags: %d (all: %d)\n", compileFlags, allCompileFlags );
-
/* determine if this brush is opaque to light */
if( (compileFlags & mask_any) == test_any && (allCompileFlags & mask_all) == test_all )
{