bevy/examples/3d
Joona Aalto de888a373d
Migrate lights to required components (#15554)
# Objective

Another step in the migration to required components: lights!

Note that this does not include `EnvironmentMapLight` or reflection
probes yet, because their API hasn't been fully chosen yet.

## Solution

As per the [selected
proposals](https://hackmd.io/@bevy/required_components/%2FLLnzwz9XTxiD7i2jiUXkJg):

- Deprecate `PointLightBundle` in favor of the `PointLight` component
- Deprecate `SpotLightBundle` in favor of the `PointLight` component
- Deprecate `DirectionalLightBundle` in favor of the `DirectionalLight`
component

## Testing

I ran some examples with lights.

---

## Migration Guide

`PointLightBundle`, `SpotLightBundle`, and `DirectionalLightBundle` have
been deprecated. Use the `PointLight`, `SpotLight`, and
`DirectionalLight` components instead. Adding them will now insert the
other components required by them automatically.
2024-10-01 03:20:43 +00:00
..
3d_scene.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
3d_shapes.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
3d_viewport_to_world.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
animated_material.rs Add support for environment map transformation (#14290) 2024-07-19 15:00:50 +00:00
anisotropy.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
anti_aliasing.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
atmospheric_fog.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
auto_exposure.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
blend_modes.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
bloom_3d.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
clearcoat.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
color_grading.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
deferred_rendering.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
depth_of_field.rs Rename rendering components for improved consistency and clarity (#15035) 2024-09-10 01:11:46 +00:00
fog_volumes.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
fog.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
generate_custom_mesh.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
irradiance_volumes.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
lighting.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
lightmaps.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
lines.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
load_gltf_extras.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
load_gltf.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
meshlet.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
motion_blur.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
orthographic.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
parallax_mapping.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
parenting.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
pbr.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
pcss.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
post_processing.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
query_gltf_primitives.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
reflection_probes.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
render_to_texture.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
rotate_environment_map.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
scrolling_fog.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
shadow_biases.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
shadow_caster_receiver.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
skybox.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
spherical_area_lights.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
split_screen.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
spotlight.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
ssao.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
ssr.rs Rename rendering components for improved consistency and clarity (#15035) 2024-09-10 01:11:46 +00:00
texture.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
tonemapping.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
transmission.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
transparency_3d.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
two_passes.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
update_gltf_scene.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
vertex_colors.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
visibility_range.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
volumetric_fog.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
wireframe.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00