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);