Page MenuHome

Allow OpenGL image drawing in UI colour space
Open, Confirmed, MediumPublic

Description

Since rB7ad802cf3ae500 images are stored with premultiplied alpha and in scene linear space. This produces the wrong colours when used for drawing UI elements.

Example from the Blender Cloud texture browser, with the post-rB7ad802cf3ae500 drawing on the left and the expected colours on the right:

@Brecht Van Lommel (brecht) proposed adding a new shader that can be used from Python and that draws the textures in the correct colour space.

Details

Type
To Do

Event Timeline

Sybren A. Stüvel (sybren) triaged this task as Normal priority.
Brecht Van Lommel (brecht) changed Type from Bug to To Do.May 17 2019, 12:47 PM
Brecht Van Lommel (brecht) raised the priority of this task from Normal to Confirmed, Medium.