Rainbow dust

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Rainbow dust

Post by Tricky »

Lately in the development trunk the dust has/or was rainbow coloured. It got me thinking of redshift. Would it be possible or desirable to have the dust redshift. I.e. shift to blue in the fore-screen and shifting to red in the aft-screen. Port and starboard screens can have the dust blue to red/left to right.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Rainbow dust

Post by Eric Walch »

Dust is generated with a shader. I am no shader writer, but I think this should be possible to add into the shader. Nice for a custom oxp :P

Although..... I think the shader is probably not able to determin the view direction.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Rainbow dust

Post by JensAyton »

View direction yes, velocity no. It could do something while warping, though (and can of course be overridden by an OXP).
Post Reply