Skip to content

Commit

Permalink
Avoid superluminant value in transparentCanvas (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Nov 14, 2024
1 parent dd985ca commit 3e6e458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/transparentCanvas/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const renderPassDescriptor: GPURenderPassDescriptor = {
{
view: undefined, // Assigned later

clearValue: [0.5, 0.5, 0.5, 0.0], // Clear alpha to 0
clearValue: [0, 0, 0, 0], // Clear alpha to 0
loadOp: 'clear',
storeOp: 'store',
},
Expand Down

0 comments on commit 3e6e458

Please sign in to comment.