Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

changing the output fragCoord

Discussion in 'Shaders' started by C-Gabriel, Mar 20, 2019.

  1. C-Gabriel

    C-Gabriel

    Joined:
    Jan 27, 2016
    Posts:
    119
    Is it possible to change the output fragCoord of the current pixel? Say the currently evaluated pixel is at uv = (.25, .25) and I want it to be written at (.5, .5)
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    no
     
    C-Gabriel and bgolus like this.