That did the trick.

Code:
flags  = ENABLE_RENDER;
event  = sc_materials_event;




And thank you for the tip in how to make normal mapping working!