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
Only the (older) forward light system has an ambient property. So you need to downcast to that if you are using the forward renderer like shown in the World sample. cast(s3d.lightSystem,h3d.scene.fwd.LightSystem).ambientLight.setColor(0x909090);
As for ambient light with the PBR renderer, I'm not quite sure. Maybe through the environment?
In the docs' Lights section under Ambient Lighting it says you set the scene ambient light color like
s3d.lightSystem.ambientLight.set(0, 0, 0);
The text was updated successfully, but these errors were encountered: