X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fambientocclusion.h;h=b0030c5917d56e0c785600d336517448bf0cb805;hb=e03a752116ab28283bf89dddf1228804cc853a7b;hp=25fab5c9f23952df4ce0516d77ac2a6993e3b0ab;hpb=9a63244c1342337915c4610401a24c09fa72cc3d;p=libs%2Fgl.git diff --git a/source/effects/ambientocclusion.h b/source/effects/ambientocclusion.h index 25fab5c9..b0030c59 100644 --- a/source/effects/ambientocclusion.h +++ b/source/effects/ambientocclusion.h @@ -8,7 +8,6 @@ #include "programdata.h" #include "rendertarget.h" #include "texture2d.h" -#include "texturing.h" namespace Msp { namespace GL { @@ -36,13 +35,12 @@ public: Template(); - virtual AmbientOcclusion *create(Resources &, unsigned, unsigned) const; + virtual AmbientOcclusion *create(unsigned, unsigned) const; }; private: Texture2D rotate_lookup; RenderTarget occlude_target; - Texturing texturing; const Program &occlude_shader; const Program &combine_shader; mutable ProgramData shdata; @@ -51,7 +49,7 @@ private: const Sampler &nearest_sampler; public: - AmbientOcclusion(Resources &, unsigned, unsigned, float = 1.0f); + AmbientOcclusion(unsigned, unsigned, float = 1.0f); private: static float random(unsigned &);