mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
f3a23fd569
# 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` |
||
---|---|---|
.. | ||
animate_shader.wgsl | ||
array_texture.wgsl | ||
cubemap_unlit.wgsl | ||
custom_material.frag | ||
custom_material.vert | ||
custom_material.wgsl | ||
custom_material_chromatic_aberration.wgsl | ||
custom_material_screenspace_texture.wgsl | ||
custom_vertex_attribute.wgsl | ||
game_of_life.wgsl | ||
instancing.wgsl | ||
line_material.wgsl | ||
shader_defs.wgsl | ||
show_prepass.wgsl | ||
texture_binding_array.wgsl |