Skip to content

Commit 7f30f58

Browse files
committed
Removed blend modes
1 parent 7412ceb commit 7f30f58

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/renderer.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,20 +166,7 @@ export default class Renderer {
166166

167167
// 🌀 Color/Blend State
168168
const colorState: GPUColorTargetState = {
169-
format: 'bgra8unorm',
170-
blend: {
171-
alpha: {
172-
srcFactor: 'src-alpha',
173-
dstFactor: 'one-minus-src-alpha',
174-
operation: 'add'
175-
},
176-
color: {
177-
srcFactor: 'src-alpha',
178-
dstFactor: 'one-minus-src-alpha',
179-
operation: 'add'
180-
}
181-
},
182-
writeMask: GPUColorWrite.ALL
169+
format: 'bgra8unorm'
183170
};
184171

185172
const fragment: GPUFragmentState = {

0 commit comments

Comments
 (0)