View Full Version : Planet ring

05-25-2011, 09:48 AM
Hello. I would like to know what's the easiest way to implement a Saturn ring using the textures found here:

Any suggestion? Thank you.

The Little Body
05-25-2011, 10:10 AM
You can draw a lot of circles for to simulate the rings with each circle with a different color.

The color of each circle can be selected by a different 1D texture coordinate on the Bj÷rn Jˇnsson's colormap found at http://planetpixelemporium.com/saturn.html)

05-26-2011, 04:44 AM
If I could pick the color from one texture, and the transparency from the other, that would be great. Because then I would be able to write every circle in a loop.
Is it possible to do that?

The Little Body
05-26-2011, 05:55 PM
You have only one RGBA 1D texture to use.

The RGB part is the color and the A part the transparency.