As title says - if an object has transparency applied or another Shader in the stack before a Shader that works with coordinates, the coordinates in use become screen-space and not object-space.
I tried to discuss this here: discussion-shader-coordinate-changes-with-transparency_t124665 but there was no reaction so here's a bug report using the built-in fx.
Attach a Capx
Description of Capx
We have the same sprite with the same effect applied, but the one on the right has a different opacity.
Steps to Reproduce Bug
Change the opacity of anything that has a coordinate-dependant Shader.
The sprite with transparency applied uses screen-space coordinates.
The sprite with transparency should still use local coordinates.
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 7, Windows 8.1 64-bit
Construct 2 Version ID