Old Movie Shader Graph - Plus Full Screen Shaders in URP

Описание к видео Old Movie Shader Graph - Plus Full Screen Shaders in URP

This video is a two-for-one special: How to create an old movie shader graph, and how to set up full screen shaders in the Universal Render Pipeline, or URP.

0:00 Overview
1:25 Full Screen Shaders in URP
3:18 Post Processing setup
4:05 Old Movie Shader Graph

The relevant articles on my site:
Old Move Shader Graph - https://gamedevbill.com/old-movie-sha...
Full Screen Shaders in any renderer - https://gamedevbill.com/full-screen-s...

Old timey movie shader effects generally take one of two forms. Either they are black and white with bright spots and lines. Or they are sepia, with dark spots and lines. Today we'll walk through the sepia version, then show how to adjust the shader to be the black and white style at the end.

This kind of effect primarily makes sense as a full screen effect. Running a shader against your entire scene requires a bit of setup in URP, so I'll cover that here as well.

Assets used:
Gaia 2 - https://assetstore.unity.com/packages...
Free train car - https://assetstore.unity.com/packages...

**** Update for Shader Graph 10.x
This video was made with Shader Graph 8.2
If you are using Shader Graph 10.x there are a couple key differences:

The create shader options have moved within a sub-menu called "Universal Render Pipeline, and some are renamed. So "Create--Shader--PBR graph" becomes "Create--Shader--Universal Render Pipeline--Lit Shader Graph"
The per-input settings that were in the blackboard are now in the "Graph Inspector" within the "Node Settings". You must have the input selected to see its settings in that window.
Some other settings that were on-node are now also in that Graph Inspector, though you can generally ignore these.
If you want to generate a code shader from the graph, you do so on the graph asset inspector (not on the master node as you did in 8.2). Now select the graph asset, and hit "View Generated Shader" button in its inspector.
****

All told there will be four steps to pull off this effect: sepia, screen flicker, spots, and lines.

#ShaderGraph #Unity #Shader

Комментарии

Информация по комментариям в разработке