Search Unity

Resolved RenderTexture scale incorrect after using Compute Shader, if texture quality is set to half.

Discussion in 'Shaders' started by carcasanchez, Apr 16, 2021.

  1. carcasanchez

    carcasanchez

    Joined:
    Jul 15, 2018
    Posts:
    177
    (coming from this thread)
    Hello,
    I have been toying with a simple compute shader, and I have stumbled upon a very curious error.
    The final render texture has the correct dimension, but the image only covers 1/4 of the texture. The rest of the texture is black.

    upload_2021-4-16_12-21-30.png

    After some back and forth, I have found that changing Texture Quality from Half to Full solves the problem.
    This behaviour is a bit strange for me, and I have not found any documentation about it. Could be it a bug?
     
  2. carcasanchez

    carcasanchez

    Joined:
    Jul 15, 2018
    Posts:
    177
    Quoting Bgolus, if anyone reaches here looking for info: