From 81e0e39fefd8f50ae2367fe821d58af6273bcea2 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 15 Jun 2019 15:20:44 +0300 Subject: [PATCH] Use RED format for ambient occlusion render target --- source/ambientocclusion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- 2.43.0