Skip to content

Change default shadow map type to PCFShadowMap#3748

Open
vHeemstra wants to merge 2 commits into
pmndrs:masterfrom
vHeemstra:patch-1
Open

Change default shadow map type to PCFShadowMap#3748
vHeemstra wants to merge 2 commits into
pmndrs:masterfrom
vHeemstra:patch-1

Conversation

@vHeemstra
Copy link
Copy Markdown

@vHeemstra vHeemstra commented May 1, 2026

The default shadow map should not be PCFSoftShadowMap, since it's deprecated, use PCFShadowMap instead.

This change prevents unintentional use of the deprecated shadow map and getting the warning:
THREE.WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead.

If people want, they can still explicitly use the deprecated shadow map (if still available).

Note: Maybe remove the soft key from possible types as well? Or in the future?

Fixes #3749

The default shadow map should not be `PCFSoftShadowMap`, since it's deprecated, use `PCFShadowMap` instead.

This change prevents unintentional use of the deprecated shadow map and getting the warning: `THREE.WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead.`
@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci Bot commented May 1, 2026

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e62a407:

Sandbox Source
example Configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

THREE.PCFSoftShadowMap is deprecated. Use PCFShadowMap instead.

1 participant