What is the average color of a star? [closed]
开发者_如何学Python
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this questionI am trying to procedurally generate point stars to create a starfield background for my game. I want to weight the color production based on an average star's real color. Can anyone point me in the direction of this sort of data?
I found a nice overview here. It shows some real examples. Maybe this will help you.
It is White. To be closer to the real thing apply redshift as the stars are further away and add or remove blue to account for star temperature and age.
精彩评论