Friday, March 16, 2012

Corona


I thought the current star rendering scheme was rather ugly (just rendering a sphere and letting the bloom shader but a little halo around it) and wholly unsatisfying. Not to mention unrealistic.

Since I'm giving the galaxy the little more attention this week I figured I'd write a quick shader to put a corona on the star. It's just a simple first-try, but it already makes the star look a lot more impressive than a full-bright white sphere.

The star is white because it's a product of the older version of the galaxy generator, which did not interpolate colors and just set them all to white. The shader also takes in the star color, but you can't see it here.

No comments:

Post a Comment