Board index FlightGear Development Effects and shaders

Shader requests

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

Re: Shader requests

Postby wlbragg » Fri Oct 09, 2015 12:29 pm

Thorsten wrote in Fri Oct 09, 2015 9:07 am:Given what I read in the definition of model-transparent and what I know of how to compute reflection effects, I fail to see how this should be possible.

OK, thar explains it. what I was seeing was the interior reflection from the outside of the aircraft. I verified the by shutting of the interior reflection. It looks pretty cool actually.
Image
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Shader requests

Postby wkitty42 » Sat Oct 10, 2015 7:59 pm

is that not just the bent corner of the windshield glass where is folds around the sides?
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9123
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Shader requests

Postby wlbragg » Sat Oct 10, 2015 8:39 pm

No, I was referring to the vent tube reflection.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Shader requests

Postby wkitty42 » Sat Oct 10, 2015 10:04 pm

i don't see a vent tube reflection :(
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9123
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Shader requests

Postby Johan G » Sat Oct 10, 2015 11:40 pm

I think the vent tube (or is it the OAT gauge?) "reflection" can be seen "above" the glare shield, between the white circular thingie on the bonnet and the lower part of cockpit door. ;)
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6625
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Shader requests

Postby wkitty42 » Sun Oct 11, 2015 2:39 am

i dunno... might be best if it were circled in red and maybe shown from more than one angle? what i see looks like wing, strut and door post shadows... but i don't know where the sun is in the view, either :?
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9123
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Shader requests

Postby wlbragg » Sun Oct 11, 2015 3:57 am

Yes, the OAT and it also has a vent. I put arrows to it.
It is the interior reflection shader that can be seen from the exterior.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Shader requests

Postby wkitty42 » Sun Oct 11, 2015 2:00 pm

yeah, ok... i didn't know that was from the OAT/vent thing... i thought it was from some part of the cutout in the wing where the windshield goes... but that shadow is a GoodThing<tm> isn't it? it looks real and if we could get up close enough inside the cockpit, we should be able to see if from in there, too... we should also be able to see if on the instrument panel when flying if the sun is in the right place... wait... that's a shadow, isn't it? not a reflection? it looks like a shadow to me which is why i wasn't seeing it... i was looking for a reflection in the glass...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9123
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Shader requests

Postby abigail » Wed Oct 14, 2015 2:24 pm

Hi!

I have to implement changes in sea states(water) through code.

I want to know which file is correspondance for sea wave changes.
abigail
 
Posts: 12
Joined: Mon Nov 24, 2014 11:21 am

Re: Shader requests

Postby benrob0329 » Wed Jun 15, 2016 3:11 pm

What if differed rendering could be combined with ALS and foreword rendering?

Like this, the computer renders the full ALS frame, then does the second pass only to add things like bloom and reflections.

I'm not sure if that would help at all, but I thought it was an interesting idea.
benrob0329
 
Posts: 32
Joined: Tue Mar 15, 2016 12:21 am
Version: 2016.1
OS: KDE Neon

Re: Shader requests

Postby FighterAce » Fri May 26, 2017 3:08 pm

How about a particle effect/shader for the heat produced by jet engines and helicopters. Such a feature would greatly increase the realism of FlightGear.
FighterAce
 
Posts: 189
Joined: Wed Mar 22, 2017 9:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: Shader requests

Postby Thorsten » Fri May 26, 2017 3:33 pm

How about a particle effect/shader for the heat produced by jet engines and helicopters.


Exists - the flame effect can do it. Just needs to be used by aircraft maintainers.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Shader requests

Postby Necolatis » Mon Oct 15, 2018 12:21 am

How about a big twister? It could be visually made by a shader (somehow..) and the AW could make rotational winds around it, could be pretty fun to fly in. :)
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore
User avatar
Necolatis
 
Posts: 2232
Joined: Mon Oct 29, 2012 1:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2020.3.19
OS: Windows 10

Re: Shader requests

Postby V12 » Mon Apr 29, 2019 9:41 am

Is possible to make simple de-vectorizer shader ? It should make some noise on outer borders of the landclass polygons, if both polygons will have devectorizer flags set to 1. This flag allows to disable noise if straight borders are necessary, for example on managed town parks or something similar. Next wanted parameter is width of the noise area. Shader probably should works as image post-processor.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: Shader requests

Postby Thorsten » Mon Apr 29, 2019 10:07 am

How do you know you're at the border of a landclass? The rendering pipeline is a massive parallel computed process, basically you only have local information, you know what 'your' triangle is and 'your' pixel is, but you don't really get any information about neighboring triangles or pixels.

That is the issue.

In the experimental nextgen terrain approach where landclass info is stored as raster image, creating all sorts of blurry borders is trivial (there's a working shader demonstrating that). But since no one is working on the approach any more,
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

PreviousNext

Return to Effects and shaders

Who is online

Users browsing this forum: No registered users and 3 guests