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/?p=libs%2Fgl.git;a=commitdiff_plain;h=81e0e39fefd8f50ae2367fe821d58af6273bcea2;hp=7e67337718b38e23a24172806b23c744f5dc58fe 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())