MONOGRID / gainmap-js

A Javascript (TypeScript) Port of Adobe Gainmap Technology for storing HDR Images using an SDR Image + a gainmap
https://monogrid.github.io/gainmap-js/
MIT License
70 stars 5 forks source link

fix: setRenderer on the LoaderBase #34

Closed drcmda closed 3 months ago

drcmda commented 3 months ago

https://github.com/MONOGRID/gainmap-js/issues/33

it's backward compatible, it wouldn't change how it currently works. just enables more safety when working outside the constructor.

drcmda commented 3 months ago

thanks @daniele-pelagatti i added it to drei

demo https://codesandbox.io/p/sandbox/sleepy-jackson-hqct6n?file=%2Fsrc%2FApp.js

docs https://github.com/pmndrs/drei?tab=readme-ov-file#environment

hope this might give it a signal boost