X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=builtin_data%2F_bloom_combine.glsl;fp=builtin_data%2F_bloom_combine.glsl;h=641459bec38b2379bf06c190632f4cf7fe39e3b0;hb=9a63244c1342337915c4610401a24c09fa72cc3d;hp=0000000000000000000000000000000000000000;hpb=73bef37da97b6da0b99227f63235cb52c4e56c44;p=libs%2Fgl.git diff --git a/builtin_data/_bloom_combine.glsl b/builtin_data/_bloom_combine.glsl new file mode 100644 index 00000000..641459be --- /dev/null +++ b/builtin_data/_bloom_combine.glsl @@ -0,0 +1,8 @@ +import postprocess; +import _bloom; + +#pragma MSP stage(fragment) +void main() +{ + frag_color = mix(texture(source, texcoord), texture(blurred, texcoord), strength); +}