Game Development Reference
In-Depth Information
Mission briefing
We will create a basic custom shader and apply this shader to the character model that we
already have. That's it. We might say, "Hey! Why is it so short?" Well, it's short to say but it
takes a long time to explain the whole concept of writing a shader.
First, we will import the character model to Unity and start applying a build material and
take a look at the default shader in Unity.
Then, we will start creating a shader as follows:
• Create the diffuse and bump maps using built-in lighting models
• Apply a custom light model, which will include the ambient color and specular
color
• Apply Half Lambert , Toon Ramp , and Rim Light
Lastly, we will apply all of them together to create our custom Cel shading style, as shown
in the following screenshot:
Search WWH ::




Custom Search