Closed saitonakamura closed 10 months ago
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit f8bd39f4c14040a893c80c71b20dd436b89b1f1e:
Sandbox | Source |
---|---|
examples | Configuration |
Batched calls to env map update, so traversing only happens once now
Allows to set env map and env map intensity on controller models via props.
Besised that, we found out a specific usecase when you want to update intensity without env map, so I split them into 2 methods. Perf should not suffer since most of this calls will be batched to a same frame
updated docs a bit with more fresh info
updated vitest to use soft assertions
[x] Added example
[x] Added docs
[x] Added tests