forked from libgdx/box2dlights
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
20 lines (18 loc) · 1.35 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[1.5]
- Lights soft shadow length is set to distance * 0.1 on creation.
[1.4]
- Build against LibGDX 1.6.2
- [API Change] Light.setContactFilter(...) is now not static and light specific, the static method for all lights is now called setGlobalContactFilter(...)
- [API Change] Deprecated the RayHandler.setCombinedMatrix(Matrix4) - use the setCombinedMatrix(OrthographicCamera) instead
- Added ability to resize the HayHandler's FBO (thanks to piotr-j)
- Added ability to set custom light shader for HayHandler (thanks to piotr-j)
- Added Light.setIgnoreAttachedBody(bool) to allow light ignore all the bodies fixtures attached to
- Added Light.getRayNum() method
- Added Light.remove(bool) method with conditional disposing, so that light could be removed/added to rayHandler without re-creation
- Fixed issue of box2dlights rendering incompatibility with ScreenUtils.getFrameBufferPixmap on some devices (issue #43)
[1.3]
- Added new ChainLight light type (thanks to sprucely) which which allows specifying a chain of vertices along one side of which rays are evenly distributed
- Added RayHandler.setCombinedMatrix(OrthographicCamera) method
- Added possibility to change the blending modes for basic, shadow and diffuse modes
- Changed the default diffuse blending to more realistic (without light overburn effect)
- Small improvement of performance for static lights updates