The predefined materials mat_flat and mat_shaded can be used to apply a shader to level geometry. Use effect_load(mat_shaded,"you_effect.fx");


Follow me on twitter