Advanced Material Shader

Category: Executor Tier: Pro

Purpose

Generic runtime interface to any ShaderMaterial uniform.

Visual Reference

As added to your scene
Advanced Material Shader brick as it appears in the GDLink editor
Generated UI Mockup — showing expanded properties
Advanced Material Shader
-
x
Name:
Label this brick...
Target:
v
Mode:
Set Parameter
Uniform:
v
Type:
Scalar
Value:
0.0
v
Value:X
1.0
v
Y
1.0
v
Value:X
1.0
v
Y
1.0
v
Z
1.0
v
Texture:
v
Dur:
0.4
v
Animate
Verbose

Properties

Property

Type

Default

Notes

Target

string

Node with ShaderMaterial (empty = parent). Supports name, relative path, or absolute path.

Mode

option

Set Parameter

How to interact with the shader uniform

Uniform

string

Exact uniform name in the shader (e.g. vertex_blend_weight, tex1_uv_scale)

Type

option

Scalar

Data type of the uniform value

Value

float

0.0

Scalar uniform value

Value

vector2

[1.0, 1.0]

Vector2 uniform (UV scale, offset)

Value

vector3

[1.0, 1.0, 1.0]

Vector3 uniform (position, direction)

Color

color

[1, 1, 1, 1]

Color uniform (tints, HDR values)

Texture

string

Resource path to Texture2D (e.g. res://textures/lava.png)

Animate

bool

False

Tween the value change over duration

Dur

float

0.4

Tween duration in seconds

Verbose

bool

False

Log shader parameter changes (controlled by ladybug button)