11 lines
479 B
GDScript
11 lines
479 B
GDScript
@icon("res://addons/func_godot/icons/icon_godot_ranger.svg")
|
|
## Resource that gets built into a shader file that applies a special effect to a specified texture in NetRadiant Custom.
|
|
class_name NetRadiantCustomShader
|
|
extends Resource
|
|
|
|
## Path to texture without extension, eg: `textures/special/clip`.
|
|
@export var texture_path: String
|
|
|
|
## Array of shader properties to apply to faces using [member texture_path].
|
|
@export var shader_attributes : Array[String] = ["qer_trans 0.4"]
|