ursina_tutorials icon indicating copy to clipboard operation
ursina_tutorials copied to clipboard

sky and moon or sun... idk

Open dangcap07 opened this issue 4 years ago • 1 comments

so i was thinking about adding sun, sky and stuff like that and i found this "https://sketchfab.com/3d-models/extracted-minecraft-java-editions-stars-c8868b7ffc4a473eb5cd9203a59e3650" and we can create a sun or moon Then we can set moon.parent = stars and stars.parent = player/subject and in the update function we add rotation of stars image image i dont really know how to create light, shadow,... so i cant make day and night :v

dangcap07 avatar Jan 19 '22 11:01 dangcap07

Thanks so much for this!

I'll check it out properly when I have time.

For day and night, since I'm working on a Mac and can't access the ursina lighting features that are available to Windows, we can simply add black fog to our scene and increase/decrease its density :)

RedHenDev avatar Jan 22 '22 12:01 RedHenDev