Skip to content

Velorexe/UnityHDRP-Post-Processing-Hatching-Shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity HDRP Post Processing Hatching Shader

A Post Processing shader featuring Hatching based on World Space UV's in the Unity HDRP
Project for a minor in Game Development & Simulation at the Hague University of Applied Sciences

How does it work?

By calculating the world space UV's based on the Camera's view, it can overlay an image by using these UV's on a tiled sketch texture. The sketch texture is divided into 3 "different" textures, based on how intense the hatching effect has to be. The intensity is based on the brightness of the pixel it's applying the effect to.

Features

  • Post Processing Shader (HatchingPostProcessing.shader)
  • The Post Processing effect script (HatchingEffect.cs)
  • 3 example stroke textures (/Strokes)

Help

You can use this guide to add a custom post processing effect to your Unity project. Make sure that you're using the HDRP pipeline, since I'm not sure how the effect turns out if you use a different pipeline.

Resources

About

A world space based Unity HDRP Post Processing Hatching effect.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published