- occlude_shader("ambientocclusion_occlude.glsl"),
- combine_shader("ambientocclusion_combine.glsl"),
- quad(get_fullscreen_quad()),
- linear_sampler(get_linear_sampler()),
- nearest_sampler(get_nearest_sampler())
+ 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"))