File: world_settings.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 (192 lines) | stat: -rw-r--r-- 6,498 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
.. _bpy.types.CyclesWorldSettings:
.. _bpy.types.WorldLighting:

**************
World Settings
**************

Mist Pass
=========

.. reference::

   :Panel:     :menuselection:`World --> Mist Pass`

.. note::

   The mist pass must be enabled in the View Layer tab
   of the :doc:`Properties Editor </editors/properties_editor>`
   before the settings below are available in the World tab.

Mist can greatly enhance the illusion of depth in your rendering. To create mist,
Blender generates a render layer with a depth map ranging between 0.0 and 1.0
that can be used in the Compositor to generate a mist effect.

Start
   The distance from the camera at which the mist starts to fade in.

Depth
   The distance from *Start* of the mist, that it fades in over.
   Objects further from the camera than *Start + Depth* are completely hidden by the mist.

Falloff
   The curve function that controls the rate of change of the mist's strength further and further into the distance.

   :Quadratic:
      Uses the same calculation as light falloff (:math:`1\over{x^2}`) and provides the smoothest
      transition from transparent (0.0) to opaque (1.0).
   :Linear: Has a steeper start than quadratic (:math:`1\over{x}`).
   :Inverse Quadratic:
      Has the steepest start (:math:`1\over{\sqrt{x}}`) and approaches 1.0 faster than the other two functions.

.. tip::

   A visualization can be activated in the :menuselection:`Camera --> Viewport Display` panel.

.. figure:: /images/render_cycles_world-settings_mist-example1-BI.jpg

   Mist example
   (`blend-file <https://archive.blender.org/wiki/2015/index.php/File:25-Manual-World-Mist-Example1.blend>`__).


.. _bpy.types.CyclesVisibilitySettings.camera:

Ray Visibility
==============

.. reference::

   :Panel:     :menuselection:`World --> Ray Visibility`

As with other objects,
*Ray Visibility* allows you to control which other shaders can "see" the environment.


Tricks
------

Sometimes it may be useful to have a different background that is directly visible versus one
that is indirectly lighting the objects. A simple solution to this is to add a Mix node,
with the *Blend Factor* set to *Is Camera Ray*. The first input color is then the indirect color,
and the second the directly visible color. This is useful when using a high-res image for
the background and a low-res image for the actual lighting.

Similarly, adding the *Is Camera* and *Is Glossy* rays will mean that the high-res image
will also be visible in reflections.

.. figure:: /images/render_cycles_world-settings_tricks.png

   Nodes for the trick above.


.. _render-cycles-integrator-world-settings:

Settings
========

.. reference::

   :Panel:     :menuselection:`World --> Settings`


Surface
-------

.. _bpy.types.CyclesWorldSettings.sampling_method:

Sampling
   Controls the sampling method for the world material. Selecting Auto or Manual enables
   *Multiple Importance Sampling* while None disables it. *Multiple Importance Sampling*
   is a method to sample the background texture such that lighter parts are favored,
   creating an importance map. It will produce less noise in the render in trade of artifacts (:term:`Fireflies`).
   Enable this when using an image texture with small area lights (like the sun),
   otherwise noise can take a long time to converge.

   Below is a comparison between *Multiple Importance Sample* off and on.
   Both images are rendered for 25 seconds (Off: 1,500 samples, On: 1,000 samples).

   .. list-table::

      * - .. figure:: /images/render_cycles_world-settings_mis-off.jpg

             Multiple Importance Sample off.

        - .. figure:: /images/render_cycles_world-settings_mis-on.jpg

             Multiple Importance Sample on.

.. _bpy.types.CyclesWorldSettings.sample_map_resolution:

Map Resolution
   Sets the resolution of the importance map.
   A higher resolution will better detect small features in the map and give more accurate sampling
   but conversely will take up more memory and render slightly slower.
   Higher values also may produce less noise when using high-res images.

.. _bpy.types.CyclesWorldSettings.max_bounces:

Max Bounces
   Maximal number of bounces the background light will contribute to the render.

.. seealso::

   See :doc:`Reducing Noise </render/cycles/optimizations/reducing_noise>`
   for more information on how to reduce noise.

.. _bpy.types.CyclesWorldSettings.is_caustics_light:

Shadow Caustics
   Mark the World Shader as a refractive caustic caster. This setting can be used in conjunction with the
   :ref:`Cast and Receive caustics object settings <bpy.types.CyclesObjectSettings.is_caustics_caster>`
   to selectively speed up refractive caustic rendering of select objects.


Volume
------

.. _bpy.types.CyclesWorldSettings.volume_sampling:

Sampling Method
   :Distance:
      For dense volumes lit from far away *Distance* sampling is more efficient in most cases.
      Usually this shouldn't be used for World volumes.
   :Equiangular:
      If you have got a light inside or near the volume then *equiangular* sampling is better.
   :Multiple Importance:
      If you have a combination of both, then the multiple importance sampling will be better.

.. _bpy.types.CyclesWorldSettings.volume_interpolation:

Interpolation
   Interpolation method to use for the volume.

   :Linear: Simple interpolation which gives good results for thin volumes.
   :Cubic: Smoothed high-quality interpolation needed for more dense volumes, but slower.

.. _bpy.types.CyclesWorldSettings.homogeneous_volume:

Homogeneous
   Assume volume has the same density everywhere (not using any textures), for faster rendering.
   Usually this is automatically determined by the renderer.
   This settings provides a manual control for cases where it is not detected.

.. _bpy.types.CyclesWorldSettings.volume_step_size:

Step Size
   Distance between volume shader samples for world volume shaders.
   See :doc:`Volume Render Settings </render/cycles/render_settings/volumes>` for more information.


Light Group
-----------

.. _bpy.types.World.lightgroup:

Light Group :guilabel:`Cycles only`
   Select the :ref:`Light Group <bpy.types.ViewLayer.active_lightgroup_index>` to add the
   current *World Surface Shader* too.

   Add Light Group
      If the name input into the *Light Group* field does not align with an existing
      Light Group, then pressing this button will create a *Light Group* with that name
      and assign this *World Shader* to it.