We can use GLM's implementation of GLSL's mathematics functionality by ... Color.rgba is not a vector type. vec4 ClampedA = glm::clamp(Color.rgba, 0.f, ...
確定! 回上一頁