};
private:
- Texture2D rotate_lookup;
+ const Texture2D &rotate_lookup;
RenderTarget occlude_target;
const Program &occlude_shader;
const Program &combine_shader;
AmbientOcclusion(unsigned, unsigned, float = 1.0f);
private:
+ static const Texture2D &get_or_create_rotate_lookup();
static float random(unsigned &);
public: