Overview
Syllabus
Intro
In this presentation
Shader Graph
"Stylised" look
Getting main light information
Lambert lighting model
Dot product (of two vectors)
File mode
Lambert lighting with shadows
Put the Custom Function node in a Sub-Graph
Visualise your values!
Calculating a simple specular
The position of a specular effect
Lambert model with Specular
The final graph
Lighting and shadows
Step operation
Gradient (or "ramp") shading
The hard transition on light and shadows
Using gradients
Pre-processing textures
The painted specular
Creating the paint dabs
Using them as specular
The backlight halo
The side shine
The graph
Want to learn more?
Taught by
Unity