From: Mikko Rasa Date: Sat, 15 Jun 2019 12:20:44 +0000 (+0300) Subject: Use RED format for ambient occlusion render target X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=81e0e39fefd8f50ae2367fe821d58af6273bcea2;p=libs%2Fgl.git Use RED format for ambient occlusion render target --- diff --git a/source/ambientocclusion.cpp b/source/ambientocclusion.cpp index 49d71254..0079009b 100644 --- a/source/ambientocclusion.cpp +++ b/source/ambientocclusion.cpp @@ -12,7 +12,7 @@ namespace Msp { namespace GL { AmbientOcclusion::AmbientOcclusion(unsigned w, unsigned h, float): - occlude_target(w, h, (RENDER_COLOR,RGB)), + occlude_target(w, h, (RENDER_COLOR,RED)), occlude_shader("ambientocclusion_occlude.glsl"), combine_shader("ambientocclusion_combine.glsl"), quad(get_fullscreen_quad())