CVXIV

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: 作业3问题 #11327 Score: 0
    CVXIV
    Participant

    UV坐标超出了[0,1]范围,改成下面:
    t->setTexCoord(j, Vector2f(std::clamp(mesh.Vertices[i + j].TextureCoordinate.X, 0.f, 1.f), std::clamp(mesh.Vertices[i + j].TextureCoordinate.Y, 0.f, 1.f)));`

Viewing 1 post (of 1 total)