Forced faded objects to double sided (without correct lighting for the moment)

This commit is contained in:
Olivier Prat 2017-07-04 17:45:32 +02:00
parent 704effc0a6
commit 45342a00fd

View file

@ -625,6 +625,7 @@ void FadeRenderJob::run(const render::RenderContextPointer& renderContext, const
render::ShapeKey::Builder defaultKeyBuilder;
defaultKeyBuilder.withFade();
defaultKeyBuilder.withoutCullFace();
gpu::doInBatch(args->_context, [&](gpu::Batch& batch) {
args->_batch = &batch;