The member 'matrix' is missing from the 'MATERIAL' struct. I need this variable for the function 'mat_set'. Could you please add a definition for it?
Edit>>> While we're on the subject of material, I think there may be a bug floating about somewhere. I'm trying to apply the shader 'envglass.fx' from the 'GStudio7\Code' folder to a model...
The shader also needs 'default.fx' from 'GStudio7\Include'. The same code works fine in lite-c. I think it may have something to do with the 'mat_ent.skin1' as the shader uses this skin, and modifying the shader to use a skin embedded with the .mdl, works fine.