💛 Get GodotSky - A Dynamic Sky System for the Godot Engine stayathomedev.com/product/dynamic-sky-system/? 📣 Twitter - twitter.com/StayAtHomeDev 🎮 Discord Server - discord.gg/dmYbvFYQRQ
Outstanding work! I've been working on a VR flight sim in Unity as a hobby project, and I don't quite have the same mental prowess you have at figuring stuff out, so I had to come up with my own workarounds. I downloaded an eval version of Vue Esprit, and rendered a series of vertical slivers of sky. Basically one sliver for each altitude increment (starting at 0 feet and going up to 200k feet, in increments of 5k feet). And for each altitude, I also rendered several vertical slivers of sky representing different times of day, making sure to avoid rendering the sun or its bloom. Then in after effects I composited the slivers into one texture map. Then in Unity, I blend strips of the texture together based on the camera's altitude and the time of day, then take that final composited strip and stretch it across the sky dome to create the final base coloration of the sky. It's very crude and still needs some more elements, but that's what ya gotta do when you're much more right brain than left!
This looks very interesting, well done The only thing Godot 4 is missing and that is stopping me from moving to it full time is the lack of a 3d terrain editor (like unity), maybe someone will address that in the future...
You can also create a landscape using something like blender. Which is currently outside my scope but if you can create the 3d model of a landscape you can just import that if the terrain is just to small for your liking. There are suggestions online about cutting your 3d object (landscape) into squares so that the game doe not try to load all of your 4,000 mile landscapes all at once on something like a mobile device loading your landscape piece by piece will save your program from slowing down trying to render it all
I'd wished you would've added a bloom like high exposure effect to the sun during the day that reduces as it reaches to the horizon revealing the circular shape of the sun.
That's a really nice setup. Thanks for showing in detail how you made it and for offering it in your shop :) Ooooone question: Do you see any way to add shadows being cast from the clouds to the objects in the scene? I experimented with something like that back in UnrealEngine3 (there the system I used was called "light functions") and it added a whole lot of atmosphere to the scene. I am currently working on a top-down game where I also am implementing a day-night-cycle. I might use yours, as it is just set up a lot better than mine :D But then, as it's top-down, I don't see clouds or sun-disc anyways. BUT I would see moving shadows from clouds, which could look pretty neat.
Thanks! If it's a 3D top-down...You could use the overall system still but because the sky isn't being shown, it doesn't get rendered, but you'd still get the cubemap reflections. For the cloud shadows...some games fake this by adding some cloud-like noise over the terrain, though they don't actually match up with what is overhead. You could, in theory place some basic meshes to get the actual shadows, since you're not going to see them, or overlay a moving noise texture to simulate the cloud shadows.
It would be great if you add README to your project. It took me a while to understand everything. Also you can add moon phases with smth like float sphere_intersect( vec3 view_dir, vec3 sphere_pos, float radius ) { float b = dot( -sphere_pos, view_dir ); float c = dot( -sphere_pos, -sphere_pos ) - pow( radius, 2 ); float h = pow( b, 2 ) - c; return h < 0.0 ? -1.0 : -b - sqrt( h ); }
Can anyone help--I bought GodotSky and put it in my project. I am using Godot 4.2.2.stable. It took some effort to get it to show up, but now I get massive lag spikes on an interval of about 3 seconds where I go from 60 fps to 0 fps, and it lasts for about 2 seconds each time. Anyone else struggle with this??
@@GeneralChrisGaming Do you know how to setup the shader for this? I've managed to get the moon and sun to rotate but i cant get the shader script to work
💛 Get GodotSky - A Dynamic Sky System for the Godot Engine
stayathomedev.com/product/dynamic-sky-system/?
📣 Twitter - twitter.com/StayAtHomeDev
🎮 Discord Server - discord.gg/dmYbvFYQRQ
Outstanding work! I've been working on a VR flight sim in Unity as a hobby project, and I don't quite have the same mental prowess you have at figuring stuff out, so I had to come up with my own workarounds. I downloaded an eval version of Vue Esprit, and rendered a series of vertical slivers of sky. Basically one sliver for each altitude increment (starting at 0 feet and going up to 200k feet, in increments of 5k feet). And for each altitude, I also rendered several vertical slivers of sky representing different times of day, making sure to avoid rendering the sun or its bloom. Then in after effects I composited the slivers into one texture map. Then in Unity, I blend strips of the texture together based on the camera's altitude and the time of day, then take that final composited strip and stretch it across the sky dome to create the final base coloration of the sky. It's very crude and still needs some more elements, but that's what ya gotta do when you're much more right brain than left!
What an amazing tutorial mate! Fantastic info in this one.
Thanks!
Thank you for sharing, this is badass!
Awesome! This gonna save me from a lot of headaches.
Great to hear!
It will look even better with better environment to show cases it.
You can use the new port of lumbard yard scene.
Just did that on Twitter!
i was going to build a daynight cycle myself... but you did such an amazing work here. Great stuff.
Thanks!
This looks very interesting, well done
The only thing Godot 4 is missing and that is stopping me from moving to it full time is the lack of a 3d terrain editor (like unity), maybe someone will address that in the future...
A terrain editor, or some form of external connection, would be great. Definitely something I'll be looking into in the future.
They are working on a official c++ plugin for that.
You can also create a landscape using something like blender. Which is currently outside my scope but if you can create the 3d model of a landscape you can just import that if the terrain is just to small for your liking. There are suggestions online about cutting your 3d object (landscape) into squares so that the game doe not try to load all of your 4,000 mile landscapes all at once on something like a mobile device loading your landscape piece by piece will save your program from slowing down trying to render it all
I'd wished you would've added a bloom like high exposure effect to the sun during the day that reduces as it reaches to the horizon revealing the circular shape of the sun.
You can by utilizing the volumetric fog option, setting the density relatively low and uping the anistropy!
Thank you for this!!
Appears to be working in 4.2.2 see the itch link for further details.
Phenomenal!
Thanks!
Does this still work in 4.1?
That's a really nice setup. Thanks for showing in detail how you made it and for offering it in your shop :)
Ooooone question:
Do you see any way to add shadows being cast from the clouds to the objects in the scene? I experimented with something like that back in UnrealEngine3 (there the system I used was called "light functions") and it added a whole lot of atmosphere to the scene.
I am currently working on a top-down game where I also am implementing a day-night-cycle. I might use yours, as it is just set up a lot better than mine :D But then, as it's top-down, I don't see clouds or sun-disc anyways. BUT I would see moving shadows from clouds, which could look pretty neat.
Thanks! If it's a 3D top-down...You could use the overall system still but because the sky isn't being shown, it doesn't get rendered, but you'd still get the cubemap reflections. For the cloud shadows...some games fake this by adding some cloud-like noise over the terrain, though they don't actually match up with what is overhead. You could, in theory place some basic meshes to get the actual shadows, since you're not going to see them, or overlay a moving noise texture to simulate the cloud shadows.
How do you generate or find the precalculated atmospheric scattering table?
It would be great if you add README to your project. It took me a while to understand everything. Also you can add moon phases with smth like float sphere_intersect( vec3 view_dir, vec3 sphere_pos, float radius )
{
float b = dot( -sphere_pos, view_dir );
float c = dot( -sphere_pos, -sphere_pos ) - pow( radius, 2 );
float h = pow( b, 2 ) - c;
return h < 0.0 ? -1.0 : -b - sqrt( h );
}
how do i get the stars and galaxies to work in godot 4.2?
Does this work for 4.2? Did v2 ever come out?
i think it would be more accurate to dot the sun vector with the sky dome vectors so that it’s redder near the sun and bluer on the other side
more importantly i think it would look more realistic
also i’m curious how difficult it would be to dynamically subdivide a section of the water that is around where the sun would reflect into the camera
Good point...not too big of a change
Can you make a tutorial on terrain in godot 4
Great video but where can i get the look up texture
Can anyone help--I bought GodotSky and put it in my project. I am using Godot 4.2.2.stable. It took some effort to get it to show up, but now I get massive lag spikes on an interval of about 3 seconds where I go from 60 fps to 0 fps, and it lasts for about 2 seconds each time.
Anyone else struggle with this??
Send me an email contact [at] stayathomedev [dot] com
keep going bro. godot sky must beat unity/unreal sky
Looks fantastic, but what is the game about? what kind of game is it? I look forward to the next devlog :)
This is focused on a series of open world tools and assets...starting with a dynamic sky system. Terrain and auto-landscape material coming...
Does it works with Godot 4.2 ?
I also want to know
Im trying so hard to see if this works but I cant even get the sun and moon to rotate so im guessing no
@@GeneralChrisGaming Do you know how to setup the shader for this? I've managed to get the moon and sun to rotate but i cant get the shader script to work
@@minhduyhoang9118 nah i gaved up after doing a bunch of other stuff which didnt work
No se si solo me pasa a mi pero cuando intento descargar me manda a la zona 404
You can send me a msg on the site if you're having an issue!
@@stayathomedev probe como a los 15 minutos de poner el comentario, no se a que se debio ese error
Maybe a server issue?