How do you add a custom sky shader?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DaddyMonster

I’ve modelled a solar system this afternoon and I thought I’d write a sky shader for stars and nebulae and whatnot but for the life of me I can’t work out how to attach a shader script to an environment shader… There’s good documentation which is crystal clear:

I tried duplicating another shader but it throws a wobbly at shader_type sky; plus it won’t load. There just doesn’t seem to be a “shader” option that I can see. I’m on 3.4.4 which I think is the latest.

Sorry guys, I’m clearly missing something super obvious here, if you could help me out I’d appreciate it.

:bust_in_silhouette: Reply From: DaddyMonster

A core team member just kindly clarified; it’s Godot 4 only. I’m really confused as to why it’s in the “latest” docs. I thought “latest” meant “production” (3.4.4 at the time of writing), is that not the case?

Regardless, I hope that clarifies for anyone else seeing the functionality in the docs and hitting a brick wall in 3.x. I’ll port the project over to alpha 8 and have a play with it.