mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #7234 from zzmp/fix/line3d-back-cull
Render line3d without backface culling
This commit is contained in:
commit
7bb87305d4
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