[r197] Using object transp. makes Shaders use screen coords

  • Problem Description

    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: but there was no reaction so here's a bug report using the built-in fx.

    Attach a Capx

    [attachment=0:xvgqrm4r][/attachment:xvgqrm4r]

    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.

    Observed Result

    The sprite with transparency applied uses screen-space coordinates.

    Expected Result

    The sprite with transparency should still use local coordinates.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 7, Windows 8.1 64-bit

    Construct 2 Version ID

    r197

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I added some more details to the thread you linked to.

    Because this depends on the way the rendering pipeline works, it is probably pretty difficult to fix. However I'll leave the issue here open to indicate a known issue.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)