X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fsky.h;fp=source%2Feffects%2Fsky.h;h=5cc7bdaa668a6d6935be713f890f9c20991fc891;hb=bb4638a8470b0be2f960709368ec0d360a64f8ac;hp=eb4f618d9607569bcdb32a9151a44ebf7442d8bd;hpb=55e3f2d494d939280a4ea48676fd17ca2342b457;p=libs%2Fgl.git diff --git a/source/effects/sky.h b/source/effects/sky.h index eb4f618d..5cc7bdaa 100644 --- a/source/effects/sky.h +++ b/source/effects/sky.h @@ -4,7 +4,7 @@ #include "effect.h" #include "framebuffer.h" #include "programdata.h" -#include "texture2d.h" +#include "rendertarget.h" namespace Msp { namespace GL { @@ -42,13 +42,11 @@ public: private: const Light &sun; - Texture2D transmittance_lookup; + RenderTarget transmittance_lookup; const Program &transmittance_shprog; - Framebuffer transmittance_fbo; bool transmittance_lookup_dirty; - Texture2D distant; + RenderTarget distant; const Program &distant_shprog; - Framebuffer distant_fbo; const Mesh &fullscreen_mesh; const Program &backdrop_shprog; const Sampler &sampler;