Skip to content

Commit

Permalink
Merge pull request #12623 from sebavan/LinesVertexAlpha
Browse files Browse the repository at this point in the history
Fix Lines vertex alpha
  • Loading branch information
sebavan committed Jun 1, 2022
2 parents 8ce055e + e0d1212 commit 4fb4d18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/dev/core/src/Meshes/linesMesh.ts
Expand Up @@ -97,6 +97,8 @@ export class LinesMesh extends Mesh {

if (useVertexAlpha === false) {
options.needAlphaBlending = false;
} else {
options.defines.push("#define VERTEXALPHA");
}

if (!useVertexColor) {
Expand Down

0 comments on commit 4fb4d18

Please sign in to comment.