Search Issue Tracker
Fixed in 1.0.0-preview.9
Votes
0
Found in [Package]
1.0.0-preview.8
Issue ID
1277149
Regression
No
[UIR] Clear color isn't premultiplied before being applied
When specifying a clear color in the PanelSettings, the color is applied as-is. For example, we can specify (1,1,1,0.5) and this value will be used as-is to clear the render texture (assuming that the proper clear flag is set). This is incorrect because the content of the render texture is premultiplied. As a result, any blend with this background color will yield an incorrect result. The user should still specify the color as straight, but UIToolkit must premultiply by the alpha internally before clearing.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Custom elements not visible in UI Builder when defined in a namespace starting with "Unity"
- Decal Projectors of Prefabs appear less faded in Scene view
- Default Preset application and Reset() method execution order is different when adding a Component via the Inspector versus calling Reset via the Component context menu
- Scene view is not outputting HDR when the "Use HDR Display Output" option is enabled, DX12 is selected as the Graphics API, and URP/HDRP is in use
- Sprite Atlas results in suboptimal packing even when "Allow Rotation" is enabled
Add comment