You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What problem does this solve or what need does it fill?
Currently MAX_DIRECTIONAL_LIGHTS is const, which prevents us from setting it to platform-specific (detected at runtime) values. For example, we need to set it to 1 for Adreno GPUs on WebGL. Currently, we are hard coding the value to 1 on WebGL for all GPUs, which is unnecessary.
What problem does this solve or what need does it fill?
Currently
MAX_DIRECTIONAL_LIGHTS
is const, which prevents us from setting it to platform-specific (detected at runtime) values. For example, we need to set it to1
for Adreno GPUs on WebGL. Currently, we are hard coding the value to1
on WebGL for all GPUs, which is unnecessary.What solution would you like?
Make it a dynamic value set and read at runtime.
See #8505 for more information.
The text was updated successfully, but these errors were encountered: