Shader Exposer View on Asset Store (opens in new tab)

Package details

Latest version
1.1
Last updated
First released
Unity version
2021.3.1 or later
Package size
103 KB
Files
26
Favorites
4
Views in the past week
1

Price tracking

Last checked
Tracked since
Lowest recorded
$4.99 on

Keywords

Shader Exposer

by Craipes Studio (opens in new tab)

No ratings yet

Shader Exposer package provides an easy way to access shader's properties with no need to hardcode their names.

Price $4.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Shader Exposer, 6 months Current $4.99; lowest $4.99; highest $4.99 in this period. $0 $2.5 $5 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 8

Shader Exposer screenshot 1

Shader Exposer screenshot 1

About this asset

The package allows you to select shaders, which properties you want to be able to retrieve or modify in code and creates associated scripts for them. These scripts have fast access to shader's properties and provide their names and cached IDs. Also, they allow you to get and set local keywords values.

The package is suitable for all situations, where you need to explore available shader's properties and then get the values or set them in the given material.

With easy setup and usage, you surely will be satisfied.

From the publisher's Asset Store listing.

Technical details

Which shaders are supported?

All shaders are supported, including ShaderGraph shaders

How to start?

  1. Create the "Exposed Shader" from the project context menu.
  2. Select shaders you want to expose.
  3. Click the "Clear and create new exposing scripts" button.

How to get an instance?

  • Create new by putting reference material in the constructor.
  • Mark field as serialized to set the reference material from the inspector.

How to use?

  • All shader's properties and keywords are available from the exposing script's properties.
  • Shader's properties names and cached IDs are available as static fields.
  • Shader's keywords names are available as static fields.
  • The exposed shader name is also available as the static field.
  • Check if the material is assigned using the HasReference property.

Additional info you can find in Readme.txt

Compatibility

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

As listed on the Asset Store.