Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LightShadow: Add intensity. #28588

Merged
merged 3 commits into from
Jun 9, 2024
Merged

LightShadow: Add intensity. #28588

merged 3 commits into from
Jun 9, 2024

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jun 8, 2024

Related issue: #14087 (comment)

Description

This PR is based on #14087 and adds a new property intensity to LightShadow which allows to modulate the intensity of a shadow for artistic purposes.

Support is added to both WebGLRenderer and WebGPURenderer.

@Mugen87 Mugen87 added this to the r166 milestone Jun 8, 2024
Copy link

github-actions bot commented Jun 8, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
678.6 kB (168.3 kB) 679.4 kB (168.4 kB) +822 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
456.7 kB (110.3 kB) 457.4 kB (110.4 kB) +660 B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant