From 4e357f8eba663b42c786177573683884e11c0821 Mon Sep 17 00:00:00 2001 From: Insha Lakhani <104465349+inshalak@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:26:21 -0500 Subject: [PATCH] Update README.md --- README.md | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index b51f9a7..2e26a8a 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,20 @@ # Lab 05 - Stylization! Let's practice adding stylization to a 3D scene using Unity's shader graph! -## Introduction -We will be stylizing a "toon" look by creating a shader in Unity that supports shadows and multiple lights in real-time! In the process, you will gain some familiarity with Unity’s shader graph. - -## What’s provided: -This tutorial video will cover the base code, and then go over the process of making a limited version of a toon shader. - -[Lab Overview and Puzzle 1 Tutorial Video](https://youtu.be/jc5MLgzJong) - -## Lab Puzzles: -The goal of each puzzle will be to replicate the look of each puzzle’s image. - ### 1. Puzzle 1: Simple two-tone toon shading - -277997527-f27aec24-0d04-4b73-95d3-b55e2da13603 - - * Follow the tutorial to create a 2 band toon shader, and then create multiple materials based off of the shader graph - * Attach those materials to the objects (the sphere and plane) in the default scene "Lab Scene 1" to produce a look similar to the one above! +Screenshot 2023-11-11 at 3 24 31 PM ### 2. Puzzle 2: Leveled-up toon shading +Screenshot 2023-11-14 at 12 23 26 PM -277998209-12d0a844-b6a8-4054-86f9-ee13b5533bf2 - - * Edit your materials to allow for a 3rd color in your scene, such that you have highlights, midtones, shadows on your objects. Edit your shader so that the thresholds on these values are adjustable. - * Shade the sonic and shadow receiving plane in "Lab Scene 2" to get a look similar to the one above! ### 3. Puzzle 3: Stylized Shadow +Screenshot 2023-11-14 at 2 11 58 PM -277998492-be35de1e-1157-4a6e-b4ea-ba015f2750c9 - - * Use one of the provided texture png’s in order to add a screenspace shadow pattern onto the shadows of the scene! - * Hint 1: What does the "ShadowAttenuation" variable do? - Extra Credit: - * Add some soft interpolation at the edges of your bands, for smooth transitions between color bands. Create a "smoothness" parameter that adjusts the degree of smoothness! + + Screenshot 2023-11-14 at 2 18 28 PM + # Submission: - Create a pull request against this repository