]> git.tdb.fi Git - libs/gl.git/blobdiff - builtin_data/_bloom_combine.glsl
Load various built-in things through Resources
[libs/gl.git] / builtin_data / _bloom_combine.glsl
diff --git a/builtin_data/_bloom_combine.glsl b/builtin_data/_bloom_combine.glsl
new file mode 100644 (file)
index 0000000..641459b
--- /dev/null
@@ -0,0 +1,8 @@
+import postprocess;
+import _bloom;
+
+#pragma MSP stage(fragment)
+void main()
+{
+       frag_color = mix(texture(source, texcoord), texture(blurred, texcoord), strength);
+}