Jump to content

[1.0.0] Firefly - Revamped Atmospheric Effects


MirageDev

Recommended Posts

The configs for RSS are borked. I.E., Earth's config is exactly the same as Kerbin's despite the atmosphere being twice as deep. Effects don't appear until 70km altitude, but you're through most of your heating by that point.

I poked around in the config files but can't find anything to adjust altitude of the effect. If you could base it off dynamic pressure, that would be even better, but altitude is close enough for government work.

@MirageDev, any thoughts?

Link to comment
Share on other sites

I decided to test out how my Jool 5 SSTO I'm working on looked with firefly and encountered a pretty nasty visual bug. Something in the cargo bay seems to have a weird collision box or something, and it produces this aero/reentry trail under the cargo bay. It starts in transonic (300ish m/s) and gets very bright once you reach 800-900 m/s or so and heating effects show up.

1A4vr0N.png

Due to its position and size (looks like 2.5m radial) I thought it was my Tylo lander but removing it changed nothing.

I made a test craft and managed to figure it out: it's the large Drill-O-Matic, mounted upside-down. Lo and behold, the exact same visual bug.

7RZCfjd.png

Here's the setup I used in the test craft. The Jool craft is very similar except the drill is attached to a hinge, which itself is attached to the converter. Front of the craft is to the left if it's unclear. It seems to create the bug well in front of the drill, and in a roughly circular shape, which was very confusing for me while figuring out what caused it.

rvi5EQ2.png

More screenshots in the spoiler.
 

Spoiler

This is about where the bug starts to appear, with the otherwise-fine-looking transonic effects. Note the small trail below the cargo bay.

yyoMFmf.png

The same, but a bit clearer at higher speed

c2n2pzy.png

Once heating FX show up it becomes impossible to miss. It's far brighter than the rest of the craft even at the lowest of speeds where heating FX occur.

4PNhTsI.png

Deploying the drill while still in the cargo bay, just to see what happens. The trail moved and changed shape.

DKlOgAN.png

Fully deployed, trail is more diffuse and some of it is angled

iZBkQ3k.png

Retracting

UHH0VHT.png

Fully retracted, some of the trail stays at an angle but the rest returns to the previous state

afGr7LY.png

It has two tails, almost like a comet.

xyib883.png

 

NcNl3nm.png

And this is about where I reverted the flight because I had the screenshots I needed.

nprPMi3.png


I don't know if this affects other parts, nor do I know what changing the orientation/position of the drill does. @MirageDev let me know if you need more testing or screenshots. I'm on Mac if that's anything.

Link to comment
Share on other sites

16 minutes ago, umbra humanus said:

e80Screenshot2025021018.png

Very beautiful mod though I am experiencing a minor graphical glitch where when I am re-entering the atmosphere there is a blue ouline of the bottom of my spacecraft.

 

The blue outline which is in front of the heat shield is the bow-shock of reentry. Currently it does just copy and render the part facing the atmosphere, (adding unnecessary details to it). It is on purpose but, But refinements are still in dev
See the github issue here https://github.com/M1rageDev/Firefly/issues/9

Link to comment
Share on other sites

On 2/9/2025 at 7:35 PM, Marsflugzeug said:

i'm absolutely loving this! Sadly i'm a linux guy and have to use Proton to play KSP as other visual mods (parallax) don't run (without glitches) on the native linux client.

 

So, any idea how to workaround or fix the glitch in lower atmosphere on Linux/Proton yet? I tried but didn't find any posibility to affect the  effect state other then  in the effect editor... this might be one dirty fix...

IMAGE

BTW, it's working fine in upper atmosphere...

IMAGE

Simillar issue here, but its everywhere.Screenshot_2025-02-12_at_21.29.56.png?exScreenshot_2025-02-12_at_21.29.31.png?ex

Link to comment
Share on other sites

On 2/10/2025 at 12:44 PM, klyith said:

Proton v8 is somewhat nicer that Proton v9 on my machine, but that also may be GPU dependent. (I've got an AMD.)

Here's what I got as a fix:

//remove mach effects in normal atmospheres
@PHYSICSGLOBALS:FINAL
{
	@aeroFXMachFXFadeStart = 1.55
	@aeroFXMachFXFadeEnd = 1.5
}

 

An update to this for the other linux peeps: the above allows you to fly planes at low mach in atmosphere, but the artifacts come back in the early part of reentry heating.
It also helps to reduce the gap between aeroFXStartThermalFX and aeroFXFullThermalFX to minimize the amount of time the game is drawing both the mach effects and reentry effects.

Default KSP those are 2.5 and 3.75 respectively. So you could add:

	@aeroFXStartThermalFX = 3.4
	@aeroFXFullThermalFX = 3.5

But if you are in any type of planet pack (RSS, JNSQ, KSRSS, etc) they will often be different, since velocity is generally higher in most alternate Kerbins. (I do JNSQ and have them set to 5.1 & 5.25)

Link to comment
Share on other sites

Here's a new batch of cooked screenshots. (btw for the Linux guys, I'm running the Windows version through Crossover on a Mac, so I may be having a completely different set of causes for the issue)

This ones pretty bad:

Screenshot_2025-02-14_at_10.03.18.png?ex=67b03672&is=67aee4f2&hm=dc7b3a5bccaf13861df7922facd5edf18ecc1c48859810e2b40943c8de1e897d&=&format=webp&quality=lossless&width=2236&height=1258

Mach 4-5 in atmosphere:

Screenshot_2025-02-13_at_17.17.06.png?ex=67b03672&is=67aee4f2&hm=e363254346d7018378c3eea07e086b2f6d47a00e2fc56eac8ee7de542f2f46b4&=&format=webp&quality=lossless&width=2236&height=1258

One of my least screwed-up screenshots:

Screenshot_2025-02-13_at_19.10.14.png?ex=67b03672&is=67aee4f2&hm=7a892dde7e89f2b51dc0ef121ae50c609a852b09e5e5d9fcef110ca3ed0a8033&=&format=webp&quality=lossless&width=2236&height=1258

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...