You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have support for setting the address mode for textures loaded. Currently if a sampler is set, then all images are imported with default clamping behavior. I would like to be able to change this to Repeat during loading. Ideally there would be support for everything in ImageSamplerDescriptor, but I think the address mode is probably the most important for now.
The text was updated successfully, but these errors were encountered:
pcwalton
added a commit
to pcwalton/bevy_asset_loader
that referenced
this issue
Oct 14, 2024
This is a less ambitious version of NiklasEi#216 that should be ready to go. It
changes `#[image(sampler = linear)]` and `#[image(sampler = nearest)]`
to `#[image(sampler(filter = linear))]` and `#[image(sampler(filter =
nearest))]` respectively. The `sampler` list also supports `repeat` and
`clamp` modes. So, for example, you can write `#[image(sampler(filter =
linear, repeat)]` or `#[image(sampler(repeat))]`.
ClosesNiklasEi#235.
It would be nice to have support for setting the address mode for textures loaded. Currently if a sampler is set, then all images are imported with default clamping behavior. I would like to be able to change this to
Repeat
during loading. Ideally there would be support for everything inImageSamplerDescriptor
, but I think the address mode is probably the most important for now.The text was updated successfully, but these errors were encountered: