X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fambientocclusion.h;h=704ddb25d8c0ed673455a765d39ba8ae64ef96be;hp=1866baee4eb57aeeb95c2fd32206f8c0ff8602c5;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hpb=c216893af147042e40c389e2530e71277c343044 diff --git a/source/ambientocclusion.h b/source/ambientocclusion.h index 1866baee..704ddb25 100644 --- a/source/ambientocclusion.h +++ b/source/ambientocclusion.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2010 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_AMBIENTOCCLUSION_H_ #define MSP_GL_AMBIENTOCCLUSION_H_ @@ -37,11 +30,11 @@ private: Program combine_shader; ProgramData combine_shdata; Mesh quad; - float darkness; public: AmbientOcclusion(unsigned, unsigned, float); + void set_depth_ratio(float); void set_darkness(float); virtual void render(const Texture2D &, const Texture2D &);