From a23a6aa1d5c1b057c57ff4e3de309d11c04d930a Mon Sep 17 00:00:00 2001 From: Eitan Hemed <37670372+EitanHemed@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:35:09 +0300 Subject: [PATCH] Update README.md Fixed reference to menu --- part-2/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/part-2/README.md b/part-2/README.md index 14dd024..c717580 100644 --- a/part-2/README.md +++ b/part-2/README.md @@ -12,7 +12,7 @@ We want this simple mouse version to be a 2D task initially - so we will move th ## Fixing shadows -Before we continue developing the task we will fix the shadows. You'll notice above we get some banding effects in the shadows and we can't see any shadows for the cursor and target. First we can increase the quality of the shadows by reducing the shadow distance. Unity has a certain budget for shadows and it useless us having shadows rendered 100s of meters away when all of our objects will be within a few meters at most. Go to the top menu bar, Edit -> Player Settings -> Quality and change the shadow distance. A value of `20` looked OK to me. Then, to fix the banding we have to tweak the settings of the light we have positioned by default in our scene. Click the Directional Light in the hierarchy to a very low number (I used `0.01`). Below is what the scene looked like afterwards. +Before we continue developing the task we will fix the shadows. You'll notice above we get some banding effects in the shadows and we can't see any shadows for the cursor and target. First we can increase the quality of the shadows by reducing the shadow distance. Unity has a certain budget for shadows and it useless us having shadows rendered 100s of meters away when all of our objects will be within a few meters at most. Go to the top menu bar, Edit -> Project Settings -> Quality and change the shadow distance. A value of `20` looked OK to me. Then, to fix the banding we have to tweak the settings of the light we have positioned by default in our scene. Click the Directional Light in the hierarchy to a very low number (I used `0.01`). Below is what the scene looked like afterwards. [![fix-shadows](/uxf-tutorial/images/fix-shadows.png)](/uxf-tutorial/images/fix-shadows.png)