File: volume_info.rst

package info (click to toggle)
blender-doc 4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 253,604 kB
  • sloc: python: 13,030; javascript: 322; makefile: 113; sh: 107
file content (56 lines) | stat: -rw-r--r-- 1,476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.. _bpy.types.ShaderNodeVolumeInfo:

****************
Volume Info Node
****************

.. figure:: /images/node-types_ShaderNodeVolumeInfo.webp
   :align: right
   :alt: Volume Info Node.

The *Volume Info* node provides information about *Smoke Domains*.


Inputs
======

This node has no inputs.


Properties
==========

This node has no properties.


Outputs
=======

Color
   Gives the color of the smoke inside the :doc:`Fluid Domain </physics/fluid/type/domain/index>`.
   The color and vector outputs are the same. The Factor output is an average of the channels.
Density
   Gives a scalar defining the density of any smoke inside
   the :doc:`Fluid Domain </physics/fluid/type/domain/index>`.
Flame
   Gives a scalar defining the density of any fire inside
   the :doc:`Fluid Domain </physics/fluid/type/domain/index>`.
   All three outputs are the same.
Temperature
   Gives a scalar defining the temperature of the volume. Values in the range 0 - 1 map to 0 - 1000 kelvin.
   This may be used to render physically-based fire with the Blackbody or Principled Volume shaders.
   All three outputs are the same.


Example
=======

.. figure:: /images/render_shader-nodes_input_volume-info_example.jpg

   Smoke density.

.. figure:: /images/render_shader-nodes_input_volume-info_example-fire.jpg

   Computing the color of fire using the *Blackbody* node.
   Since the *Blackbody* node expects its input in Kelvin,
   the temperature output has to be remapped first.