Materials with transparency not properly rendered in viewport in Material Render mode (cycles) #45789
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#45789
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
OS: Ubuntu 14.04 (64 bit)
RAM : 7.8 GiB
CPU: Intel® Core™ i5-2400 CPU @ 3.10GHz × 4
GFX: GeForce GT 520/PCIe/SSE2
Blender Version
2.75 (hash:
65c3207
)Short description of error
Using cycles engine.. materials with transparency are not properly rendered in viewport in Material Render mode. The objects having these transparent materials render correctly in Rendered mode.
Exact steps for others to reproduce the error
See the attached blend file and screenshots. Basically create a background object (sphere).. create a quad and place it in front of the background object. Add a material to the quad with a combination of emission and transparency shader modulated by some image (a black and white masking image). Enable Rendered mode in the viewport (this works fine, showing transparency) .. then enable the Material render mode (this does not render the transparent parts properly.. the transparent parts are opaque).
A solution I found for this (though this is a HACK in my opinion) is to switch to Game Engine, change the Alpha Blend mode from opaque to Alpha Blend, then switch back to Cycle engine. After this both the Material and the Rendered preview modes show the transparent parts properly in the viewport. I would think that the preview rendering should work as expected in the Material render mode without jumping through hoops.. or at least give the option to change the alpha blend modes directly in the UI available under cycles engine. In general having settings "hidden" under other engine modes (e.g. game engine) that affect the way things render under cycles engine is weird.. bad.. unacceptable.. (add your own adjective here) :)
The 3 screenshots show the viewport preview in Rendered mode.. in Material mode (before game engine/alpha blend switch) .. and in Material mode (after game engine/alpha blend switch).
materialRenderViewportBug.blend
Changed status to: 'Open'
Added subscriber: @MariusGiurgi
Added subscriber: @mont29
Sounds bad indeed…
Added subscribers: @Psy-Fi, @dfelinto
This is something where @dfelinto and @Psy-Fi might me interested as well. Seems we just need to ignore game.alpha_blend for new shading system?
This issue was referenced by
ad0c2d6cbb
Changed status from 'Open' to: 'Resolved'
This issue was referenced by blender/cycles@76c168fa66