Skip to content

Commit

Permalink
fix: in KHR_techniques_webgl, premultiplyAlpha of material default va…
Browse files Browse the repository at this point in the history
…lue should be false
  • Loading branch information
06wj committed Mar 24, 2022
1 parent ccc4b8f commit bdf4100
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/loader/GLTFExtensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,11 @@ export const KHR_techniques_webgl = {
needBasicUnifroms: false,
needBasicAttributes: false,
useHeaderCache: true,
premultiplyAlpha: false,
vs: vertexText,
fs: fragmentText,
attributes,
uniforms
uniforms,
});

if (info.premultiplyAlpha !== undefined) {
Expand Down

0 comments on commit bdf4100

Please sign in to comment.