public static void BoolToIntShaderUniform(Shader shader, bool value, string name)
 {
     // Else if is faster than ternary operator.
     if (value)
     {
         GL.Uniform1(shader.getAttribute(name), 1);
     }
     else
     {
         GL.Uniform1(shader.getAttribute(name), 0);
     }
 }
 public static void LightColorVector3Uniform(Shader shader, LightColor color, string name)
 {
     GL.Uniform3(shader.getAttribute(name), color.R, color.G, color.B);
 }