浏览代码

[shgraph] Tweaked nodes size

Clément Espeute 11 月之前
父节点
当前提交
5ed44c2b5d
共有 3 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      hrt/shgraph/nodes/Combine.hx
  2. 1 0
      hrt/shgraph/nodes/CombineAlpha.hx
  3. 1 0
      hrt/shgraph/nodes/StripAlpha.hx

+ 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 = {