Browse Source

fixed shader

Nicolas Cannasse 5 năm trước cách đây
mục cha
commit
3b6b84628a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      h3d/shader/AlphaMap.hx

+ 2 - 0
h3d/shader/AlphaMap.hx

@@ -5,6 +5,8 @@ class AlphaMap extends hxsl.Shader {
 	static var SRC = {
 		var calculatedUV : Vec2;
 		var pixelColor : Vec4;
+		@input var input : { uv : Vec2 };
+		
 		@param var texture : Sampler2D;
 		@param var uvScale : Vec2;
 		@param var uvDelta : Vec2;