Clement Espeute преди 1 година
родител
ревизия
4a95e4f2b6
променени са 1 файла, в които са добавени 16 реда и са изтрити 0 реда
  1. 16 0
      hrt/shgraph/nodes/test/CalculatedUVNode.hx

+ 16 - 0
hrt/shgraph/nodes/test/CalculatedUVNode.hx

@@ -0,0 +1,16 @@
+package hrt.shgraph.nodes.test;
+
+@name("Calculated UV")
+@description("Testing only")
+@width(80)
+@group("Misc")
+class CalculatedUVNode extends ShaderNodeHxsl {
+
+	static var SRC = {
+		@input var uv : Vec2;
+		@sgoutput var output : Vec4;
+		function fragment() {
+			output = vec4(uv, 0.0,0.0);
+		}
+	}
+}