Skip to content

Commit

Permalink
enhance preview
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperVi committed Aug 31, 2019
1 parent 87b362a commit 5de026d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Scene.elm
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ cellsToWebGLEntetiesAlpha alpha isStaticCamera model cells =
[]

[ x ] ->
[ WebGL.entityWith [ add dstColor srcColor, default ]
[ WebGL.entityWith [ add dstColor oneMinusDstAlpha, default ]
vertexShader
fragmentShader
(cellToMesh x)
Expand All @@ -278,7 +278,7 @@ cellsToWebGLEntetiesAlpha alpha isStaticCamera model cells =

x :: xs ->
concat
[ [ WebGL.entityWith [ add dstColor srcColor, default ]
[ [ WebGL.entityWith [ add dstColor oneMinusDstAlpha, default ]
vertexShader
fragmentShader
(cellToMesh x)
Expand Down

0 comments on commit 5de026d

Please sign in to comment.