🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

random point in sphere

Started by
10 comments, last by RomanGenkhel 4 years, 6 months ago
a light breeze said:
method 1 would create a higher density of points around the poles (0, 0, -1) and (0, 0, 1).

BTW: i had encounter such problem during creation sky filled with stars, in my case, i`ve managed it by using fragment shader to determine if pixel is lit or not for each pixel by passing position as a seed to noise function

None

This topic is closed to new replies.

Advertisement