File: toon.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 (52 lines) | stat: -rw-r--r-- 1,147 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
.. _bpy.types.ShaderNodeBsdfToon:

*********
Toon BSDF
*********

.. figure:: /images/node-types_ShaderNodeBsdfToon.webp
   :align: right
   :alt: Toon BSDF node.

:guilabel:`Cycles Only`

The *Toon* :abbr:`BSDF (Bidirectional Scattering Distribution Function)`
is used to create *Diffuse* and *Glossy* materials with cartoon light effects.


Inputs
======

Color
   Color of the surface, or physically speaking, the probability that light is reflected for each wavelength.
Size
   Parameter between 0.0 and 1.0 that gives an angle of reflection between 0° and 90°.
Smooth
   This value specifies an angle over which a smooth transition from full to no reflection happens.
Normal
   Normal used for shading; if nothing is connected the default shading normal is used.


Properties
==========

Component
   The material component to base the toon effect.

   :Diffuse: Use shading based on the Diffuse BSDF.
   :Glossy: Use shading based on the Glossy BSDF for specular reflection.


Outputs
=======

BSDF
   Standard shader output.


Examples
========

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

   Example of Toon Shader.