Przeglądaj źródła

[shgraph] Tweaked nodes size

Clément Espeute 11 miesięcy temu
rodzic
commit
5ed44c2b5d

+ 1 - 0
hrt/shgraph/nodes/Combine.hx

@@ -8,6 +8,7 @@ using hxsl.Ast;
 @name("Combine")
 @description("Create a vector of size 4 from 4 floats")
 @group("Channel")
+@width(80)
 class Combine extends ShaderNodeHxsl {
 
 	static var SRC = {

+ 1 - 0
hrt/shgraph/nodes/CombineAlpha.hx

@@ -8,6 +8,7 @@ using hxsl.Ast;
 @name("Combine Alpha")
 @description("Create a vector of size 4 from a RGB and an Alpha float")
 @group("Channel")
+@width(100)
 class CombineAlpha extends ShaderNodeHxsl {
 
 	static var SRC = {

+ 1 - 0
hrt/shgraph/nodes/StripAlpha.hx

@@ -5,6 +5,7 @@ using hxsl.Ast;
 @name("Strip Alpha")
 @description("Separate the rgb and a components of an rgba vector")
 @group("Channel")
+@width(100)
 class StripAlpha extends ShaderNodeHxsl {
 
 	static var SRC = {