Login

Fancade Wiki

Revert commit f590ab5

... ...
@@ -4,6 +4,8 @@ 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)
8
7 9
That's all!
8 10
9 11
But there might still be **fuzzy shadow bleed at edges**.
... ...
@@ -14,6 +16,10 @@ But there might still be **fuzzy shadow bleed at edges**.
14 16
for a perfect shadow removal, we can **move the camera very far from the scene**. it is less convenient, but works perfectly.
15 17
16 18
For a top-down **2D** game, we can set the camera **Y** value to a **very high** value.
19
20
here is an example using camera X=0 and Z=0,
21
22
Example: ![Perfect 2D shadow removal](uploads/pershadorem.png)
17 23
(you should use your appropriate camera X and Z values. Set The Y value to a very high value.)
18 24
19 25
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