Skip to content

Commit dce9091

Browse files
authored
Merge pull request #734 from pmndrs/dev
Version 6.38.1
2 parents 4bb4d9b + 6f40279 commit dce9091

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+666
-574
lines changed

.github/workflows/cd.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,9 @@ jobs:
3030
run: pnpm install-test --frozen-lockfile
3131
- name: Publish
3232
uses: JS-DevTools/npm-publish@v4
33-
id: publish
3433
with:
3534
provenance: true
3635
ignore-scripts: true
37-
- if: ${{ steps.publish.outputs.type }}
38-
run: echo "Version changed!"
3936
- name: Pages
4037
run: pnpm run deploy
4138
- uses: JamesIves/github-pages-deploy-action@v4

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
version: 10
1919
- name: Install Node
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v6
2121
with:
2222
node-version: 24
2323
cache: "pnpm"

demo/src/demos/objects/Sponza.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ export function createLights(shadowCameraHelper = false) {
2525
directionalLight.castShadow = true;
2626
directionalLight.shadow.mapSize.width = 2048;
2727
directionalLight.shadow.mapSize.height = 2048;
28-
directionalLight.shadow.bias = 0.001;
29-
directionalLight.shadow.normalBias = 0.02;
3028
directionalLight.shadow.camera.top = 20;
3129
directionalLight.shadow.camera.right = 20;
3230
directionalLight.shadow.camera.bottom = -20;
@@ -37,13 +35,11 @@ export function createLights(shadowCameraHelper = false) {
3735

3836
directionalLight.shadow.mapSize.width = 512;
3937
directionalLight.shadow.mapSize.height = 512;
40-
directionalLight.shadow.normalBias = 0.1;
4138

4239
} else if(window.innerWidth < 1280) {
4340

4441
directionalLight.shadow.mapSize.width = 1024;
4542
directionalLight.shadow.mapSize.height = 1024;
46-
directionalLight.shadow.normalBias = 0.033;
4743

4844
}
4945

demo/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {
22
HalfFloatType,
3-
PCFSoftShadowMap,
3+
PCFShadowMap,
44
SRGBColorSpace,
55
Vector3,
66
WebGLRenderer
@@ -45,7 +45,7 @@ window.addEventListener("load", (event) => {
4545
renderer.debug.checkShaderErrors = debug;
4646
renderer.setSize(viewport.clientWidth, viewport.clientHeight);
4747
renderer.setClearColor(0x000000, 0.0);
48-
renderer.shadowMap.type = PCFSoftShadowMap;
48+
renderer.shadowMap.type = PCFShadowMap;
4949
renderer.shadowMap.autoUpdate = false;
5050
renderer.shadowMap.needsUpdate = true;
5151
renderer.shadowMap.enabled = true;

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postprocessing",
3-
"version": "6.38.0",
3+
"version": "6.38.1",
44
"description": "A post processing library for three.js.",
55
"homepage": "https://github.com/pmndrs/postprocessing",
66
"license": "Zlib",
@@ -90,11 +90,11 @@
9090
"watch:js": "node esbuild -w"
9191
},
9292
"peerDependencies": {
93-
"three": ">= 0.157.0 < 0.182.0"
93+
"three": ">= 0.157.0 < 0.183.0"
9494
},
9595
"devDependencies": {
9696
"@tweakpane/core": "2.x.x",
97-
"@types/node": "24.x.x",
97+
"@types/node": "25.x.x",
9898
"@types/three": "0.x.x",
9999
"@typescript-eslint/eslint-plugin": "8.x.x",
100100
"@typescript-eslint/parser": "8.x.x",
@@ -104,7 +104,7 @@
104104
"cssnano": "7.x.x",
105105
"dat.gui": "0.x.x",
106106
"del-cli": "7.x.x",
107-
"esbuild": "0.25.x",
107+
"esbuild": "0.27.x",
108108
"esbuild-plugin-glsl": "1.x.x",
109109
"esdoc": "1.x.x",
110110
"esdoc-importpath-plugin": "1.x.x",

0 commit comments

Comments
 (0)