Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion part-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down