mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
spacing fix
This commit is contained in:
parent
31fe5fa953
commit
af0c0e6a1b
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ void RenderableParticleEffectEntityItem::createPipelines() {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//If we are sorting and have no additive blending, we want to discard pixels with low alpha to avoid inter-particle entity artifacts
|
//If we are sorting and have no additive blending, we want to discard pixels with low alpha to avoid inter-particle entity artifacts
|
||||||
fragShader = gpu::ShaderPointer(gpu::Shader::createPixel(std::string(textured_particle_alpha_discard_frag)));
|
fragShader = gpu::ShaderPointer(gpu::Shader::createPixel(std::string(textured_particle_alpha_discard_frag)));
|
||||||
}
|
}
|
||||||
auto program = gpu::ShaderPointer(gpu::Shader::createProgram(vertShader, fragShader));
|
auto program = gpu::ShaderPointer(gpu::Shader::createProgram(vertShader, fragShader));
|
||||||
_texturedPipeline = gpu::PipelinePointer(gpu::Pipeline::create(program, state));
|
_texturedPipeline = gpu::PipelinePointer(gpu::Pipeline::create(program, state));
|
||||||
|
|
Loading…
Reference in a new issue