Merge pull request #7234 from zzmp/fix/line3d-back-cull

Render line3d without backface culling
This commit is contained in:
Brad Hefta-Gaub 2016-03-03 17:16:54 -08:00
commit 7bb87305d4

View file

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