Skip to content

Releases: jgayfer/bevy_light_2d

v0.8.0

14 Oct 23:21
0fe9359

Choose a tag to compare

Changed

  • Updated Bevy version from 0.16 to 0.17 (#57).

v0.7.0

16 Jul 16:30

Choose a tag to compare

Added

  • Added Light2d "marker" component to indicate which cameras should process
    lighting effects (#49).
  • Added "minimap" example to showcase camera with lighting disabled (#49).
  • Added reflection for Component and Default on PointLight2D and
    AmbientLight (#50).

Changed

  • Lighting is no longer processed by default; the Light2d marker component
    must be added to the Camera2d (#49).

Fixed

  • Fixed occluders not despawning correctly (#47).
  • Improved WebGL2 performance (#47).

Migration guide

  • Add a Light2d marker component to cameras that should process lighting
    effects.
  • Remove AmbientLight2d components from cameras. Instead, include them as a
    field on the camera's Light2d marker component.

v0.6.0

29 Apr 17:01
0df3e50

Choose a tag to compare

Changed

  • Updated Bevy version from 0.15 to 0.16 (#45).

v0.5.0

05 Dec 05:38
e85390e

Choose a tag to compare

Added

  • Added required component support for PointLight2d (#39).
  • Added required component support for LightOccluder2d (#39).

Changed

  • Updated Bevy version from 0.14 to 0.15 (#39).
  • Deprecated PointLight2dBundle in favour of PointLight2d (#39).
  • Deprecated LightOccluder2dBundle in favour of LightOccluder2d (#39).

Migration guide

  • Replace all uses of PointLight2dBundle with PointLight2d.
  • Replace all uses of LightOccluder2dBundle with LightOccluder2d.

v0.5.0-rc.1

29 Oct 04:20

Choose a tag to compare

v0.5.0-rc.1 Pre-release
Pre-release

Added

  • Added required component support for PointLight2d (#39).
  • Added required component support for LightOccluder2d (#39).

Changed

  • Updated Bevy version from 0.14 to 0.15 (#39).
  • Deprecated PointLight2dBundle in favour of PointLight2d (#39).
  • Deprecated LightOccluder2dBundle in favour of LightOccluder2d (#39).

Migration guide

  • Replace all uses of PointLight2dBundle with PointLight2d.
  • Replace all uses of LightOccluder2dBundle with LightOccluder2d.

v0.4.2

26 Oct 03:58

Choose a tag to compare

Fixed

  • Lighting occasionally not rendering and/or affecting elements in unintended order (#37).

v0.4.1

26 Oct 03:54

Choose a tag to compare

Fixed

  • Crash on WebGL2 when no occluders are present (#36).

v0.4.0

18 Sep 05:18

Choose a tag to compare

Changed

  • Point lights colours are now added to ambient light, instead of multiplied by it (#24).

Fixed

  • Point lights rendering despite being despawned (#25).
  • Shadow sometimes appearing when no occluders were present (#27).

Migration guide

  • Point light intensity needs to be adjusted to account for changes to ambient light. Generally this means point light intensity values need to be lowered. See the relevant changes to the dungeon example.

v0.3.0

06 Aug 03:52

Choose a tag to compare

Added

  • Added LightOccluder2d component and LightOccluder2dBundle (#20).

Changed

  • Modified PointLight2d to include a cast_shadows attribute (defaults to false) (#20).

Full Changelog: v0.2.2...v0.3.0

v0.2.2

28 Jul 21:41

Choose a tag to compare

Fixed

  • Point lights not despawning (#19).

Full Changelog: v0.2.1...v0.2.2