Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ jobs:
run: pnpm install-test --frozen-lockfile
- name: Publish
uses: JS-DevTools/npm-publish@v4
id: publish
with:
provenance: true
ignore-scripts: true
- if: ${{ steps.publish.outputs.type }}
run: echo "Version changed!"
- name: Pages
run: pnpm run deploy
- uses: JamesIves/github-pages-deploy-action@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
version: 10
- name: Install Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 24
cache: "pnpm"
Expand Down
4 changes: 0 additions & 4 deletions demo/src/demos/objects/Sponza.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export function createLights(shadowCameraHelper = false) {
directionalLight.castShadow = true;
directionalLight.shadow.mapSize.width = 2048;
directionalLight.shadow.mapSize.height = 2048;
directionalLight.shadow.bias = 0.001;
directionalLight.shadow.normalBias = 0.02;
directionalLight.shadow.camera.top = 20;
directionalLight.shadow.camera.right = 20;
directionalLight.shadow.camera.bottom = -20;
Expand All @@ -37,13 +35,11 @@ export function createLights(shadowCameraHelper = false) {

directionalLight.shadow.mapSize.width = 512;
directionalLight.shadow.mapSize.height = 512;
directionalLight.shadow.normalBias = 0.1;

} else if(window.innerWidth < 1280) {

directionalLight.shadow.mapSize.width = 1024;
directionalLight.shadow.mapSize.height = 1024;
directionalLight.shadow.normalBias = 0.033;

}

Expand Down
4 changes: 2 additions & 2 deletions demo/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
HalfFloatType,
PCFSoftShadowMap,
PCFShadowMap,
SRGBColorSpace,
Vector3,
WebGLRenderer
Expand Down Expand Up @@ -45,7 +45,7 @@ window.addEventListener("load", (event) => {
renderer.debug.checkShaderErrors = debug;
renderer.setSize(viewport.clientWidth, viewport.clientHeight);
renderer.setClearColor(0x000000, 0.0);
renderer.shadowMap.type = PCFSoftShadowMap;
renderer.shadowMap.type = PCFShadowMap;
renderer.shadowMap.autoUpdate = false;
renderer.shadowMap.needsUpdate = true;
renderer.shadowMap.enabled = true;
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postprocessing",
"version": "6.38.0",
"version": "6.38.1",
"description": "A post processing library for three.js.",
"homepage": "https://github.com/pmndrs/postprocessing",
"license": "Zlib",
Expand Down Expand Up @@ -90,11 +90,11 @@
"watch:js": "node esbuild -w"
},
"peerDependencies": {
"three": ">= 0.157.0 < 0.182.0"
"three": ">= 0.157.0 < 0.183.0"
},
"devDependencies": {
"@tweakpane/core": "2.x.x",
"@types/node": "24.x.x",
"@types/node": "25.x.x",
"@types/three": "0.x.x",
"@typescript-eslint/eslint-plugin": "8.x.x",
"@typescript-eslint/parser": "8.x.x",
Expand All @@ -104,7 +104,7 @@
"cssnano": "7.x.x",
"dat.gui": "0.x.x",
"del-cli": "7.x.x",
"esbuild": "0.25.x",
"esbuild": "0.27.x",
"esbuild-plugin-glsl": "1.x.x",
"esdoc": "1.x.x",
"esdoc-importpath-plugin": "1.x.x",
Expand Down
Loading