Shadows on mirrored sprites render incorrectly.
Attach a Capx
https://dl.dropboxusercontent.com/u/142 ... index.html
Description of Capx
CapX illustrates incorrect shadow rendering, even when default settings are used.
Steps to Reproduce Bug
- Add a Shadowcaster to a sprite
- Add a Shadow Light to the scene
- Mirror the sprite
The shape of the shadow is wrong, and C2 seems to be flipping the collision polygon used to calculate the shape of the shadow incorrectly.
This is how the collision polygon is set up:
This is how it renders, showing both mirrored (left) and unmirrored (right) sprites.
The shadow to render correctly, when a player or enemy sprite may be mirrored during normal gameplay.
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
- Edge: (YES)
- NW.js: (YES)
Operating System and Service Pack
Windows 7 x64 updated, Windows 8.1 updated, Window 10 updated, OSX 10.9.5
Construct 2 Version ID