cirnogodot/addons/func_godot/src/netradiant_custom/netradiant_custom_shader.gd

12 lines
546 B
GDScript3
Raw Normal View History

2025-06-09 18:57:53 +02:00
@icon("res://addons/func_godot/icons/icon_godot_ranger.svg")
class_name NetRadiantCustomShader
extends Resource
2025-09-11 15:02:08 +02:00
## Shader resource for NetRadiant Custom configurations.
##
## Resource that gets built into a shader file that applies a special effect to a specified texture in NetRadiant Custom.
2025-06-09 18:57:53 +02:00
2025-09-11 15:02:08 +02:00
## Path to texture without extension, eg: [i]"textures/special/clip"[/i].
2025-06-09 18:57:53 +02:00
@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"]