gohyperr / hecs

A high performance lightweight ECS with a plugin ecosystem!
MIT License
23 stars 1 forks source link

Configurable lighting #15

Closed canadaduane closed 4 years ago

canadaduane commented 4 years ago

Currently, two lights are created for the scene by default, a HemisphereLight and a DirectionalLight.

This setup makes it really nice to get started, but lacks configurability.

I'd like to try different light settings in my scene. For example, it would be helpful to try different light positions or change the shadow map width and height.

Is there a direction planned for this type of lighting customization?

ashconnell commented 4 years ago

I've been meaning to come up with a better way to configure this per project. For now my own project just removes those lights immediately and then adds whatever it needs to the scene manually by accessing world.presentation.scene.