diff --git a/game/addons/mat_maker_gd/nodes/filter/filter.gd b/game/addons/mat_maker_gd/nodes/filter/filter.gd index 6e346847..8d5b9ce4 100644 --- a/game/addons/mat_maker_gd/nodes/filter/filter.gd +++ b/game/addons/mat_maker_gd/nodes/filter/filter.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Colors = preload("res://addons/mat_maker_gd/nodes/common/colors.gd") diff --git a/game/addons/mat_maker_gd/nodes/filter/grayscale.gd b/game/addons/mat_maker_gd/nodes/filter/grayscale.gd index 61a73561..fc3f0e14 100644 --- a/game/addons/mat_maker_gd/nodes/filter/grayscale.gd +++ b/game/addons/mat_maker_gd/nodes/filter/grayscale.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Colors = preload("res://addons/mat_maker_gd/nodes/common/colors.gd") diff --git a/game/addons/mat_maker_gd/nodes/filter/sharpen.gd b/game/addons/mat_maker_gd/nodes/filter/sharpen.gd index ad54eb47..f4810f12 100644 --- a/game/addons/mat_maker_gd/nodes/filter/sharpen.gd +++ b/game/addons/mat_maker_gd/nodes/filter/sharpen.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") diff --git a/game/addons/mat_maker_gd/nodes/mm_node.gd b/game/addons/mat_maker_gd/nodes/mm_node.gd index 4af44039..68feea35 100644 --- a/game/addons/mat_maker_gd/nodes/mm_node.gd +++ b/game/addons/mat_maker_gd/nodes/mm_node.gd @@ -3,3 +3,5 @@ class_name MMNode extends Resource +var texture : ImageTexture + diff --git a/game/addons/mat_maker_gd/nodes/noise/noise.gd b/game/addons/mat_maker_gd/nodes/noise/noise.gd index d243b03a..ade6a225 100644 --- a/game/addons/mat_maker_gd/nodes/noise/noise.gd +++ b/game/addons/mat_maker_gd/nodes/noise/noise.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") diff --git a/game/addons/mat_maker_gd/nodes/noise/noise_FBM.gd b/game/addons/mat_maker_gd/nodes/noise/noise_FBM.gd index 5ccfcb59..9615645c 100644 --- a/game/addons/mat_maker_gd/nodes/noise/noise_FBM.gd +++ b/game/addons/mat_maker_gd/nodes/noise/noise_FBM.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var NoiseFBM = preload("res://addons/mat_maker_gd/nodes/common/noise_fbm.gd") diff --git a/game/addons/mat_maker_gd/nodes/noise/noise_color.gd b/game/addons/mat_maker_gd/nodes/noise/noise_color.gd index a8547fae..cc5f2038 100644 --- a/game/addons/mat_maker_gd/nodes/noise/noise_color.gd +++ b/game/addons/mat_maker_gd/nodes/noise/noise_color.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") diff --git a/game/addons/mat_maker_gd/nodes/noise/noise_voronoi.gd b/game/addons/mat_maker_gd/nodes/noise/noise_voronoi.gd index 46281457..c5365144 100644 --- a/game/addons/mat_maker_gd/nodes/noise/noise_voronoi.gd +++ b/game/addons/mat_maker_gd/nodes/noise/noise_voronoi.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var NoiseVoronoi = preload("res://addons/mat_maker_gd/nodes/common/noise_voronoi.gd") diff --git a/game/addons/mat_maker_gd/nodes/noise/perlin.gd b/game/addons/mat_maker_gd/nodes/noise/perlin.gd index 59737bf3..a39a2543 100644 --- a/game/addons/mat_maker_gd/nodes/noise/perlin.gd +++ b/game/addons/mat_maker_gd/nodes/noise/perlin.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var NoisePerlin = preload("res://addons/mat_maker_gd/nodes/common/noise_perlin.gd") diff --git a/game/addons/mat_maker_gd/nodes/noise/perlin_color.gd b/game/addons/mat_maker_gd/nodes/noise/perlin_color.gd index ea62ef7a..07d2c50f 100644 --- a/game/addons/mat_maker_gd/nodes/noise/perlin_color.gd +++ b/game/addons/mat_maker_gd/nodes/noise/perlin_color.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") diff --git a/game/addons/mat_maker_gd/nodes/noise/perlin_warp1.gd b/game/addons/mat_maker_gd/nodes/noise/perlin_warp1.gd index c1ef9aac..d673cc87 100644 --- a/game/addons/mat_maker_gd/nodes/noise/perlin_warp1.gd +++ b/game/addons/mat_maker_gd/nodes/noise/perlin_warp1.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var NoisePerlin = preload("res://addons/mat_maker_gd/nodes/common/noise_perlin.gd") diff --git a/game/addons/mat_maker_gd/nodes/noise/perlin_warp2.gd b/game/addons/mat_maker_gd/nodes/noise/perlin_warp2.gd index cb45b946..8ef4ea89 100644 --- a/game/addons/mat_maker_gd/nodes/noise/perlin_warp2.gd +++ b/game/addons/mat_maker_gd/nodes/noise/perlin_warp2.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var NoisePerlin = preload("res://addons/mat_maker_gd/nodes/common/noise_perlin.gd") diff --git a/game/addons/mat_maker_gd/nodes/pattern/TextureRectBricks.gd b/game/addons/mat_maker_gd/nodes/pattern/TextureRectBricks.gd index 4c20237e..510128e2 100644 --- a/game/addons/mat_maker_gd/nodes/pattern/TextureRectBricks.gd +++ b/game/addons/mat_maker_gd/nodes/pattern/TextureRectBricks.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") diff --git a/game/addons/mat_maker_gd/nodes/pattern/pattern_beehive.gd b/game/addons/mat_maker_gd/nodes/pattern/pattern_beehive.gd index fdf559d5..224175d7 100644 --- a/game/addons/mat_maker_gd/nodes/pattern/pattern_beehive.gd +++ b/game/addons/mat_maker_gd/nodes/pattern/pattern_beehive.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") diff --git a/game/addons/mat_maker_gd/nodes/pattern/pattern_generic.gd b/game/addons/mat_maker_gd/nodes/pattern/pattern_generic.gd index 994d4b5b..84d8edae 100644 --- a/game/addons/mat_maker_gd/nodes/pattern/pattern_generic.gd +++ b/game/addons/mat_maker_gd/nodes/pattern/pattern_generic.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") diff --git a/game/addons/mat_maker_gd/nodes/pattern/pattern_iching.gd b/game/addons/mat_maker_gd/nodes/pattern/pattern_iching.gd index 890cbb77..6d95778b 100644 --- a/game/addons/mat_maker_gd/nodes/pattern/pattern_iching.gd +++ b/game/addons/mat_maker_gd/nodes/pattern/pattern_iching.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") diff --git a/game/addons/mat_maker_gd/nodes/pattern/pattern_rune.gd b/game/addons/mat_maker_gd/nodes/pattern/pattern_rune.gd index 243698d9..b0aed9ee 100644 --- a/game/addons/mat_maker_gd/nodes/pattern/pattern_rune.gd +++ b/game/addons/mat_maker_gd/nodes/pattern/pattern_rune.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") diff --git a/game/addons/mat_maker_gd/nodes/pattern/pattern_scratches.gd b/game/addons/mat_maker_gd/nodes/pattern/pattern_scratches.gd index 9c79d3d1..359d011e 100644 --- a/game/addons/mat_maker_gd/nodes/pattern/pattern_scratches.gd +++ b/game/addons/mat_maker_gd/nodes/pattern/pattern_scratches.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") diff --git a/game/addons/mat_maker_gd/nodes/pattern/pattern_sine_wave.gd b/game/addons/mat_maker_gd/nodes/pattern/pattern_sine_wave.gd index bbf5082f..422ad43a 100644 --- a/game/addons/mat_maker_gd/nodes/pattern/pattern_sine_wave.gd +++ b/game/addons/mat_maker_gd/nodes/pattern/pattern_sine_wave.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") diff --git a/game/addons/mat_maker_gd/nodes/pattern/pattern_truchet.gd b/game/addons/mat_maker_gd/nodes/pattern/pattern_truchet.gd index 6f519eab..0c537976 100644 --- a/game/addons/mat_maker_gd/nodes/pattern/pattern_truchet.gd +++ b/game/addons/mat_maker_gd/nodes/pattern/pattern_truchet.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") diff --git a/game/addons/mat_maker_gd/nodes/pattern/pattern_weave.gd b/game/addons/mat_maker_gd/nodes/pattern/pattern_weave.gd index 5f6e97e3..fe03dd0f 100644 --- a/game/addons/mat_maker_gd/nodes/pattern/pattern_weave.gd +++ b/game/addons/mat_maker_gd/nodes/pattern/pattern_weave.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") diff --git a/game/addons/mat_maker_gd/nodes/sdf2d/sdf.gd b/game/addons/mat_maker_gd/nodes/sdf2d/sdf.gd index e83487fb..15f88c23 100644 --- a/game/addons/mat_maker_gd/nodes/sdf2d/sdf.gd +++ b/game/addons/mat_maker_gd/nodes/sdf2d/sdf.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode const Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var SDF2D = preload("res://addons/mat_maker_gd/nodes/common/sdf2d.gd") diff --git a/game/addons/mat_maker_gd/nodes/sdf3d/sdf3d.gd b/game/addons/mat_maker_gd/nodes/sdf3d/sdf3d.gd index 519cc6bd..9a164a3a 100644 --- a/game/addons/mat_maker_gd/nodes/sdf3d/sdf3d.gd +++ b/game/addons/mat_maker_gd/nodes/sdf3d/sdf3d.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var SDF3D = preload("res://addons/mat_maker_gd/nodes/common/sdf3d.gd") diff --git a/game/addons/mat_maker_gd/nodes/simple/TextureRectCirtularGradient.gd b/game/addons/mat_maker_gd/nodes/simple/TextureRectCirtularGradient.gd index a3a767a0..ebb9d98a 100644 --- a/game/addons/mat_maker_gd/nodes/simple/TextureRectCirtularGradient.gd +++ b/game/addons/mat_maker_gd/nodes/simple/TextureRectCirtularGradient.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Gradients = preload("res://addons/mat_maker_gd/nodes/common/gradients.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") diff --git a/game/addons/mat_maker_gd/nodes/simple/TextureRectCurve.gd b/game/addons/mat_maker_gd/nodes/simple/TextureRectCurve.gd index 7c53bda0..9803d580 100644 --- a/game/addons/mat_maker_gd/nodes/simple/TextureRectCurve.gd +++ b/game/addons/mat_maker_gd/nodes/simple/TextureRectCurve.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") diff --git a/game/addons/mat_maker_gd/nodes/simple/TextureRectGradient.gd b/game/addons/mat_maker_gd/nodes/simple/TextureRectGradient.gd index 730cda22..afe8d3b0 100644 --- a/game/addons/mat_maker_gd/nodes/simple/TextureRectGradient.gd +++ b/game/addons/mat_maker_gd/nodes/simple/TextureRectGradient.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Gradients = preload("res://addons/mat_maker_gd/nodes/common/gradients.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") diff --git a/game/addons/mat_maker_gd/nodes/simple/TextureRectRadialGradient.gd b/game/addons/mat_maker_gd/nodes/simple/TextureRectRadialGradient.gd index 0c3a6a7d..07e35a4b 100644 --- a/game/addons/mat_maker_gd/nodes/simple/TextureRectRadialGradient.gd +++ b/game/addons/mat_maker_gd/nodes/simple/TextureRectRadialGradient.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Gradients = preload("res://addons/mat_maker_gd/nodes/common/gradients.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") diff --git a/game/addons/mat_maker_gd/nodes/simple/TextureRectShape.gd b/game/addons/mat_maker_gd/nodes/simple/TextureRectShape.gd index 24835581..b1120aa5 100644 --- a/game/addons/mat_maker_gd/nodes/simple/TextureRectShape.gd +++ b/game/addons/mat_maker_gd/nodes/simple/TextureRectShape.gd @@ -1,5 +1,5 @@ tool -extends TextureRect +extends MMNode var Shapes = preload("res://addons/mat_maker_gd/nodes/common/shapes.gd")