Jelle De Loecker
Jelle De Loecker

Reputation: 21985

Make something shine in webgl & c3dl

I'm building a little starfield program using webgl and such.

Currently, my star are regular points. It looks nice from a very far distance, but pretty boring once you zoom into it.

How can I add things to make it look a bit more star-like? Like shine and shimmer and such.

Upvotes: 2

Views: 659

Answers (2)

markmuetz
markmuetz

Reputation: 9664

This webgl lesson has something that might be close to what you want. It's a rendered gif, (rotating) with the option of rendering another identical gif over it (non-rotating) to provide the "twinkle" effect. Note, it's only got 50 stars so may perform quite badly with a star field.

You can see all the lessons here.

Upvotes: 1

Mikko Ohtamaa
Mikko Ohtamaa

Reputation: 83626

What you are looking for is called particle effects

http://www.mrspeaker.net/dev/parcycle/

Upvotes: 1

Related Questions