Search Issue Tracker

Not Reproducible

Votes

0

Found in

5.6.1f1

Issue ID

922927

Regression

No

Quantization artifacts in RenderTexture with ARGB32 8 bit format

Graphics - General

-

In Linear color space, it can be observed that quantization problem is occurring with ARGB32 8 bit format when RenderTextures are used. It seems like float precision is not correct in Unity.

Steps for reproduction:
1) Download the project “LinearRenderTextureBug”
2) Open the scene “RenderTextureTest”
3) Enter play mode and observe the artifacts on the RenderTexture

Notes:
- In RenderTextureTest scene, RenderTexture is obtained through a custom shader
- float4 type is used for RenderTexture to avoid compression
- Quantization problems are less noticeable when ARGB32 16 bit format is used
- There is another scene with “ImportedTexture”, where imported textures from Photoshop are tested instead of custom shader
- In Gamma color space, it works as expected
- Not a regression, applicable to all Unity versions

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.