Sundial gives one directional light a paged shadow map: 128x128 pages in one depth pool, allocated by a compute pass that reads camera depth each frame. A static page is drawn once and kept, so a still scene stays cheap to shadow. MIT, on npm. #threejs #webgpu
discourse.threejs.orgSundial: paged (virtual) sun shadows for three.js WebGPURenderer, MIT, on npmHi all, Sundial is a virtual (paged) shadow map for one directional light, and it now has a three.js adapter for WebGPURenderer: Live demo: Sundial for three.js (needs a WebGPU browser) Minimal example: Sundial: minimal three.js example Repo: GitHub - increasinglyHuman/poqpoq-sundial: Paged (virtual) sun shadows for WebGPU — engine-agnostic core + Babylon.js and three.js adapters · GitHub (MIT) npm: @poqpoq/sundial (three r186; the adapter is @poqpoq/sundial/three) The forest ...
0 reposts0 likes