Add uv_transform
to ColorMaterial
#17515
Labels
A-Rendering
Drawing game state to the screen
C-Feature
A new feature, making something new possible
D-Modest
A "normal" level of difficulty; suitable for simple features or challenging fixes
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
Bevy version
main
What you did
Users want to do repeating textures on 2d meshes.
What went wrong
The helper we provide for doing that in 3d doesn't exist on 2d materials.
See the repeated_texture examples and docs for StandardMaterial::uv_transform
I think we should add a similar field to
ColorMaterial
for 2d users.Additional information
Users can also accomplish tiling textures with SpriteImageMode, but that only works for sprites, not
Mesh2d
.Alternatives
A helper on
Mesh
orRectangleMeshBuilder
for transforming UVs?The text was updated successfully, but these errors were encountered: