func (p *openGLShader) SetTexture(location uint, unit uint) { p.program.Use() gl.UniformLocation(location).Uniform1i(int(unit)) }
func (p *openGLShader) SetVec3(location uint, v *Vec3) { p.program.Use() gl.UniformLocation(location).Uniform3f(v.X, v.Y, v.Z) }