• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Lights with corona (not THAT corona...)

Messages
59
Country
switzerland
Hi all

I'm trying to bring runway lights and taxiway lights to small airfields. There are a few shortcomings out of the box:
  • The lights objects in the scenery category are just that: 3d objects. They are not functional.
  • In order to precisely place single taxiway lights I could just use short "light rows". There is only one standard model of light stands that is a bit too prominent for small fields.
  • For runway lights the only way seems to be to configure them in the runway properties. The result is quite large airport centric: No day night cycle (and way too dominant in daylight), placing too far from the runway, etc.

So I've started experimenting with custom light objects. The problem there is, that they become very faint very quickly when you get further away.
My runway lights consist of a "light" - to correctly illuminate the vicinity (for raised lights) and a sphere out of an emissive material.
light.jpg


I tried to apply some trickery:
  • The base protrudes 10m into the ground to prevent the tiny lights from getting swallowed by the renderer way too early.
  • The further away LODs have a larger emissive sphere (the dark gray material in the picture below).
LODs.jpg


This improves the visibility from a distance somewhat but by far not enough. Those half meter baubles look like mere candles just from the other end of the runway. Something seems to be very different compared to the stock blue taxiway lights and the street lamps far in the background.
runway.jpg
corona.jpg


Closeup it becomes clear that those lights have some kind of corona - possibly a billboarding technique. These coronas seem to get scaled down much less with distance than normal geometry (my spheres...) does.
Does anyone now if and how we can replicate this? Or is it not (yet) possible at all - hence the non-functional lights supplied by asobo?

Thinking a bit further - those light-properties for blink-frequency etc. would be a bit pointless if they could only be applied to the lights but you can't actually see the lights. And as usual the SDK "documentation" has a big TODO in the section that could possibly be relevant.

Any other thoughts? Thank you.
 
This glow of light (corona) around the light source. Does it come from a dynamic light (Asobo Light/FlightSimLight), or does the light come from the emissive texture?
 
Neither. I think it is exactly what you refer to as "point light" in your thread. It seems to be a 2d texture that is applied in a separate rendering pass (like a "special effect"). Those textures also don't scale with distance in the same way that normal geometry does.
See the screenshot below. The corona is rendered on top of things that are in front. Would be nice if we had a way to do this. At the moment the only such light that we can place ourselves are the taxiway lights (as very short light rows).
 

Attachments

  • 2dcorona.jpg
    2dcorona.jpg
    64.9 KB · Views: 243
Back
Top