In Godot, I want to make a 3d stars effect for my game, as the one I made at the start was just a shader applied to a flat plane and that'd look rubbish in VR (if I decide to support VR in the future I don't know yet!). My first thought was to just do it with a particle system, then I started thinking instancing meshes in GDscript with a shader on them to set color and to offset the positions over time. Not sure if that'll be faster but I expect it'd use less resources than particles?? Maybe?
2
Replies
0
Boosts
@psychicparrot42 Do you have a visual example (even if in Paint) of what you want to accomplish? How do you want the starfield to be, like what kind information do you want in it?
It could be a normal shader or you could go Brrr 🚀 with compute shaders if you want to have dynamic information back and forth between the game and the shader.
@psychicparrot42 ah I see a lot of cool people already answered you with some cool things in this thread :D