X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fambientocclusion.h;h=ff1e82443c972bb7d8fee12bf011aa2e3b3e9ea9;hb=68488043ee491d117477a458f876e0d3f78e146e;hp=e7829c181dce39bce8c74f69a631a56fcc9990b0;hpb=9f5f027d1c93e541a12b8e4c04bd25b11edbe132;p=libs%2Fgl.git diff --git a/source/ambientocclusion.h b/source/ambientocclusion.h index e7829c18..ff1e8244 100644 --- a/source/ambientocclusion.h +++ b/source/ambientocclusion.h @@ -32,6 +32,7 @@ public: unsigned n_samples; float occlusion_radius; float darkness; + float edge_depth_threshold; Template(); @@ -56,9 +57,7 @@ private: public: void set_n_samples(unsigned); void set_occlusion_radius(float); - - // Deprecated - void set_depth_ratio(float); + void set_edge_depth_threshold(float); void set_darkness(float);