Featured contribution

Top  Previous  Next

Planet shader


This month's exquisite contribution comes from one of our few shader masters: ChrisB. It's a great looking planet shader, so I took the time to convert the code from C-Script to lite-C.




Open demo6.c, and then run it. Move around using the WSAD keys or click the right mouse button to display the mouse pointer and play with the sliders.