Space Engineers

Space Engineers

Not enough ratings
[Code example] Rainbow Light - automatically switching
   
Award
Favorite
Favorited
Unfavorite
Type: World
File Size
Posted
126.234 KB
9 Apr, 2015 @ 1:52pm
1 Change Note ( view )

Subscribe to download
[Code example] Rainbow Light - automatically switching

Description
This is a simple example of how to get a lights color, conver it from RGB to HSV, shift the hue a bit and convert it back to RGB aswell as applying it back to the light.
The effect is a rainbow-like visual.
4 Comments
Marziopan 1 May, 2015 @ 1:04pm 
y a touch of magic is always needed :P
plaYer2k  [author] 1 May, 2015 @ 12:23pm 
Ahaha nice, so your ship glows like a deadly rainbow while gravyfloating through space :-)
plaYer2k  [author] 9 Apr, 2015 @ 6:02pm 
Not really :(
My desktop is still broke and i dont know which parts the PSU and the burning mainboard killed.
So i will send all the parts in back to mindfactory so they check them and replace the defective.

All hail good customer service \o/
Cramat 9 Apr, 2015 @ 5:29pm 
Wee, and he is back in the realms of SE. :)