Shader Glitches
Closed this issue · 2 comments
Hello I really like the tutorial on how to make planet, but after messing around with code rewritten from videos and creating multiple planets I found that there is some kind of shader problem. I mean the planets tend to get shader texture/colour/biome of last created planet.
Example - snow planet got desert planet skin
Additionally: Shader is saved on disk.
Materials and Shader are resources in Godot and they are shared (that's how we can set a single material to all the faces) But that means they are also shared between planets. If you want multiple planets with different material you're going to have to duplicate the shader. What you're doing might work. You might also want to take a look at the duplicate() method.