Cycles - Volume rendering fails with Principle Volume Shader, when Film Transparent is on #65993

Closed
opened 2019-06-21 11:54:15 +02:00 by Marcus Papathoma · 9 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX TITAN X/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-19 18:29, hash: d30f72dfd8
Worked: (optional)

Short description of error
Cycles - Volume rendering fails with Principle Volume Shader, when Film Transparent is on

Exact steps for others to reproduce the error

Open the attached blend file.
volume_rendering_fail.blend
Click render Image (F12). Nothing is rendered.
Switch Transparent off, in the render settings.
Render Image again. The volumes are shown but with grey background.
So no compositing of volumes is possible, because they can´t be rendered without the background.
The problem is only with the Principle Volume Shader, if you use the old Volume Scatter shader rendering with transparent background works!
Viewport rendering works, only when you use Render Image or Render Animation the volume isn´t rendered with the principle volume shader and film transparent on.

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX TITAN X/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86 **Blender Version** Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-19 18:29, hash: `d30f72dfd8` Worked: (optional) **Short description of error** Cycles - Volume rendering fails with Principle Volume Shader, when Film Transparent is on **Exact steps for others to reproduce the error** Open the attached blend file. [volume_rendering_fail.blend](https://archive.blender.org/developer/F7429601/volume_rendering_fail.blend) Click render Image (F12). Nothing is rendered. Switch Transparent off, in the render settings. Render Image again. The volumes are shown but with grey background. So no compositing of volumes is possible, because they can´t be rendered without the background. The problem is **only with the Principle Volume Shader**, if you use the old Volume Scatter shader rendering with transparent background works! **Viewport rendering works**, only when you use Render Image or Render Animation the volume isn´t rendered with the principle volume shader and film transparent on.

Added subscriber: @machieb

Added subscriber: @machieb

Closed as duplicate of #65991

Closed as duplicate of #65991

Added subscriber: @brecht

Added subscriber: @brecht

Please see the explanation in the other report.

Please see the explanation in the other report.

Changed status from 'Duplicate' to: 'Open'

Changed status from 'Duplicate' to: 'Open'

Have you opend the blend file I attached in this report. The node setup is ok.
volume_rendering.JPG

With the principle volume shader you can´see anything in the rendering with color and alpha because the alpha is completely black.
volume_rendering3.JPG
If you switch to color in the renderview, you see that the colors are rendered correct. Only the alpha is wrong!
volume_rendering05.JPG
The volume scatter shader works as expected. You get a proper alpha when you render (F12).
{F7430003}volume_rendering04.JPG
So the principle volume shader can´t be used because when rendering with this shader, its alpha is black and therfore nothing is visible!
So for me this is a bug!
I don´t mind how the alpha is in the viewport.

Have you opend the blend file I attached in this report. The node setup is ok. ![volume_rendering.JPG](https://archive.blender.org/developer/F7429913/volume_rendering.JPG) With the principle volume shader you can´see anything in the rendering with color and alpha because the alpha is completely black. ![volume_rendering3.JPG](https://archive.blender.org/developer/F7430011/volume_rendering3.JPG) If you switch to color in the renderview, you see that the colors are rendered correct. **Only the alpha is wrong!** ![volume_rendering05.JPG](https://archive.blender.org/developer/F7430057/volume_rendering05.JPG) The volume scatter shader works as expected. You get a proper alpha when you render (F12). {[F7430003](https://archive.blender.org/developer/F7430003/volume_rendering2.JPG)}![volume_rendering04.JPG](https://archive.blender.org/developer/F7430038/volume_rendering04.JPG) So the principle volume shader can´t be used because when rendering with this shader, its alpha is black and therfore nothing is visible! **So for me this is a bug!** I don´t mind how the alpha is in the viewport.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2019-06-21 12:31:47 +02:00

For the alpha issue we have #52680 (Alpha difference Viewport/F12 ), as noted in the other report.

If you have only emission and zero density, as in this node setup, then alpha is supposed to be zero.

For the alpha issue we have #52680 (Alpha difference Viewport/F12 ), as noted in the other report. If you have only emission and zero density, as in this node setup, then alpha is supposed to be zero.

Ah ok, thanks, because of the other report #52680: Alpha difference Viewport/F12 the rendering in the viewport locked different, so I had set the density to zero.
Sorry for perturbing you. Thanks for your fast answer!

Ah ok, thanks, because of the other report **#52680: Alpha difference Viewport/F12** the rendering in the viewport locked different, so I had set the density to zero. Sorry for perturbing you. Thanks for your fast answer!
Sign in to join this conversation.
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
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#65993
No description provided.