A hatching/cross-hatching post processing effect for Unity URP (2022.3.20f1) that I made for Serious Point Games as part of my studies in shader development. You can refer to the effect's documentation for more info (should be in the repo and its release as a PDF file).
- Animated Hatchings
- Ability to be displayed with screen color or black & white
- Inverted hatching color
- Texture array for Hatch textures
- Clone repo or download the folder and load it into an unity project.
- Create a material with the effect's shader graph, or use the provided one.
- Add the render feature of the hatching effect to the Universal Renderer Data you are using.
- Input the effect material (from 2.) into the material field in the effect's renderer feature.
- If needed, you can change the effect's render pass event in its render feature under settings.
The code is based on IronStar Interactive's image effect shader. GitHub Link or YouTube Video Link
Texture Array script by Dmitry Denisov. GitHub Link. It comes included with the project but you don't have to use or depend on it, you can
make and use your own (or other ones). I only include this one as its the one that is most convenient for me and the one that I reference in the effect's documentation.