@Drew, I answered that question in another thread, but here it is again.

effect_load(material,string name)

Loads an effect file in Microsoft .fx format from the work folder into the given material, and applies to effect to all models and terrain that have this material assigned. This instruction can be used to edit effects and shaders in real time and observe the result immediately in the game.




Never argue with an idiot. They drag you down to their level then beat you with experience