Geeks3D Forums

Tech Forums => General Discussion => Topic started by: stevejock1 on February 13, 2020, 05:24:35 PM

Title: Scrolling starfield in Elite 1984
Post by: stevejock1 on February 13, 2020, 05:24:35 PM
How would one go about implementing a starfield like this? I have tried generating random white pixels on the screen and then re-generate them as they move off screen either due to player forward motion or rotation, but it doesn't feel like stars in space at all. Should I generate a cloud of billboards around the player instead? These stars are just for cosmetics, so they will always be far away, but I do want the effect of you zooming past them.

*** SPAM ***

Title: Re: Scrolling starfield in Elite 1984
Post by: Stefan on February 13, 2020, 05:58:15 PM
Review these demos:
https://www.shadertoy.com/results?query=starfield