Color.rgba is not a vector type. vec4 ClampedA = glm::clamp(Color.rgba, 0.f, 1.f); // ERROR // Explicit conversion through a constructor vec4 ClampedB ...
確定! 回上一頁