Board index FlightGear Development Effects and shaders

Shader for condensation

An exciting "new" option in FlightGear, that includes reflections, lightmaps, the particle system etc.. A lot is yet to be discovered/implemented!

Shader for condensation

Postby CaptB » Mon Mar 19, 2018 2:05 pm

Hello,

I am thinking about implementing some condensation effects such as those shown on this video: https://youtu.be/9y9Pb3NLZko is there any present shader that could be applied here?
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 684
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu

Re: Shader for condensation

Postby icecode » Mon Mar 19, 2018 2:28 pm

That looks more like a particle effect than a shader. The particle system in FG is quite barebones, but you could have a look here and here for some pointers.
icecode
 
Posts: 709
Joined: Thu Aug 12, 2010 1:17 pm
Location: Spain
Version: next
OS: Fedora

Re: Shader for condensation

Postby CaptB » Mon Mar 19, 2018 2:31 pm

@icecode GL

I am aware of the particle system, but i've been told t's inefficient and brings down performance considerably. Maybe I'll try with some surfaces and textures instead.
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 684
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu

Re: Shader for condensation

Postby icecode » Mon Mar 19, 2018 2:38 pm

You are correct, but right now there aren't any other options available unless you want to tackle the problem yourself and create another particle system based on instancing or compute shaders.
icecode
 
Posts: 709
Joined: Thu Aug 12, 2010 1:17 pm
Location: Spain
Version: next
OS: Fedora

Re: Shader for condensation

Postby Thorsten » Mon Mar 19, 2018 7:17 pm

is there any present shader that could be applied here?


Actually the F-16 has used the flame shader to great effect for vapor trails, and I've since used the same thing for the Shuttle wing tips.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Shader for condensation

Postby CaptB » Mon Mar 19, 2018 10:39 pm

@Thorsten

Thanks, I'll look at that.
Ongoing projects(3D modelling): A320, MD-11, A350, B767
FG767: https://fg767.wordpress.com/
CaptB
 
Posts: 684
Joined: Thu May 23, 2013 7:36 pm
Callsign: EKCH_AP
IRC name: CaptB
Version: next
OS: Xubuntu


Return to Effects and shaders

Who is online

Users browsing this forum: No registered users and 4 guests