Humm if it is the case , u_matambientalpha should also be u_matambientalpha.rgb in line 306