Login

Fancade Wiki

Renamed How to remove the shadows to /How to remove the shadows

... ...
@@ -33,3 +33,4 @@ Blocks/How to make a car.md: Build/How to make a car.md
33 33
Wisper Dev.md: Wispered.md
34 34
How to 'Turn Off' the shadows.md: How to remove the shadows.md
35 35
How to remove the shadows.md: Script/How to remove the shadows.md
36
Script/How to remove the shadows.md: How to remove the shadows.md
... ...
@@ -0,0 +1,25 @@
1
Sometimes in 2D games, we need to completely remove the shadows from the scene. Here is a simple way to do that.
2
3
1. Set the camera **angle** to whatever is needed for the game.
4
5
2. Set the light **angle** to the **same** angle as the camera.
6
7
Example:![Removing Shadows](/uploads/shadorem.png)
8
9
That's all!
10
11
But there might still be **fuzzy shadow bleed at edges**.
12
13
14
## For a perfect shadow removal
15
16
for a perfect shadow removal, we can **move the camera very far from the scene**. it is less convenient, but works perfectly.
17
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/Screenshot_20210524-183819~2.png)
23
(you should use your appropriate camera X and Z values. Set The Y value to a very high value.)
24
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
... ...
@@ -1,25 +0,0 @@
1
Sometimes in 2D games, we need to completely remove the shadows from the scene. Here is a simple way to do that.
2
3
1. Set the camera **angle** to whatever is needed for the game.
4
5
2. Set the light **angle** to the **same** angle as the camera.
6
7
Example:![Removing Shadows](/uploads/shadorem.png)
8
9
That's all!
10
11
But there might still be **fuzzy shadow bleed at edges**.
12
13
14
## For a perfect shadow removal
15
16
for a perfect shadow removal, we can **move the camera very far from the scene**. it is less convenient, but works perfectly.
17
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/Screenshot_20210524-183819~2.png)
23
(you should use your appropriate camera X and Z values. Set The Y value to a very high value.)
24
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