Render line3d without backface culling

This commit is contained in:
Zach Pomerantz 2016-03-01 14:57:02 -08:00
parent 6c54faf664
commit 48aaac2971

View file

@ -64,7 +64,7 @@ void Line3DOverlay::render(RenderArgs* args) {
} }
const render::ShapeKey Line3DOverlay::getShapeKey() { const render::ShapeKey Line3DOverlay::getShapeKey() {
auto builder = render::ShapeKey::Builder(); auto builder = render::ShapeKey::Builder().withoutCullFace();
if (getAlpha() != 1.0f) { if (getAlpha() != 1.0f) {
builder.withTranslucent(); builder.withTranslucent();
} }