Browse Source

fixed shader

Nicolas Cannasse 4 years ago
parent
commit
3b6b84628a
1 changed files with 2 additions and 0 deletions
  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;