File: add.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 (45 lines) | stat: -rw-r--r-- 810 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
.. _bpy.types.ShaderNodeAddShader:

**********
Add Shader
**********

.. figure:: /images/node-types_ShaderNodeAddShader.webp
   :align: right
   :alt: Add Shader node.

The *Add* node is used to add two *Shaders* together.

.. (TODO) explain the difference Add vs Mix shaders (it's not obvious)
   adds lightness values... aren't necessarily physically correct...
   should be used with Emission and Background shaders...

   check the example image, is it correct to show the Mix shader here?


Inputs
======

Shaders
   Standard shader inputs.


Properties
==========

This node has no properties.


Outputs
=======

Shader
   Standard shader output.


Example
=======

.. figure:: /images/render_shader-nodes_shader_mix_example.jpg

   A mix of a glossy and a diffuse shader makes a nice ceramic material.