bevy/docs
Gagnus 1db0214f24
Added feature switch to default Standard Material's new anisotropy texture to off (#14048)
# Objective

- Standard Material is starting to run out of samplers (currently uses
13 with no additional features off, I think in 0.13 it was 12).
- This change adds a new feature switch, modelled on the other ones
which add features to Standard Material, to turn off the new anisotropy
feature by default.

## Solution

- feature + texture define

## Testing

- Anisotropy example still works fine
- Other samples work fine
- Standard Material now takes 12 samplers by default on my Mac instead
of 13

## Migration Guide

- Add feature pbr_anisotropy_texture if you are using that texture in
any standard materials.

---------

Co-authored-by: John Payne <20407779+johngpayne@users.noreply.github.com>
2024-07-02 22:10:00 +02:00
..
cargo_features.md Added feature switch to default Standard Material's new anisotropy texture to off (#14048) 2024-07-02 22:10:00 +02:00
debugging.md Useful changes with relicensing benefits (#2497) 2021-07-17 21:59:31 +00:00
linters.md Allow clippy::type_complexity in more places. (#9796) 2023-10-02 21:55:16 +00:00
linux_dependencies.md add libxkbcommon-x11-0 to the default linux dependencies (#11060) 2023-12-21 23:14:05 +00:00
profiling.md fix link to tracy (#11521) 2024-01-27 19:23:37 +00:00
release_checklist.md Document the Release Candidate process (#13718) 2024-06-09 01:18:07 +02:00
the_bevy_organization.md Update and clarify a Maintainer merge rule (#13085) 2024-04-24 15:19:38 +00:00