bevy/examples/3d
Dusty DeWeese 5a297d7903 Reuse texture when resolving multiple passes (#3552)
# Objective

Fixes https://github.com/bevyengine/bevy/issues/3499

## Solution

Uses a `HashMap` from `RenderTarget` to sampled textures when preparing `ViewTarget`s to ensure that two passes with the same render target get sampled to the same texture.

This builds on and depends on https://github.com/bevyengine/bevy/pull/3412, so this will be a draft PR until #3412 is merged. All changes for this PR are in the last commit.
2022-04-12 19:27:30 +00:00
..
3d_scene.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
lighting.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
load_gltf.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
msaa.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
orthographic.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
parenting.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
pbr.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
render_to_texture.rs Render to texture example: No need to create an image handle manually. (#4223) 2022-03-16 01:53:04 +00:00
shadow_biases.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
shadow_caster_receiver.rs ParamSet for conflicting SystemParam:s (#2765) 2022-03-29 23:39:38 +00:00
spherical_area_lights.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
texture.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
two_passes.rs Reuse texture when resolving multiple passes (#3552) 2022-04-12 19:27:30 +00:00
update_gltf_scene.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
wireframe.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00