Fix reduced bloom at 10 bits

forgotten in eb8beb335e
This commit is contained in:
sfan5 2025-01-08 10:56:28 +01:00 committed by GitHub
parent 7f1316236b
commit 41f7031e49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -196,7 +196,7 @@ RenderStep *addPostProcessing(RenderPipeline *pipeline, RenderStep *previousStep
}
if (enable_volumetric_light) {
buffer->setTexture(TEXTURE_VOLUME, scale, "volume", color_format);
buffer->setTexture(TEXTURE_VOLUME, scale, "volume", bloom_format);
shader_id = client->getShaderSource()->getShaderRaw("volumetric_light");
auto volume = pipeline->addStep<PostProcessingStep>(shader_id, std::vector<u8> { source, TEXTURE_DEPTH });