Hi, I've encountered a rather obscure bug when experimenting with spawning WaterTiles manually in my game.
In short, if a WaterTile is spawned after startup and the camera has TAA added (TemporalAntiAliasBundle), the water shader doesn't work correctly.
I've uploaded an example repo here which has 3 modes:
enum Mode {
/// Use bevy_water's default plugin so water spawns automatically. TAA enabled.
WaterPlugin,
/// Press 'E' to spawn water manually. TAA disabled.
ManualSpawnNoTAA,
/// Press 'E' to spawn water manually. TAA enabled.
ManualSpawnTAA,
}
These look as follows:
Mode::WaterPlugin

Mode::ManualSpawnNoTAA

Mode::ManualSpawnTAA

Hi, I've encountered a rather obscure bug when experimenting with spawning
WaterTiles manually in my game.In short, if a
WaterTileis spawned after startup and the camera has TAA added (TemporalAntiAliasBundle), the water shader doesn't work correctly.I've uploaded an example repo here which has 3 modes:
These look as follows:
Mode::WaterPlugin
Mode::ManualSpawnNoTAA
Mode::ManualSpawnTAA