@zephyr3d/scene 0.9.20 → 0.9.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/camera/camera.js +208 -208
- package/dist/camera/camera.js.map +1 -1
- package/dist/posteffect/sss.js +8 -8
- package/dist/posteffect/sss.js.map +1 -1
- package/dist/render/lightpass.js +5 -1
- package/dist/render/lightpass.js.map +1 -1
- package/dist/render/rendergraph/forward_plus_builder.js +21 -6
- package/dist/render/rendergraph/forward_plus_builder.js.map +1 -1
- package/dist/render/shadow_mask_pass.js +39 -39
- package/dist/render/shadow_mask_pass.js.map +1 -1
- package/dist/utility/serialization/scene/camera.js.map +1 -1
- package/package.json +1 -1
package/dist/posteffect/sss.js
CHANGED
|
@@ -22,14 +22,14 @@ import { linearToGamma } from '../shaders/misc.js';
|
|
|
22
22
|
import { fetchSampler } from '../utility/misc.js';
|
|
23
23
|
import { AbstractPostEffect, PostEffectLayer } from './posteffect.js';
|
|
24
24
|
|
|
25
|
-
/**
|
|
26
|
-
* Screen-space subsurface scattering post effect.
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* Uses a depth/normal-aware separable blur driven by per-pixel SSS profiles
|
|
30
|
-
* written by skin materials during the main shading pass.
|
|
31
|
-
*
|
|
32
|
-
* @internal
|
|
25
|
+
/**
|
|
26
|
+
* Screen-space subsurface scattering post effect.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* Uses a depth/normal-aware separable blur driven by per-pixel SSS profiles
|
|
30
|
+
* written by skin materials during the main shading pass.
|
|
31
|
+
*
|
|
32
|
+
* @internal
|
|
33
33
|
*/ class SSS extends AbstractPostEffect {
|
|
34
34
|
static _profileLUTWidth = 256;
|
|
35
35
|
static _profileLUTHeight = 7;
|