mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
parent
7f1316236b
commit
41f7031e49
1 changed files with 1 additions and 1 deletions
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue