@xXxGuitar511
I do not get much your code, where mat_model come from, no info from manual.
Also I have tried and nothing happen.
But I as guess, what you are doing is set ambient color of entity to full white.But this way required much job
===
From manual
Quote:

Total Light = Ambient Light + Diffuse Light + Specular Light + Emissive Light



===========
And the ambient light only
Quote:


Ambient Light = AmbientMtl * ( PRV + EntRGB )
Where:

Parameter Description
AmbientMtl Material ambient color.
EntRGB Red, Green, Blue color of the entity when its light flag is set.
PRV Precomputed radiance color (position dependent, see below).




===
So, the engine seems do not have an ambient light, but the ambient from scene is from model only.
===
Too bad!!!!