Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Flashing object colors like lights

Author
Message
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 10th Feb 2009 11:39
Hi All,

This little bit of code to does something like train crossing lights.



Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 10th Feb 2009 22:31
Here it is using limbs.



Dark Physics makes any hot drink go cold.
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 14th Feb 2009 03:33
Hey, doesn't look like much at first, but it's actually pretty cool. Now if you added a bloom shader to that, that would be awesome...hmm, I might just go and do that now...

BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 14th Feb 2009 04:33 Edited at: 14th Feb 2009 04:34
Bloom looks cool:



Download attachment

Attachments

Login to view attachments
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 14th Feb 2009 09:27
cheers could not see how to do it, tried but no joy.

Now that I have looked at it no wonder I could not do it, did not know enough on how to do blooms, this will be one to study.


thanks bmaczero.

Dark Physics makes any hot drink go cold.
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 14th Feb 2009 15:29
Well, the code isn't mine (it's from the Ultimate Shader Pack), though I did modify it a lot to fit it into your program.

Login to post a reply

Server time is: 2024-05-02 14:18:56
Your offset time is: 2024-05-02 14:18:56