mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 13:33:38 +02:00
Render line3d without backface culling
This commit is contained in:
parent
6c54faf664
commit
48aaac2971
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue