Shader Graph Texture Atlas Handler [SubGraph + Script Integration] View on Asset Store (opens in new tab)

Package details

Latest version
1.0.0
Last updated
First released
Unity version
6000.0.29 or later
Package size
3.4 MB
Files
16
Favorites
13
Views in the past week
10

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Shader Graph Texture Atlas Handler [SubGraph + Script Integration]

by LeLapin (opens in new tab)

1 rating, too few to average

This package features a SubGraph for the Shader Graph that allows easy Texture Atlas handling, from texture index and UVs.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Shader Graph Texture Atlas Handler [SubGraph + Script Integration], 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 3

Shader Graph Texture Atlas Handler [SubGraph + Script Integration] screenshot 1

Shader Graph Texture Atlas Handler [SubGraph + Script Integration] screenshot 1

About this asset

This package contains the base Sub Graph that allows to easily and cleanly handle texture atlases in the Shader Graph, as well as a complete example of its usage, featuring a premade grass shader. An example of a texture atlas (2×2) used with the example shader is used on four plants, each sharing the same mesh and material, but different tiling index. This allows to reduce draw calls, by having only one mesh and material for multiple different objects.

From the publisher's Asset Store listing.

Technical details

Clean, easy and fast texture atlas tiling using Shader Graph.

Easy script integration using built-in tiling handler class.

Be aware that the tiling only works with materials that use GPU Instancing.

The "HandleTexuteAtlas" node has 4 inputs :

-Atlas Texture

-Base UV

-Texture resolution (width or height in pixels of a 'subtexture' in the atlas)

-Texture tile index

The index can be set as a Shader property, or via the GetTileIndex custom function (see documentation for more details and code integration)

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
6000.0.29f1 Compatible Compatible Compatible Compatible

Package should be compatible with any SRP, only the demo scene uses the URP.

As listed on the Asset Store.