Change fragment shaders to use screen space coordinates

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P3
    • internal
    • Affects Version/s: internal
    • Component/s: javafx
    • Environment:

      fx-sandbox:metal branch

    • generic
    • os_x

      Several fragment shaders require screen space coordinates of a the input fragment for mathematical calculations.
      In HLSL shaders, we use VPOS sematic to access the value.
      In GLSL shaders, we compute this value.

      In MSL, the [[position]] attribute input to fragment shader contains screen space coordinates at xy.
      We need to replace all pixcoord instances with in.position.xy

            Assignee:
            Ambarish Rapte
            Reporter:
            Ambarish Rapte
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: