Shader Config Details

This section explains each configuration setting and its purpose.

FIELD
DESCRIPTION

Target Material

The material whose shader property you want to control.

ID

Use this name in “string id” fields.

A custom string identifier used to reference the configuration via script. Useful for triggering effects programmatically. Also, it helps you to remember it.

Reference Name

The exact name of the shader float property. (eg. _Blend, Tile1, Vector1_A934).

Image: Every shader property in Unity has a unique string identifier called a “Reference Name.” This reference tells Unity exactly which shader property you want to access or modify at runtime.

Important: If you are using a code-based shader you can find the reference names of properties under "Properties" section. The property starts with the reference name, example: _MyFloat and continues with a label example: "My Float". In order to be able to control it you need to use the _MyFloat as the Reference Name.

↓ See the example below ↓

hlsl

Properties
{
    _MyFloat ("My Float", Float) = 0.5    //_MyFloat is our target for this tool
    _MyColor ("Color", Color) = (1,1,1,1)
    _MainTex ("Albedo", 2D) = "white" {}
}
FIELD
DESCRIPTION

Minimum Value

The lowest the shader variable should reach. Refer to your shader’s inspector or code for limits.

Maximum Value

The highest value the shader variable should reach. This is also the value you want to end the effect at.

Start Value

The initial value is assigned at runtime before any effect starts. It should equal to or between min and max values.

Change Speed

How fast the value changes. Smaller ranges require slower speeds (e.g. 0.1)

Shader Change Type

Defines how the value behaves over time.

FIELD
DESCRIPTION
  • Incremental

Increases from the minimum or start value to max value.

  • Decremental

Decreases from the maximum or start value to min value.

  • Ping Pong

Loops between min and max values smoothly.

  • Randomise

Instantly jumps to a random value between min and max.

  • Smooth Randomise

Smoothly transitions to random values between min and max.

Current Value

Displays the current value during runtime. This field is read-only and used for debugging.

Remove Config

Removes this configuration from the list

These variables are key configurations that let you control your shaders. They enable precise adjustment of specific shader properties whenever and however you want.

Last updated