Page MenuHome

Texture with alpha channel doesn't preview correctly.
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-05-29 18:08, hash: rB2ee94c954d67
Worked: 2.79
Short description of error
Texture with alpha channel doesn't preview correctly. But Blender 2.79 works fine.

Exact steps for others to reproduce the error
Just load a brush texture with alpha channel and turn on the Alpha option. The texture preview looks incorrect. Whereas the stencil texture looks correct in the 3d viewport.

The texture for test:

Event Timeline

Blendy (sweep2rails) updated the task description. (Show Details)
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.Jun 4 2020, 12:13 PM

Mind sharing that PNG of yours?
Shouldnt it say RGBA byte if it has alpha?

Mind sharing that PNG of yours?
Shouldnt it say RGBA byte if it has alpha?

Actually it has alpha channel. I've uploaded it now.

Blendy (sweep2rails) updated the task description. (Show Details)
Philipp Oeser (lichtwerk) changed the task status from Needs Information from User to Needs Triage.Jun 4 2020, 2:05 PM

Thx getting back, I see now, checking...

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Jun 4 2020, 5:32 PM
Philipp Oeser (lichtwerk) claimed this task.

Since rB329b4c3363e4: Fix T54329: brush texture preview not working. a texture preview is not rendered through the preview.blend and a renderengine anymore [unlike materials etc.]
Alpha wasnt handled in that commit [at least not like expected], will check more and confirm for now.