bevy/examples/shader
IceSentry 71cf35ce42 Allow prepass in webgl (#7537)
# Objective

- Use the prepass textures in webgl

## Solution

- Bind the prepass textures even when using webgl, but only if msaa is disabled
- Also did some refactors to centralize how textures are bound, similar to the EnvironmentMapLight PR
- ~~Also did some refactors of the example to make it work in webgl~~
- ~~To make the example work in webgl, I needed to use a sampler for the depth texture, the resulting code looks a bit weird, but it's simple enough and I think it's worth it to show how it works when using webgl~~
2023-03-02 02:23:06 +00:00
..
animate_shader.rs add globals to mesh view bind group (#5409) 2022-09-28 04:20:27 +00:00
array_texture.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
compute_shader_game_of_life.rs Add push contant config to layout (#7681) 2023-02-17 06:20:16 +00:00
custom_vertex_attribute.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
post_processing.rs Wgpu 0.15 (#7356) 2023-01-29 20:27:30 +00:00
shader_defs.rs Shader defs can now have a value (#5900) 2022-11-21 22:38:29 +00:00
shader_instancing.rs Migrate engine to Schedule v3 (#7267) 2023-02-06 02:04:50 +00:00
shader_material.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
shader_material_glsl.rs Fix various typos (#7096) 2023-01-06 00:43:30 +00:00
shader_material_screenspace_texture.rs added subdivisions to shape::Plane (#7546) 2023-02-13 18:20:20 +00:00
shader_prepass.rs Allow prepass in webgl (#7537) 2023-03-02 02:23:06 +00:00
texture_binding_array.rs Fix feature gating in texture_binding_array example (#7425) 2023-02-06 17:51:39 +00:00