by SMMDigital » Wed Apr 11, 2012 1:35 pm
I dont know how to use 3DMax, but a light consists of two pieces, in two different Groups. They should look something like
fx_day ( Group Name )
LightBulb_day (Part within the Group)
fx_night
Lightbulb_night
During the day, the game renders the part in the fx_day Group. This part should have the normal TexDiff shader (TrainBasicObjectDiffuse.fx if it is to be near the tracks).
At night, the part will be replaced by the part in the fx_night Group. This part should have the Tex shader applied to make it glow in the dark. TrainEmissiveGlow.fx is another, more complicated shader as well.
Hope this helps, at least a little bit.