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

WebGPURenderer: Add webgpu_shadowmap_opacity #28973

Merged
merged 5 commits into from
Jul 26, 2024

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Jul 25, 2024

Description

This example shows how to have shadows with individual colors and opacity per material.

image

@sunag sunag added this to the r168 milestone Jul 25, 2024
Copy link

github-actions bot commented Jul 25, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
684 kB (169.4 kB) 684 kB (169.4 kB) +0 B

🌳 Bundle size after tree-shaking

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

Filesize dev Filesize PR Diff
460.9 kB (111.2 kB) 460.9 kB (111.2 kB) +0 B

@sunag sunag marked this pull request as ready for review July 26, 2024 02:45
@sunag sunag merged commit 8c02ecd into mrdoob:dev Jul 26, 2024
12 checks passed
@sunag sunag deleted the dev-shadowmap-opacity branch July 26, 2024 02:50
brunosimon pushed a commit to brunosimon/three.js that referenced this pull request Jul 28, 2024
* Example: Update `webgpu_mrt_mask` imports

* WebGPURenderer: Add `webgpu_shadowmap_opacity`

* update imports
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.

1 participant