X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fambientocclusion.h;h=d055c6851e1aa362c4aaab1ea2fb8a3c91ef5662;hb=ae423e6ef278388f92802fbae34b1c7ec339292f;hp=efaa2f378b2be66282648d2855f602fcc1a59071;hpb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;p=libs%2Fgl.git diff --git a/source/effects/ambientocclusion.h b/source/effects/ambientocclusion.h index efaa2f37..d055c685 100644 --- a/source/effects/ambientocclusion.h +++ b/source/effects/ambientocclusion.h @@ -11,7 +11,7 @@ namespace GL { class Program; /** -Implements screen-space ambient occlusion. +Darkens recessed areas of the scene to simulate the occlusion of ambient light. http://en.wikipedia.org/wiki/Screen_Space_Ambient_Occlusion */ @@ -46,7 +46,7 @@ private: const Sampler &nearest_sampler; public: - AmbientOcclusion(unsigned, unsigned, float = 1.0f); + AmbientOcclusion(unsigned, unsigned); private: static const Texture2D &get_or_create_rotate_lookup();