# Objective - Shadow maps should only be sampled if the mesh is a shadow receiver AND shadow mapping is enabled for the light ## Solution - Fix the logic in the shader  | 
			||
|---|---|---|
| .. | ||
| bevy_core_pipeline | ||
| bevy_gltf2 | ||
| bevy_pbr2 | ||
| bevy_render2 | ||
| bevy_sprite2 | ||
				# Objective - Shadow maps should only be sampled if the mesh is a shadow receiver AND shadow mapping is enabled for the light ## Solution - Fix the logic in the shader  | 
			||
|---|---|---|
| .. | ||
| bevy_core_pipeline | ||
| bevy_gltf2 | ||
| bevy_pbr2 | ||
| bevy_render2 | ||
| bevy_sprite2 | ||