Animmaniac's Recent Forum Activity

  • Problem description:

    In r160 a new parameter viewOrigin was added to pass the scroll position to shaders.

    However it seems is not really passing the scroll position (screen center) but another unidentified value (maybe top left corner).

    Link to .capx file and test effect:

    https://dl.dropboxusercontent.com/u/7871870/construct/ViewOriginBug-01.zip

    Steps to reproduce:

    1. Install the effect and run the capx

    Capx description:

    What the shader does is map the viewOrigin parameter to the red and green channels so it's possible to partially visualize what value is being passed. The test effect is applied to "Layer 0". What the capx does is just rotate "Layer 0" in the same spot.

    Observed result:

    As the layer rotates the screen color oscillates, indicating that the viewOrigin value is also changing with it.

    Expected result:

    The screen color should remain constant since the scroll position doesn't change, and the viewOrigin should also stay the same.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: -

    Operating system & service pack:

    Win 7 32bit sp1

    Construct 2 version:

    r163

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

Animmaniac's avatar

Animmaniac

Member since 18 Mar, 2010

Twitter
Animmaniac has 1 followers

Trophy Case

  • 14-Year Club

Progress

14/44
How to earn trophies