bevy/assets/shaders
Aevyrie f3a23fd569 Fix array_texture example (#7543)
# Objective

- Shader error cause by a missing import.
- `pbr_functions.wgsl` was missing an import for the `ambient_light()` function, as `array_texture` doesn't import it.
- Closes #7542.

## Solution

- Add`#import bevy_pbr::pbr_ambient` into `array_texture`
2023-02-07 09:14:15 +00:00
..
animate_shader.wgsl add globals to mesh view bind group (#5409) 2022-09-28 04:20:27 +00:00
array_texture.wgsl Fix array_texture example (#7543) 2023-02-07 09:14:15 +00:00
cubemap_unlit.wgsl Support array / cubemap / cubemap array textures in KTX2 (#5325) 2022-07-30 07:02:58 +00:00
custom_material_chromatic_aberration.wgsl Fix post_processing and shader_prepass examples (#7419) 2023-01-30 22:53:08 +00:00
custom_material_screenspace_texture.wgsl adjust cluster index for viewport origin (#5947) 2022-09-15 21:58:14 +00:00
custom_material.frag
custom_material.vert
custom_material.wgsl
custom_vertex_attribute.wgsl
game_of_life.wgsl Remove unused code in game of life shader (#5349) 2022-07-17 15:24:24 +00:00
instancing.wgsl
line_material.wgsl Fix line material shader (#5348) 2022-07-17 15:02:57 +00:00
shader_defs.wgsl
show_prepass.wgsl Move prepass functions to prepass_utils (#7354) 2023-01-24 20:36:40 +00:00
texture_binding_array.wgsl Use only one sampler in the array texture example. (#7405) 2023-01-29 15:08:21 +00:00