Looks great -- I made the two fx files, saved the light script as a wdl and set the behavior of a ball model with the light action. I pasted the material code at the end of my main script. When complied and run, the error " empty pointer in light_pos_object:vec dist(my.x,player.x)>light_dist" appears twice then the level loads but no effects. Also, how do you assign a material to a model or object -- I usually use modified terrain multishaders for models -- is the "yournormalmap" texture applied from a WAD? Thanks for any help -- its a great loooking shadera nd I cant wait to apply it.

6.31.4 comm