Search Issue Tracker

Fixed

Fixed in 6000.3.0b11, 6000.4.0a5, 6000.5.0a1

Votes

0

Found in

6000.3.0a2

6000.4.0a1

6000.5.0a1

Issue ID

UUM-119998

Regression

No

USS filter output is too dark

UI Toolkit Graphics

-

Description
When using a USS filter, the output of the filter is premultiplied but is then used as a regular (non-pre-multiplied) texture.

Initial setup
Create an empty URP project but use gamma color space for simplicity

Reproduction steps

  • Remove the cameras
  • Add a UIDocument in the scene
  • Create a UXML template and assign it to the UIDocument
  • Create a PanelSettings that clears the background to black and assign it as well.
  • Open the template in the UI Builder
  • Create a white rectangle with 50% alpha
  • Set the opacity filter to 1 (fully opaque)

Expected behaviour
The observable color should be a mid-gray rectangle

Actual behavior
The observable color is much darker

Add comment

Log in to post comment