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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment