Ternary : Clamp texture coordinates to avoid texture edge issues