]> git.tdb.fi Git - libs/gl.git/blobdiff - source/ambientocclusion.h
Make ambient occlusion edge detection threshold adjustable
[libs/gl.git] / source / ambientocclusion.h
index e7829c181dce39bce8c74f69a631a56fcc9990b0..419189942fad13e4b48b9223ef09bce0dc214233 100644 (file)
@@ -32,6 +32,7 @@ public:
                unsigned n_samples;
                float occlusion_radius;
                float darkness;
+               float edge_depth_threshold;
 
                Template();
 
@@ -56,6 +57,7 @@ private:
 public:
        void set_n_samples(unsigned);
        void set_occlusion_radius(float);
+       void set_edge_depth_threshold(float);
 
        // Deprecated
        void set_depth_ratio(float);