Skip to content

Commit

Permalink
handle uv flip with tiling (#3343)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck authored Jul 19, 2021
1 parent 77f438e commit ef89495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scene/materials/standard-material.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class StandardMaterial extends Material {
}

transform = transform || new Vec4();
transform.set(tiling.x, tiling.y, offset.x, offset.y);
transform.set(tiling.x, tiling.y, offset.x, 1.0 - tiling.y - offset.y);
return transform;
}

Expand Down

0 comments on commit ef89495

Please sign in to comment.