Shader Exposer
Craipes Studio
$4.99
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
08/23(2022) |
4.99 |
11/16(2024) |
4.99 |
Jump AssetStore
Shader Exposer package provides an easy way to access shader's properties with no need to hardcode their names.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.Which shaders are supported?All shaders are supported, including ShaderGraph shadersHow to start?Create the "Exposed Shader" from the project context menu.Select shaders you want to expose.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