mirror of
https://github.com/minetest/minetest.git
synced 2025-03-13 13:52:35 +01:00
Fix reduced bloom at 10 bits
forgotten in eb8beb335e30ba6e3a35a56ace665ec59cd840dd
This commit is contained in:
@ -196,7 +196,7 @@ RenderStep *addPostProcessing(RenderPipeline *pipeline, RenderStep *previousStep
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (enable_volumetric_light) {
|
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");
|
shader_id = client->getShaderSource()->getShaderRaw("volumetric_light");
|
||||||
auto volume = pipeline->addStep<PostProcessingStep>(shader_id, std::vector<u8> { source, TEXTURE_DEPTH });
|
auto volume = pipeline->addStep<PostProcessingStep>(shader_id, std::vector<u8> { source, TEXTURE_DEPTH });
|
||||||
|
Reference in New Issue
Block a user