fixed incorrect enum type and added support bool/mat4 override