aframe-environment-component icon indicating copy to clipboard operation
aframe-environment-component copied to clipboard

auto movement of sun position

Open rmrbytes opened this issue 7 years ago • 2 comments

This is more like a feature request.

For the scenes I am creating using your component, I am trying to set the lightPosition value based on the time of the day. And perhaps will auto change its value as time goes on.

Just wondering if such a feature is planned, perhaps where one passes the Lat-Long of a place and the North direction of the screen so as to determine the sun position and change it over time.

Just a thought

rmrbytes avatar Apr 04 '18 12:04 rmrbytes

Any progress with that?

spartalisdigital avatar Nov 11 '19 14:11 spartalisdigital

I implemented a feature like this in a component I built that pulled heavily from this project: https://github.com/kylebakerio/a-super-sky

kylebakerio avatar Aug 29 '21 01:08 kylebakerio