Adds a Shadow effect.
The shadow effect is a visual technique used to create the illusion of depth and realism by adding darker, offset silhouettes or shapes beneath game objects, characters, or environments. These simulated shadows help to enhance the visual appeal and immersion, making the 2D game world appear more dynamic and three-dimensional.
name | type | arguments | Default | description |
---|---|---|---|---|
x | number | <optional> | 0 |
The horizontal offset of the shadow effect. |
y | number | <optional> | 0 |
The vertical offset of the shadow effect. |
decay | number | <optional> | 0.1 |
The amount of decay for shadow effect. |
power | number | <optional> | 1 |
The power of the shadow effect. |
color | number | <optional> | 0x000000 |
The color of the shadow. |
samples | number | <optional> | 6 |
The number of samples that the shadow effect will run for. An integer between 1 and 12. |
intensity | number | <optional> | 1 |
The intensity of the shadow effect. |
The Shadow FX Controller.