Shadow maps - Casting shadows on transparent plane
See original GitHub issueHi,
I need to cast shadows on a transparent plane in order to get only the shadow shown and not the material applied to the plane (I want it fully transparent). Is this possible in three.js? I am using THREE.SpotLight as light source.
As a workaround solution I think I could apply a fully transparent texture map as a material and see if works as expected but was wondering if I could manage to get this effect just tweaking standard material properties.
Thanks
Issue Analytics
- State:
- Created 11 years ago
- Comments:28 (10 by maintainers)
Top Results From Across the Web
Unity test - Casting shadows to an invisible plane (for VR/AR)
Unity test - Casting shadows to an invisible plane (for VR/AR) ... [廣東話] Unity Shader Basic 008 - Shadow Map [簡單黎講 C++].
Read more >Transparent Plane Still Casts Shadow - Blender Stack Exchange
No, transparent shadows are enabled on both planes. ... (not internal) & everything started working...only the man was casting a shadow.
Read more >shadow on the plane, everything else to be transparent? how ...
yes the plane should be transparent, just shadow to be visible ... Oh and obviously the plane should be set to receive but...
Read more >Rendering shadows from plane with partially transparent ...
If you add a small cube in front of your WebLayer3D, it correctly casts shadows on rendered DOM layers: //in app.ts just after...
Read more >CS307: Shadows and Anti-Aliasing
Plan. Shadows. why are shadows important? shadow maps; adding shadows in Three.js. Exercise: mystery objects casting shadows ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

As of
r77ShadowMaterialis now in core.Try
THREE.ShadowMaterial(). See this stackoverflow post.