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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment