colored smoke doesn't work (cycles blender 2.80) #60209

Closed
opened 2019-01-05 19:44:34 +01:00 by Kobe Reygel · 15 comments

System Information
Operating system: mac OS
Graphics card: not useful (CPU rendering)

Blender Version
Broken:

2.80, a77b63c569, blender2.8, 2019-01-04
Worked: (optional) in blender 2.79b

Short description of error
Setting a color to a smoke flow object still renders the default, gray color. Error occurs in viewport, as well as in actual render after baking.

Exact steps for others to reproduce the error
set render engine to cycles
apply quick effect: smoke to default cube
select cube, go to physics tab
change smoke color

**System Information** Operating system: mac OS Graphics card: not useful (CPU rendering) **Blender Version** Broken: 2.80, a77b63c56943, blender2.8, 2019-01-04 Worked: (optional) in blender 2.79b **Short description of error** Setting a color to a smoke flow object still renders the default, gray color. Error occurs in viewport, as well as in actual render after baking. **Exact steps for others to reproduce the error** set render engine to cycles apply quick effect: smoke to default cube select cube, go to physics tab change smoke color
Author

Added subscriber: @Arkay

Added subscriber: @Arkay

Added subscribers: @brecht, @ZedDB

Added subscribers: @brecht, @ZedDB
Brecht Van Lommel was assigned by Sebastian Parborg 2019-01-25 13:20:17 +01:00

This is because Quick Smoke does not set the smoke shader color attribute to color (so the color is not read from the smoke setting). It is instead read from the shader node.

I'm guessing this is not the intended behavior @brecht ?

This is because `Quick Smoke` does not set the smoke shader color attribute to `color` (so the color is not read from the smoke setting). It is instead read from the shader node. I'm guessing this is not the intended behavior @brecht ?

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

It's intentionally not using the color by default, for performance reasons.

Ideally we could detect automatically if using the color is needed or if it's a fixed value, but until that is done it is too much of a performance / memory usage to use the smoke color. It's much more efficient to tweak the color in the shader.

It's intentionally not using the color by default, for performance reasons. Ideally we could detect automatically if using the color is needed or if it's a fixed value, but until that is done it is too much of a performance / memory usage to use the smoke color. It's much more efficient to tweak the color in the shader.
Author

Fair enough, but I feel like it's kinda weird that the option is there in plain sight, if it doesn't map by default.
@ZedDB you seem knowledgeable, can I ask you how I do map the smoke color attribute to the color?

I could just change the shader color, but that changes all smoke in the domain to a monochrome color. I want to have multiple objects emitting different colors, and do stuff like keymapping the emitted color to make cool effects.
(If this is not a suitable place to ask this, then I apologize, and would love being pointed to the right place to ask.)

Fair enough, but I feel like it's kinda weird that the option is there in plain sight, if it doesn't map by default. @ZedDB you seem knowledgeable, can I ask you how I do map the smoke color attribute to the color? I could just change the shader color, but that changes all smoke in the domain to a monochrome color. I want to have multiple objects emitting different colors, and do stuff like keymapping the emitted color to make cool effects. (If this is not a suitable place to ask this, then I apologize, and would love being pointed to the right place to ask.)

In the domain shader, simply type in color in the Color Attribute slot

In the domain shader, simply type in `color` in the `Color Attribute` slot

Added subscriber: @chriscamargo

Added subscriber: @chriscamargo

I'm a little confused. Does this mean that in Blender 2.8, we can no longer animate the smoke color to change as it's emitted while using Cycles as the renderer?

I was following along with a smoke tutorial here but in 2.8, the smoke no longer renders using the expected colors. As @Arkay mentioned, changing the shader color changes the smoke wholesale. Is there another way to do this in 2.8 that will still allow me to animate smoke colors from a single emitter?

I'm a little confused. Does this mean that in Blender 2.8, we can no longer animate the smoke color to change as it's emitted while using Cycles as the renderer? I was following along with a [smoke tutorial here ](https://www.youtube.com/watch?v=VmRqlsuSvsw&t=242s) but in 2.8, the smoke no longer renders using the expected colors. As @Arkay mentioned, changing the shader color changes the smoke wholesale. Is there another way to do this in 2.8 that will still allow me to animate smoke colors from a single emitter?
Author

@chriscamargo you can! Like Sebastian said above, go to the smoke domain, go to its shader nodes, and type "color" in the box called "Color Attribute"

After doing this, the smoke behaved like it did in 2.79 again. (and thus being keymappable)

@chriscamargo you can! Like Sebastian said above, go to the smoke domain, go to its shader nodes, and type "color" in the box called "Color Attribute" After doing this, the smoke behaved like it did in 2.79 again. (and thus being keymappable)

Apologies, I didn't make the connection initially. Thank you, @Arkay and @ZedDB, that did the trick!

Apologies, I didn't make the connection initially. Thank you, @Arkay and @ZedDB, that did the trick!

Added subscriber: @atf-productions

Added subscriber: @atf-productions

To animate the whole domain is not what is asked for. the emitter effect is something amazing different in Cycles where the emitting item can have changing color. screenshot - 2019_03_06 10-59-50.png

To animate the whole domain is not what is asked for. the emitter effect is something amazing different in Cycles where the emitting item can have changing color. ![screenshot - 2019_03_06 10-59-50.png](https://archive.blender.org/developer/F6774922/screenshot_-_2019_03_06_10-59-50.png)

Added subscriber: @theartdirector

Added subscriber: @theartdirector

Since Blender 2.80 "Smoke color" doesn't seams to work anymore (Cycles) for renders and animation… It appears grey in Cycles renders. Does someone here has the solution to fixe this ? I tried this way, using Nodes, but it changes the entire color of the smoke (right side of the video).

Blender - Smoke changing color 01.mov

Since Blender 2.80 "Smoke color" doesn't seams to work anymore (Cycles) for renders and animation… It appears grey in Cycles renders. Does someone here has the solution to fixe this ? I tried this way, using Nodes, but it changes the entire color of the smoke (right side of the video). [Blender - Smoke changing color 01.mov](https://archive.blender.org/developer/F7828911/Blender_-_Smoke_changing_color_01.mov)
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
6 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#60209
No description provided.