TGA Images with any alpha value smaller than one behaves unexpected #89034
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#89034
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Win10, 64
Graphics card: GTX 980
Blender Version
Broken: 2.80, 2.93, but I don't think it ever worked.
Short description of error
When importing .tga image file, Blender doesn't output any color information where the alpha channel is 0.
When set to straight, I think the RGB gets multiplied by the alpha value. It's darkening the image a lot, pure black when alpha is 0.
When set to pre-multiplied where the alpha channel is < 1, there are only grayscale values, no color information anymore.
I use tga, because it's easy to separate color from RGB and use the alpha channel as a map in game engines, so it would be great if Blender could treat .tga like for example Unity does. Whether the alpha is transparent, or just another channel is optional.
Exact steps for others to reproduce the error
Import any .tga image with an alpha channel that has at least some areas where the alpha is smaller than 1.
Added subscriber: @FrederikSteinmetz
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Needs User Info'
Isnt this what
Channel Packed
is for?(this seems to display/render correctly for me in both eevee and cycles)
#89034.blend
However, I am also confused why Channel Packed is still displaying like Straight in the Image Editor, will check...
But lets first see if
Channel Packed
suits your needs.This issue was referenced by
563fdaaa39
This issue was referenced by
53cf8e83b3
regarding Channel Packed images still displaying with alpha affecting rgb in the Image Editor (and elsewhere, excluding "real" rendering the textures): put up a patch here D11871: Fix channel packed images display in the Image/Node editor
Added subscriber: @philipp-14
Philipp Oeser (lichtwerk) Yes, the channel packed option fixes my issue. No idea how I missed this, sorry.
Removed subscriber: @philipp-14
Changed status from 'Needs User Info' to: 'Resolved'
@FrederikSteinmetz : OK, thx getting back, will close then (since D11871 has also landed, so Channel Packed should work correctly in the Image Editor as well)