AmbientOcclusion::AmbientOcclusion(Resources &resources, unsigned w, unsigned h, float):
occlude_target(w, h, (RENDER_COLOR,R8)),
- occlude_shader(resources.get<Program>("_ambientocclusion_occlude.glsl")),
- combine_shader(resources.get<Program>("_ambientocclusion_combine.glsl")),
+ occlude_shader(resources.get<Program>("_ambientocclusion_occlude.glsl.shader")),
+ combine_shader(resources.get<Program>("_ambientocclusion_combine.glsl.shader")),
quad(resources.get<Mesh>("_fullscreen_quad.mesh")),
linear_sampler(resources.get<Sampler>("_linear_clamp.samp")),
nearest_sampler(resources.get<Sampler>("_nearest_clamp.samp"))