Browse Source

Gradient Map shader

Clement Espeute 2 years ago
parent
commit
4cd6eef776
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hrt/shader/GradientMap.hx

+ 1 - 1
hrt/shader/GradientMap.hx

@@ -10,5 +10,5 @@ class GradientMap extends hxsl.Shader {
 			var t = USE_ALPHA ? pixelColor.a : dot(pixelColor.rgb*pixelColor.rgb, vec3(0.2126, 0.7152, 0.0722));
 			pixelColor.rgb = gradient.get(vec2(t, 0.5)).rgb;
 		}
-	}
+	};
 }