update to godot 4.4.1
This commit is contained in:
parent
a843b9bdb8
commit
13aee5255b
3 changed files with 6 additions and 7 deletions
|
@ -12,7 +12,7 @@ config_version=5
|
|||
|
||||
config/name="ArtNetTest"
|
||||
run/main_scene="res://scenes/main.tscn"
|
||||
config/features=PackedStringArray("4.3", "Forward Plus")
|
||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
[display]
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://dafh3tlcmos4p"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/artnet.gd" id="1_hsiae"]
|
||||
[ext_resource type="Script" uid="uid://bgpsbsunf8fwf" path="res://scripts/artnet.gd" id="1_hsiae"]
|
||||
[ext_resource type="Texture2D" uid="uid://buuvoh3jf0f52" path="res://sprites/cross.png" id="2_vgkya"]
|
||||
[ext_resource type="Script" path="res://scripts/dmx_movinghead.gd" id="3_he00n"]
|
||||
[ext_resource type="Script" uid="uid://cpncgkw0ns8ry" path="res://scripts/dmx_movinghead.gd" id="3_he00n"]
|
||||
[ext_resource type="Texture2D" uid="uid://glyt8h1eag1u" path="res://sprites/pixel.png" id="3_qvw8c"]
|
||||
[ext_resource type="Script" path="res://scripts/dmx_color.gd" id="4_velje"]
|
||||
[ext_resource type="Script" uid="uid://b0qusiobeu8d4" path="res://scripts/dmx_color.gd" id="4_velje"]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
|
@ -20,7 +20,7 @@ artnet = NodePath("../ArtNet")
|
|||
channel_offset = 100
|
||||
|
||||
[node name="ColorRect" type="Sprite2D" parent="." node_paths=PackedStringArray("artnet")]
|
||||
modulate = Color(0.862745, 0.898039, 0.603922, 1)
|
||||
modulate = Color(1, 0.760784, 0, 1)
|
||||
position = Vector2(162.125, 549.375)
|
||||
scale = Vector2(283.75, 328.75)
|
||||
texture = ExtResource("3_qvw8c")
|
||||
|
|
|
@ -3,7 +3,6 @@ extends Node2D
|
|||
@export var artnet:Node
|
||||
|
||||
@export_range(0,255,1) var master = 255
|
||||
@export_range(0,1,0.01) var q = 1.0
|
||||
|
||||
@export_range(1,512,1) var channel_offset=1
|
||||
|
||||
|
@ -40,7 +39,7 @@ func _process(delta: float) -> void:
|
|||
rgb = matrixSubtract(rgb,matrixMult(colormix[cmixsums_min],colormix_min))
|
||||
values[cmixsums_min]+=colormix_min
|
||||
|
||||
print("Result color mix:"+str(values)+" passes="+str(passes)+ " remaining error="+str(rgb[0]+rgb[1]+rgb[2]))
|
||||
#print("Result color mix:"+str(values)+" passes="+str(passes)+ " remaining error="+str(rgb[0]+rgb[1]+rgb[2]))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue