X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbloom.cpp;h=6484d052fdb2691b80747cd3965bc2925a799517;hb=16a9d75c8e124a0faf89c56533792cb97a214e37;hp=e00fd0e149bc0c8bc5ad9c74d0a13522c2124d76;hpb=18240e2bb031551e9c72a55c7d974904d209760a;p=libs%2Fgl.git diff --git a/source/bloom.cpp b/source/bloom.cpp index e00fd0e1..6484d052 100644 --- a/source/bloom.cpp +++ b/source/bloom.cpp @@ -23,6 +23,7 @@ Bloom::Bloom(unsigned w, unsigned h): for(unsigned i=0; i<2; ++i) target[i] = new RenderTarget(w, h, (RENDER_COLOR,RGB16F)); + target[1]->set_texture_filter(LINEAR); common_shdata.uniform("source", 0); common_shdata.uniform("blurred", 1);