File: shadow.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 (85 lines) | stat: -rw-r--r-- 1,876 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
.. index:: Grease Pencil Visual Effects; Shadow Visual Effect
.. _bpy.types.ShaderFxShadow:

********************
Shadow Visual Effect
********************

The *Shadow* Visual Effect shows a simulated shadow casting by the object.

For simulating the shadow a color silhouette of the object is displaced in
horizontal and/or vertical direction on the back of the object.


Options
=======

.. figure:: /images/grease-pencil_visual-effects_shadow_panel.png
   :align: right

   Shadow Visual Effect.

Shadow Color
   Defines the shadow color.

Offset X, Y
   Control the shadow displacement in pixels on the X and Y axis.

Scale X, Y
   Control the size of the shadow on the X and Y axis.

Rotation
   Sets the shadow rotation around the Grease Pencil object center
   or another object when *Use Object As Pivot* is enabled.

Object Pivot
   When enabled, an *Object* is used by the shadow as the center of rotation.


Blur
----

Blur X, Z
   Control the blur scale in pixels on the X and Z axis.

Samples
   Number of blur samples (0 disabled the blur effect).


Wave Effect
-----------

When enabled, apply a wave distortion to the shadow.

Orientation
   Sets horizontal or vertical direction for the waves.

Amplitude
   Controls the strength and the depth of the wave.

Period
   Controls the wave period. The time it takes to complete one cycle.

Phase
   Shifts the wave pattern over the shadow.


Example
=======

.. list-table:: Shadow Effect samples.

   * - .. figure:: /images/grease-pencil_visual-effects_shadow_simple.png
          :width: 200px

          Simple Shadow.

     - .. figure:: /images/grease-pencil_visual-effects_shadow_blur.png
          :width: 200px

          Blurred Shadow.

     - .. figure:: /images/grease-pencil_visual-effects_shadow_stretch.png
          :width: 200px

          Stretched shadow with an empty as center of rotation.