Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/unity3d-jp/MeshSync into spl…
Browse files Browse the repository at this point in the history
…ine_fixes

# Conflicts:
#	Runtime/Shaders/ComputeShaderHelper.cs
  • Loading branch information
schinkowski committed Apr 5, 2023
2 parents abccd40 + 16b29b9 commit 1e47e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/Shaders/ComputeShaderHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public RenderTexture RenderToTexture(Texture existingTexture) {
if (renderTarget != null) renderTarget.Release();

// We don't want sRGB here!
renderTarget = new RenderTexture(maxTextureSize.x, maxTextureSize.y, 32, DefaultFormat.HDR) {
renderTarget = new RenderTexture(maxTextureSize.x, maxTextureSize.y, 32, RenderTextureFormat.ARGBHalf, RenderTextureReadWrite.Linear) {
enableRandomWrite = true
};

Expand Down

0 comments on commit 1e47e88

Please sign in to comment.