Skip to content

LichengCAO/hw04-stylization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Stylization

Project Overview:

In this project, I implemented two different stylizations using Unity ShaderGraph.

Results

  • The initial reference was originally implemented in Unreal Engine. I incorporated certain features of it into my Unity shader.
    • I generated a brush stroke texture in Adobe Substance 3D Designer (DS) for the shader to sample, resulting in the creation of stroke-like features.
    • I utilized the dot product between the view direction and the object's normal to calculate the Fresnel term and then sampled the texture to produce eroded outlines based on that.
  • The second stylization essentially combines Toon mapping with an outline effect.
    • I introduced some noise to the UV coordinates I sampled for creating the outlines, giving them a wavy appearance. To ensure the outlines change only at discrete time steps, I employed a floor function.
Reference My implementation in Unity

Resources:

  1. Stylized paint shader
  2. Outlines

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 58.6%
  • HLSL 34.4%
  • ShaderLab 7.0%