Fix missing Msaa::Off in scrolling_fog example (#15787)

# Objective

- The `scrolling_fog` example has a camera with the
`TemporalAntiAliasing` component, but it's missing the `Msaa::Off`
component, which leads to this warning being printed on current `main`:

```
WARN bevy_core_pipeline::taa: Temporal anti-aliasing requires MSAA to be disabled
```

## Solution

- This PR adds the `Msaa::Off` component to the example to explicitly
disable MSAA in favor of TAA.
This commit is contained in:
Jiří Švejda 2024-10-09 15:15:24 +01:00 committed by GitHub
parent 6cc2322fa3
commit 3f683c728a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,6 +55,7 @@ fn setup(
hdr: true, hdr: true,
..default() ..default()
}, },
Msaa::Off,
TemporalAntiAliasing::default(), TemporalAntiAliasing::default(),
Bloom::default(), Bloom::default(),
VolumetricFog { VolumetricFog {