Skip to content

Commit

Permalink
[plugins] gc: Hack -- workaround UV2 render bug
Browse files Browse the repository at this point in the history
  • Loading branch information
riidefi committed Oct 19, 2023
1 parent a24e527 commit e392843
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/plugins/gc/Export/IndexedPolygon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ IndexedPolygon::propagate(const riistudio::lib3d::Model& mdl, u32 mp_id,
out.pushData(7, glm::vec2{});
if (!(vcd.mBitfield & (1 << (u32)gx::VertexAttribute::TexCoord1)))
out.pushData(8, glm::vec2{});
if (!(vcd.mBitfield & (1 << (u32)gx::VertexAttribute::TexCoord2)))
out.pushData(9, glm::vec2{});
if (!(vcd.mBitfield & (1 << (u32)gx::VertexAttribute::Normal)))
out.pushData(4, glm::vec3{});
if (!(vcd.mBitfield & (1 << (u32)gx::VertexAttribute::Color0)))
Expand Down

0 comments on commit e392843

Please sign in to comment.