X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Feffects%2Fambientocclusion.cpp;h=bae5e780d1b08c64ea538aa3cd991310044b4277;hp=e5de04b4846eebf5fe5ff24569e637f1760ce4ee;hb=dccad64b2ec82249d850b9745614042171499972;hpb=ede0bc3f5c7124ef100576ad4b0890c9cd13c79d diff --git a/source/effects/ambientocclusion.cpp b/source/effects/ambientocclusion.cpp index e5de04b4..bae5e780 100644 --- a/source/effects/ambientocclusion.cpp +++ b/source/effects/ambientocclusion.cpp @@ -14,8 +14,8 @@ namespace GL { AmbientOcclusion::AmbientOcclusion(Resources &resources, unsigned w, unsigned h, float): occlude_target(w, h, (RENDER_COLOR,R8)), - occlude_shader(resources.get("_ambientocclusion_occlude.glsl")), - combine_shader(resources.get("_ambientocclusion_combine.glsl")), + occlude_shader(resources.get("_ambientocclusion_occlude.glsl.shader")), + combine_shader(resources.get("_ambientocclusion_combine.glsl.shader")), quad(resources.get("_fullscreen_quad.mesh")), linear_sampler(resources.get("_linear_clamp.samp")), nearest_sampler(resources.get("_nearest_clamp.samp"))