Shader Graphs and Video Players
Two powerful features of Unity are the Video Player API and the Shader Graph tool. Between them, they offer easy and configurable ways configurable ways to work with visual content in games. For example, they help with loading and playing videos on different visible objects, and they also provide a comprehensive way for non-shader programmers to construct sophisticated shader transformations using a visual graphing approach. This chapter explores the Unity Shader Graph and Video Player components.
The Shader Graph tool
Shader Graph is a tool that allows us to visually build shaders by creating and connecting the input and output of nodes.
Some great Shader Graph features include the following:
- An instant, visual preview of each node in the graph is provided so that you can see how different nodes are contributing to the final master output node.
- Properties can be publicly exposed in the graph (via the blackboard) so that...