Login

Fancade Wiki

Fix images instead

... ...
@@ -4,7 +4,9 @@ Sometimes in 2D games, we need to completely remove the shadows from the scene.
4 4
5 5
2. Set the light **angle** to the **same** angle as the camera.
6 6
7
Example:![Removing Shadows](uploads/shadorem.png)
7
Example:
8
9
[[uploads/shadorem.png]]
8 10
9 11
That's all!
10 12
... ...
@@ -13,13 +15,16 @@ But there might still be **fuzzy shadow bleed at edges**.
13 15
14 16
## For a perfect shadow removal
15 17
16
for a perfect shadow removal, we can **move the camera very far from the scene**. it is less convenient, but works perfectly.
18
For a perfect shadow removal, we can **move the camera very far from the scene**. it is less convenient, but works perfectly.
17 19
18 20
For a top-down **2D** game, we can set the camera **Y** value to a **very high** value.
19 21
20 22
here is an example using camera X=0 and Z=0,
21 23
22
Example: ![Perfect 2D shadow removal](uploads/pershadorem.png)
23
(you should use your appropriate camera X and Z values. Set The Y value to a very high value.)
24
Example:
25
26
[[uploads/pershadorem.png]]
27
28
(You should use your appropriate camera X and Z values. Set The Y value to a very high value.)
24 29
25 30
For **3D** games, using this method is tricky and involves some math, so we don't talk it here.
... ...
\ No newline at end of file
Fancade Wiki