Problem adding stars in Godot 3D

Godot Version

4.4

Question

Greetings! This is my first time on this forum and I’m quite new to Godot. I have been working on a project in Godot 3D for a few days now, and I am currently working on the sky. I decided to use PhysicalSky for my skybox and make a day-night cycle following this tutorial.
More briefly though, I used the PhysicalSkyMaterial, added a DirectionalLight3D node, and animated it with AnimationPlayer to move from 360° to 0° (contrary to the tutorial) in a period of time.
But then, I wanted to add stars and make them appear at night. Right now, PhysicalSky doesn’t support sky shaders, so I had to add a spatial one. This asset worked perfectly fine for this, though, I had some tiny issues with it: [1] Stars only appeared at sunrise and then started fading out sooner than expected, [2] only half the sky was covered in stars, [3] there were some slight, unexpected warnings regarding the scripts.
No matter what I tried, these issues just couldn’t disappear.
I have also tried making a custom MeshInstance3D shader before, but that failed as well.
Though, I don’t want to give in just yet.
Is there any way I can add nocturnal stars to my scene in my case?
Edit: Found a sky shader that can compensate for PhysicalSky on the Godot Shaders website. Barely. It even has stars and clouds.

At least in my case, I read your question and my reaction was “I don’t know?”, so rather than post useless noise, I held my peace. I think you’ll find that’s probably the case for many of the views you got. I haven’t done a project in Godot that has a skybox and most of my experience with shaders is working directly with Vulkan or OpenGL, so I didn’t have anything relevant to say.

1 Like

Appreciate it, mate.