Hey folks, I'm working on a Bevy CAD project targeting wasm / webgl. We are currently updating our lighting to use multiple directional lights. This works well on desktop, but I just ran into an issue with multiple directional lights for wasm. It looks like (based on this issue https://github.com/bevyengine/bevy/issues/8992) the max number of directional lights is limited for wasm due to an android GPU limitation. Are there any recommended hacky ways to get around this?
#>1 directional lights in wasm
8 messages · Page 1 of 1 (latest)
@umbral stratus or @hard rock may have ideas
You could always use a spotlight that's very far away 😅
Solving the underlying issue you linked also looks feasible
Fork bevy and change the value I guess
Or submit a PR that makes it configurable instead of using a compile time constant
Then we can close the issue
Thanks all. I'll get a fix PR in soonish