Hey.
Is there something special about this format?
I get very weird values if I try to read from it's first 20% in horizontal direction. Everything else works just as expected and I only encounter this while using the R8 format.
For example:
1. Create a random read/write RenderTexture with any dimensions and set it's format as R8
2. Render it half-gray(or red if like to think in that way) pixel by pixel in a compute shader
3. Read pixel x=width, y=any and you get what you set it to
4. Read pixel x=0, y=any and you get undefined behavior
↧