Skip to content

Commit bdf4100

Browse files
committed
fix: in KHR_techniques_webgl, premultiplyAlpha of material default value should be false
1 parent ccc4b8f commit bdf4100

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/loader/GLTFExtensions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,11 @@ export const KHR_techniques_webgl = {
420420
needBasicUnifroms: false,
421421
needBasicAttributes: false,
422422
useHeaderCache: true,
423+
premultiplyAlpha: false,
423424
vs: vertexText,
424425
fs: fragmentText,
425426
attributes,
426-
uniforms
427+
uniforms,
427428
});
428429

429430
if (info.premultiplyAlpha !== undefined) {

0 commit comments

Comments
 (0)