Can i just ask, wots the gradient going to be used for tho?
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
It's just a test. I've always found gradients to be too harsh (they are supposed to make things look round, however since they are LINEAR gradients they are just slopes, thus the problem), so I made a gradient that uses the cosine of 90 or 180* of a circle to calculate the colour. The linear distribution method uses 180*, the odd/even use 90* from two different parts of the circle (depending on whether it's even or odd). I think it looks better than linear, don't you?
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
(Just a heads-up)
The first one looks quite good but it all depends on what you would need it for.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
Posts
1,457
It depends what you use it for! I can't see any difference except for some of them having different slopes or something... but if it's to simulate the slope of a circle... yeah, I like the third one (the 2nd doesn't look bad too)
To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systemshere.
Jotaf's Theories!
"Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."