X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fambientocclusion.cpp;h=2378bcc78cb323e21439b01c601c8f5590a4ab3c;hp=91e10ad7a4f33f4325cc12762fe65a5e2e347148;hb=9319f1c8ed99866966f20fbab952da673af2257e;hpb=40e1eba6c489e11a4c9b8865ddcd3ec3d9f83818 diff --git a/source/ambientocclusion.cpp b/source/ambientocclusion.cpp index 91e10ad7..2378bcc7 100644 --- a/source/ambientocclusion.cpp +++ b/source/ambientocclusion.cpp @@ -21,7 +21,7 @@ AmbientOcclusion::AmbientOcclusion(unsigned w, unsigned h, float): texturing.attach(2, occlude_target.get_target_texture(RENDER_COLOR)); unsigned seed = 1; - rotate_lookup.storage(RGBA, 4, 4); + rotate_lookup.storage(RGBA, 4, 4, 1); rotate_lookup.set_filter(NEAREST); unsigned char data[64]; for(unsigned i=0; i<16; ++i)