mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
8ac745ab10
# Objective Fixes #15032 ## Solution Reimplement support for the `flip_x` and `flip_y` fields. This doesn't flip the border geometry, I'm not really sure whether that is desirable or not. Also fixes a bug that was causing the side and center slices to tile incorrectly. ### Testing ``` cargo run --example ui_texture_slice_flip_and_tile ``` ## Showcase <img width="787" alt="nearest" src="https://github.com/user-attachments/assets/bc044bae-1748-42ba-92b5-0500c87264f6"> With tiling need to use nearest filtering to avoid bleeding between the slices. --------- Co-authored-by: Jan Hohenheim <jan@hohenheim.ch> Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> |
||
---|---|---|
.. | ||
fantasy_ui_borders | ||
Game Icons | ||
parallax_example | ||
rpg | ||
simplespace | ||
array_texture.png | ||
basic_metering_mask.png | ||
BlueNoise-Normal.png | ||
Ryfjallet_cubemap.png | ||
Ryfjallet_cubemap_astc4x4.ktx2 | ||
Ryfjallet_cubemap_bc7.ktx2 | ||
Ryfjallet_cubemap_etc2.ktx2 | ||
Ryfjallet_cubemap_readme.txt | ||
ScratchedGold-Normal.png | ||
slice_square.png | ||
slice_square_2.png | ||
spiaggia_di_mondello_1k.hdr | ||
water_normals.png |