>From bspflags.h: #define SURF_NOLIGHT 0x0400 // Don't calculate light #define SURF_BUMPLIGHT 0x0800 // calculate three lightmaps for the surface for bumpmapping
vbsp/textures.cpp - FindMiptex checks if material should have lightmaps and saves that as flag. vrad won't generate lightmaps for brushes that are flagged as SURF_NOLIGHT. Possible solution is to check for shader name (default check is done in materialsystem.dll which we can't modify) in vbsp and distribute modified vbsp to mappers. _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders