New: now support 2022.2, 2022.3 and 2023.1!
ShaderGraph Essentials - All-in-one performant noise node, new master nodes and features to push your shaders to a whole new level !
TLDR
ShaderGraph Essentials adds unique must-have features to ShaderGraph:
- 30+ noises node
- generate a texture from any node in the graph (in editor)
- 3 additionnal master nodes (Unlit, SimpleLit, Toon) with more parameters
- custom lighting node so you can code your own lighting using HLSL
- water shader with vertex displacement (CPU / GPU) and dynamic foam
Overview
ShaderGraph Essentials is a unique bundle of nodes to complete what's already existing in ShaderGraph. Features include 2D/3D Perlin noise, Simplex, Value, fractal / turbulence / ridge variances, periodic / non-periodic variances, the ability to bake textures from any node in your graph AND a Simple Lit master node. Yes, the equivalent of the "SimpleLit" shader in LWRP ! Oh, did I mention there's also a toon lighting node ? And that you can implement your own lighting function to work in ShaderGraph ?
It now also contains an extensible water shader featuring vertex displacement (CPU or GPU, your choice!) and dynamic depth-based foam. And it's 100% made in ShaderGraph, so if you can tweak it to suits your needs!
Include full source code, included demo scenes with various effect (procedural wood, procedural normals, lava, explosion, light beam, dissolve ...).
Value and performance
You could spend hours working on the noises that are missing in ShaderGraph (Perlin, anyone ?). Or you can get ShaderGraph Essentials and have 30+ noise variations, easy to use through a single node and already optimized to be as fast as possible ! The ability to bake noises you've created will help you optimize your game, as well as using the SimpleLit master node instead of the PBR one. ShaderGraph Essentials nodes have been tested on mobile, VR on PC, low-end and high-end PC.
It's a must-have if you plan to use ShaderGraph or are already using it.
Noise node
A one-in-all noise node, with a powerful UI that let you iterates quickly in ShaderGraph.
Features Simple value noise, Simplex, Perlin2D and Perlin3D.
In addition every noise can be tillable (periodic) or not; and you can enable Fractal, Turbulence or Ridge combination in one clic !
Generate texture node
A node that let you bake the output of any other node in a texture.
This is extremely useful when you've got a group of node that is static according to the UV mapping of your mesh.
You can optimize your graph by baking part of it in a texture, then using it instead of your baked graph. This node gives you the performance of a texture AND the iteration time of ShaderGraph, as you'll continue to work and generate your texture in ShaderGraph.
Simple Lit master node
The equivalent of LWRP Simple lit shader. A must have if you use LWRP and care about performance (especially on mobile).
Many assets or scenes don't need to support and execute the full PBR shader and this node gives you the power to use a much faster lit master node.
Custom lighting and toon lighting
A master node that let you code your own diffuse and specular lighting functions using HLSL.
A MUST HAVE if you used one in classic shaders, there's no way you can do without it !
As an example I implemented a toon lighting node that reacts correctly with shadows and additional lights!
Water shader
A water shader featuring vertex displacement and dynamic depth-based foam.
Such shader can't be done at all without this plugin, as the default ShaderGraph master nodes have a bug that makes it impossible.
It's 100% made in ShaderGraph so you can tweak the shader to your needs!
Support
I'm dedicated to make this asset the best collection of nodes and features for ShaderGraph. I answer to email and do my best to fix bugs and implement feature request.
Please don't hesitate to contact me for feedback, ideas or bug report at ph.graphics.unity@gmail.com
You can also come and chat on Discord at https://discord.gg/ksURBah
For an in-depth explanation about all features, you can have a look at the online documentation.
Requirements
- support Unity 2018.3, 2019.x, 2020.x, 2021.x, 2022.x and 2023.1
- no support for preview, beta or alpha package
- latest LWRP / URP / HDRP / ShaderGraph available package
- ShaderGraph Essentials requires one license per seat