From b6e655d96b1c6fe15341b71960f8b8f35bcc3ea0 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Wed, 21 Oct 2020 01:39:13 -0400 Subject: [PATCH] CThermalHotFilter: Configuration fixes --- Runtime/Graphics/Shaders/CThermalHotFilter.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Runtime/Graphics/Shaders/CThermalHotFilter.cpp b/Runtime/Graphics/Shaders/CThermalHotFilter.cpp index b161f47e7..87fffead9 100644 --- a/Runtime/Graphics/Shaders/CThermalHotFilter.cpp +++ b/Runtime/Graphics/Shaders/CThermalHotFilter.cpp @@ -10,13 +10,15 @@ namespace urde { using namespace hsh::pipeline; struct CThermalHotFilterPipeline -: pipeline, +: pipeline, + ERglBlendModeAttachment, depth_write> { CThermalHotFilterPipeline(hsh::vertex_buffer vbo, hsh::uniform_buffer ubo, hsh::render_texture2d sceneTex, hsh::texture2d paletteTex) { - static hsh::float4 kRGBToYPrime = {0.257f, 0.504f, 0.098f, 0.f}; + // FIXME hsh bug: cannot be const or static + hsh::float4 kRGBToYPrime = {0.257f, 0.504f, 0.098f, 0.f}; this->position = hsh::float4(vbo->m_pos, 0.f, 1.f);