开发者

Make something shine in webgl & c3dl

开发者 https://www.devze.com 2023-04-05 15:51 出处:网络
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.

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.


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.


What you are looking for is called particle effects

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

0

精彩评论

暂无评论...
验证码 换一张
取 消