google / google/model-viewer

Hidden materials via variants with (blendMode, alphaFactor) still cast/receive shadows

Open
#5,120 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.2k
Forks
947
PR merge metrics
No merged PRs in 30d

Description

**Problem**
When hiding materials via alpha (alphaMode=BLEND, alphaFactor=0), the geometry still casts shadows and may receive shadows.

**Result**
“ghost” shadows remain visible even though the material is transparent.

**Goal**
When material is considered hiding disable cast/receive shadows for all meshes hided.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.