Skip to content

Commit de23dac

Browse files
committed
Updated builds.
1 parent b0cd8c8 commit de23dac

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

build/three.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/three.module.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/three.module.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.webgpu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23123,7 +23123,7 @@ const V_GGX_SmithCorrelated_Anisotropic = /*@__PURE__*/ Fn( ( { alphaT, alphaB,
2312323123
const gl = dotNV.mul( vec3( alphaT.mul( dotTL ), alphaB.mul( dotBL ), dotNL ).length() );
2312423124
const v = div( 0.5, gv.add( gl ) );
2312523125

23126-
return v.saturate();
23126+
return v;
2312723127

2312823128
} ).setLayout( {
2312923129
name: 'V_GGX_SmithCorrelated_Anisotropic',
@@ -24402,7 +24402,7 @@ class PhysicalLightingModel extends LightingModel {
2440224402
// Diffuse energy conservation uses dielectric path
2440324403
const totalScatteringDielectric = singleScatteringDielectric.add( multiScatteringDielectric );
2440424404

24405-
const diffuse = diffuseContribution.mul( totalScatteringDielectric.r.max( totalScatteringDielectric.g ).max( totalScatteringDielectric.b ).oneMinus() );
24405+
const diffuse = diffuseContribution.mul( totalScatteringDielectric.oneMinus() );
2440624406

2440724407
const cosineWeightedIrradiance = iblIrradiance.mul( 1 / Math.PI );
2440824408

build/three.webgpu.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.webgpu.nodes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23123,7 +23123,7 @@ const V_GGX_SmithCorrelated_Anisotropic = /*@__PURE__*/ Fn( ( { alphaT, alphaB,
2312323123
const gl = dotNV.mul( vec3( alphaT.mul( dotTL ), alphaB.mul( dotBL ), dotNL ).length() );
2312423124
const v = div( 0.5, gv.add( gl ) );
2312523125

23126-
return v.saturate();
23126+
return v;
2312723127

2312823128
} ).setLayout( {
2312923129
name: 'V_GGX_SmithCorrelated_Anisotropic',
@@ -24402,7 +24402,7 @@ class PhysicalLightingModel extends LightingModel {
2440224402
// Diffuse energy conservation uses dielectric path
2440324403
const totalScatteringDielectric = singleScatteringDielectric.add( multiScatteringDielectric );
2440424404

24405-
const diffuse = diffuseContribution.mul( totalScatteringDielectric.r.max( totalScatteringDielectric.g ).max( totalScatteringDielectric.b ).oneMinus() );
24405+
const diffuse = diffuseContribution.mul( totalScatteringDielectric.oneMinus() );
2440624406

2440724407
const cosineWeightedIrradiance = iblIrradiance.mul( 1 / Math.PI );
2440824408

build/three.webgpu.nodes.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)