Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Graphics Has writing to RWTexture3D from pixel shader stopped working?

Discussion in '5.4 Beta' started by Daniel-Strayer, May 24, 2016.

  1. Daniel-Strayer

    Daniel-Strayer

    Joined:
    Apr 16, 2013
    Posts:
    68
    I had been writing to a RWTexture3D<float4> from a pixel shader in an older version of Unity 5.x and it was working without problems. It doesn't seem to be working any more in either Unity 5.3.4 or Unity 5.4. Can anyone verify that it is either working or not?
     
  2. Daniel-Strayer

    Daniel-Strayer

    Joined:
    Apr 16, 2013
    Posts:
    68
    Ok, maybe i am not understanding something properly, I was using Gamma color space in player settings. I switched the color space to Linear, and magically the RWTexture3D started being written to. Changing the RenderTextureReadWrite mode on the RenderTexture object made no difference. I will investigate further.