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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Add comment