Fake contact shadow
three.js and WebGL · 3D · MIT
- What it does
A flat plane with a radial-gradient canvas texture under an object: grounds a floating thing with one draw call and no shadow map.
- Get it
new THREE.Mesh(new THREE.PlaneGeometry(2, 2), new THREE.MeshBasicMaterial({ map: radialGradientCanvasTexture, transparent: true, depthWrite: false }))
- Needs (the whole pack)
Nothing to read the skills. To run what they build: Node and npm, Python 3 for the helper scripts, and Chromium through Playwright for the inspector and tests. Optional and paid: Tripo, Gemini and ElevenLabs keys for the three generator skills.
- License
MIT
- From