This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

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:

https://docs.godotengine.org/en/latest/tutorials/shaders/shader_reference/sky_shader.html#

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.

Godot version 3.4.4
in Engine by (2,159 points)

1 Answer

0 votes

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.

by (2,159 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.