The Shader Graph team is excited to announce the release of the Feature Examples sample, available now for 2022 LTS as well as 2023.3.
The Shader Graph Feature Examples sample content is a collection of Shader Graph assets that demonstrate how to achieve common techniques and effects in Shader Graph. The goal of this sample pack is to help users see what is required to achieve specific effects and provide examples to make it easier for users to learn.
Here’s a list of some of the samples in this package:
-
Blending Masks - these samples generate masks based on characteristics of the surface - such as height, facing angle, or distance from the camera.
-
Custom Interpolator - here we show how to use the Custom Interpolator feature in Shader Graph to move calculations from the fragment stage to the vertex stage to save performance.
-
Detail Mapping - techniques for adding additional detail to a surface that isn’t contained in the base set of texture maps.
-
Procedural Noise and Shapes - methods for creating shapes or patterns that use math instead of texture samples.
-
Shader Graph Feature Examples - examples of using specific Shader Graph features - such as the Custom Code node or the Custom Interpolator
-
UV Projection - methods of creating texture coordinates to achieve specific effects such as parallax occlusion mapping, or triplanar projection
-
Vertex Animation - techniques for adjusting the position of the vertices to create effects such as waves, animated flags, or camera-facing billboards.
-
Particles - shows how a full-featured particle system can be built using just Shader Graph
-
Conditions - demonstrates branching based on graphics quality setting and based on the active render pipeline.
-
- Custom Lighting - shows how Shader Graph can be used to build custom lighting models - including PBR, simple, and cel shading.
Take a look at the video we created that shows how to install and use the samples.
We would love to get your feedback! Take a look at the new samples and let us know what you think in this thread.
