pointcache/tools/bundle/bundle.gd

10 lines
314 B
GDScript

extends Resource
@export var basenames: PackedStringArray
@export var shader: ShaderInclude
@export var image_cow: Texture2D
@export var image_mask_cow: Texture2D
func attach(mat: ShaderMaterial):
mat.set_shader_parameter('image_cow', image_cow)
mat.set_shader_parameter('image_mask_cow', image_mask_cow)