X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbloom.cpp;h=6484d052fdb2691b80747cd3965bc2925a799517;hp=e00fd0e149bc0c8bc5ad9c74d0a13522c2124d76;hb=38ef46bd5cf01ad6d33246b52839ffde2faa3367;hpb=6ac405143184ff9f8e8114183a2d8f7b224d2779 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);