Skip to content

Commit

Permalink
missing readTextureFormat for cloudrendering
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroHG committed Nov 22, 2024
1 parent f7d3e65 commit 8c9689f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unity/Assets/Scripts/CapturePass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ protected RenderTexture CreateRenderTexture(int width, int height) {
cloudRenderingRTFormat = GraphicsFormat.R32_SFloat;
}
else {
this.renderTextureFormat = RenderTextureFormat.ARGB32;
readTextureFormat = TextureFormat.RGBA32;
cloudRenderingRTFormat = GraphicsFormat.R8G8B8A8_UNorm;
}

Expand Down

0 comments on commit 8c9689f

Please sign in to comment.