Problem Description
This is a problem with the front to back renderer set off, with a physics object and a sprite spawning a "shade" sprite in a layer with XOR blend (and the "shade" sprite has Destination Out blend). Delete any of these objects and the problem is not evident (even the physics object). When the layout is run normally, with front to back renderer off, the blend for sprite "shade" is incorrect. However, if you run the layout in debug mode then "shade" is rendered correctly. If you turn front to back renderer on then "shade" is also rendered correctly.
Additional problem: I noticed that, when reducing my project to demonstrate this problem, the "shade" and "sprite" objects are each in a container of just themselves....
Additional problem 2: the position of the physics sprite appears to be eccentric / different relative to the viewport, depending on whether or not normal or debug is selected.
Attach a Capx
capx link
Description of Capx
2 layouts - ignore "dump" layout. Layout L_01 contains 3 layers, layer "shader" is blend XOR, layer "FG" and "BG" have normal blends. Layer FG has 2 sprites, one named "sprite" and the second object is in a family with physics behavior. On creation of "sprite" a "shade" sprite (Destination Out) is created on the "shade" layer.
Steps to Reproduce Bug
- Preview L_01 normally, observe the blend become extreme until it appears like a disk;
- Preview L_02 in debug, observe that the object "shade" is rendered correctly;
- Turn Front-To-Back-Renderer On - preview normally/debug and the "shade" object is rendered correctly
Observed Result
See above.
Expected Result
All rendering should be consistent and correct in preview / normal / front to back renderer on/off.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
W8.1 x64
Construct 2 Version ID
r207 64 bit