]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/ambientocclusion.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / effects / ambientocclusion.h
index efaa2f378b2be66282648d2855f602fcc1a59071..d055c6851e1aa362c4aaab1ea2fb8a3c91ef5662 100644 (file)
@@ -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();