Seamless Shadergraph Extension

Revision as of 00:13, 9 June 2023 by Lch (talk | contribs) (Created page with "Shadergraph is a powerful node-based shader editor. Since unity 2021.2, shadergraph is available on any pipeline. This extension offers multiple additional features such as new nodes including a baking node to use shadergraph as a procedural texture baker. == Billboard effect == thumb|350x350px|The provided Billboard node Seamless SGE embeds a billboard node to apply billboarding on any object by displacing its vertices i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Shadergraph is a powerful node-based shader editor. Since unity 2021.2, shadergraph is available on any pipeline. This extension offers multiple additional features such as new nodes including a baking node to use shadergraph as a procedural texture baker.

Billboard effect

The provided Billboard node

Seamless SGE embeds a billboard node to apply billboarding on any object by displacing its vertices in the vertex shader.

Once applied, the object will face the camera, either on all axes or just around the vertical axis according the "Mode" parameter.

As this takes place in the shader, it will work with several cameras too.

Primitives

In order to bake tileable textures, it is necessary to use tileable primitive nodes. All the following nodes are the same than the ones in the original Seamless asset, please refer to it for more details.

Voronoise

This noise created by Inigo Quilez combines standard and voronoi noises in the same place. You can control how much it look look squared or voronoi-like, as well as sharp/blurry.

Voronoi Ultimate

A more advanced Voronoi noise than the one provided by unity.

Fractal Noise

Same as Voronoise, but the fractal version. you can apply up to 16 octaves with control over the gain and lacunarity.

Fractal Warp

Same as fractal noise with domain warping applied.

Faded Polygon

A simple polygon with an inner falloff control to blur the edges.

Faded Rounded Rectangle

A simple rounded rectangle with control over the radius, and an outer falloff.

Squircle

A Squircle with control over the convexity and an inner falloff.

Filter nodes

Curvature From Height

The curvature filter is a must-have to get a nice ambient occlusion estimation.

Luminance

A simple RGB to Luminance helper node.

Export node

The export/baking node

The export node is the most useful node this extension provides. You can plug any output and bake the texture from the shader generated at this node. You can chose any size you want, including non-square or non-POT textures.

You can chose if you want to include the alpha channel, and what type of texture it should imported as (Default or Normal Map).

Only PNG exports are supported yet.