Updated How to remove the shadows.md (markdown)
commited
commit
fd78b91b2367b7adc0adc5599021d6728ab5de19
... | ... | @@ -1,8 +1,8 @@ |
1 | 1 | Sometimes in 2D games, we need to completely remove the shadows from the scene. Here is a simple way to do that. |
2 | 2 | |
3 | 1. Set the camera **angle** to whatever is needed for the game. |
|
3 | 1. Set the camera **angle** to whatever is needed for the game. |
|
4 | 4 | |
5 | 2. Set the light **angle** to the **same** angle as the camera. |
|
5 | 2. Set the light **angle** to the **same** angle as the camera. |
|
6 | 6 | |
7 | 7 | Example: |
8 | 8 | |
... | ... | @@ -29,6 +29,6 @@ For **3D** games, use the Rotate block to move the camera in the right direction |
29 | 29 | |
30 | 30 | [[uploads/firefox_UFxHjI1sMY.png]] |
31 | 31 | |
32 | (Explanation for the vector value: If the camera's rotation is 0,0,0 ("no rotation"), the camera is looking in the positive Z direction, so moving it in the negative Z pushes it farther away. Rotating the camera from that default angle causes the back direction to rotate accordingly.) |
|
32 | (Explanation for the vector value: If the camera's rotation is 0,0,0 ("no rotation"), the camera is looking in the positive Z direction, so moving it in the opposite direction pushes it further away. Rotating the camera from that default angle causes the back direction to rotate accordingly.) |
|
33 | 33 | |
34 | Note that if the camera is too far away, some objects might not be visible. Decrease the value if that happens. |
|
... | ... | \ No newline at end of file |
0 | Note that if the camera is too far away, some objects might not be visible. Decrease the distance if that happens. |
|
... | ... | \ No newline at end of file |