mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Renamed colors.gd to filter.gd.
This commit is contained in:
parent
bfcf4b0475
commit
7ab05bf407
@ -2,7 +2,7 @@ tool
|
||||
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")
|
||||
var Filter = preload("res://addons/mat_maker_gd/nodes/common/filter.gd")
|
||||
var Shapes = preload("res://addons/mat_maker_gd/nodes/common/shapes.gd")
|
||||
|
||||
var image : Image
|
||||
@ -61,14 +61,14 @@ var p_o91644_brightness = 0.000000000;
|
||||
var p_o91644_contrast = 1.000000000;
|
||||
|
||||
func brightness_contrast(color : Color) -> Color:
|
||||
return Colors.brightness_contrast(color, p_o91644_brightness, p_o91644_contrast);
|
||||
return Filter.brightness_contrast(color, p_o91644_brightness, p_o91644_contrast);
|
||||
|
||||
var p_o102649_hue = 0.000000000;
|
||||
var p_o102649_saturation = 1.000000000;
|
||||
var p_o102649_value = 1.000000000;
|
||||
|
||||
func adjust_hsv(color : Color) -> Color:
|
||||
return Colors.adjust_hsv(color, p_o102649_hue, p_o102649_saturation, p_o102649_value)
|
||||
return Filter.adjust_hsv(color, p_o102649_hue, p_o102649_saturation, p_o102649_value)
|
||||
|
||||
func reffg():
|
||||
return false
|
||||
|
@ -2,7 +2,7 @@ tool
|
||||
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")
|
||||
var Filter = preload("res://addons/mat_maker_gd/nodes/common/filter.gd")
|
||||
var Shapes = preload("res://addons/mat_maker_gd/nodes/common/shapes.gd")
|
||||
|
||||
var image : Image
|
||||
@ -42,7 +42,7 @@ func gen() -> void:
|
||||
|
||||
var f : float = Shapes.shape_circle(v, 3, 1.0 * 1.0, 1.0)
|
||||
|
||||
f = Colors.grayscale_luminosity(Vector3(f, f, f));
|
||||
f = Filter.grayscale_luminosity(Vector3(f, f, f));
|
||||
|
||||
var c : Color = Color(f, f, f, 1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user