Updated image
commited
commit
96c9b501a271bf4a376dbd4adc0aba5ac894629f
... | ... | @@ -6,7 +6,7 @@ Sometimes in 2D games, we need to completely remove the shadows from the scene. |
6 | 6 | |
7 | 7 | Example: |
8 | 8 | |
9 | [[uploads/shadorem.png]] |
|
9 | [[/uploads/IMG_20220625_154309.jpg]] |
|
10 | 10 | |
11 | 11 | That's all! |
12 | 12 | |
... | ... | @@ -21,13 +21,13 @@ For a top-down **2D** game, we can set the camera **Y** value to a **very high** |
21 | 21 | |
22 | 22 | Here is an example using camera 0,100,0: |
23 | 23 | |
24 | [[uploads/pershadorem.png]] |
|
24 | [[/uploads/IMG_20220625_155358.jpg]] |
|
25 | 25 | |
26 | 26 | (You should use your appropriate camera X and Z values. Set the Y value to a very high value.) |
27 | 27 | |
28 | 28 | For **3D** games, use the Rotate block to move the camera in the right direction: |
29 | 29 | |
30 | [[uploads/firefox_UFxHjI1sMY.png]] |
|
30 | [[/uploads/IMG_20220625_160655.jpg]] |
|
31 | 31 | |
32 | 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 |