Jump to content

[WIP][1.9.x-1.12.x] Scatterer-atmospheric scattering (0.0838 - 14/08/2022) Scattering improvements, in-game atmo generation and multi-sun support


blackrack

Recommended Posts

  • 2 weeks later...

Hi, I've been having some difficulty getting KSP 1.12 to launch with scatterer on Ubuntu 22.04. I imagine this must be a known issue, but I'm not sure if there's a workaround. Essentially the game freezes upon main menu load (no UI elements appear though and kerbin is without scatterer effects in the background). Taking a look at the logs fails to glean any insight however. Is this an OGL related issue?

The bottom of KSP.log:

[LOG 09:48:12.541] ExpansionsLoader: Expansions loaded in 19.464s
[LOG 09:48:12.541] Loading Systems: Elapsed time is 36.79287s
[LOG 09:48:15.109] [AddonLoader]: Instantiating addon 'ToolbarButton' from assembly 'Scatterer'
[LOG 09:48:15.109] [AddonLoader]: Instantiating addon 'Scatterer' from assembly 'Scatterer'
[LOG 09:48:15.109] [Scatterer][Debug] Core instance created
[LOG 09:48:15.109] [Scatterer][Info] Version:0.0838
[LOG 09:48:15.109] [Scatterer][Info] Running on: OpenGL 4.5.0 NVIDIA 535.86.05 on Linux 6.2 Ubuntu 22.04 64bit
[LOG 09:48:15.109] [Scatterer][Info] Game resolution: 1600x900
[LOG 09:48:15.109] [Scatterer][Info] Compute shader support: True
[LOG 09:48:15.109] [Scatterer][Info] Async GPU readback support: False
[LOG 09:48:15.109] [Scatterer][Info] Using depth buffer mode: True
[LOG 09:48:15.109] [AddonLoader]: Instantiating addon 'RenderTypeFixer' from assembly 'Scatterer'
[LOG 09:48:15.420] [Agent]: Found 19 agent mentality types
[LOG 09:48:15.422] [AgentList]: 27 agents parsed and loaded.
[LOG 09:48:15.482] [UIMasterController]: HideUI
[LOG 09:48:15.568] [CelestialBody]: Kerbin's solar day length is 1d, 0h, 0m long. sidereal day length is 5h, 59m, 9s long
[LOG 09:48:20.902] [UIMasterController]: HideUI
[LOG 09:48:20.907] [HighLogic]: =========================== Scene Change : From LOADING to MAINMENU =====================
[LOG 09:48:21.309] [AddonLoader]: Instantiating addon 'ContractDefs' from assembly 'KSP'
[LOG 09:48:21.330] [AddonLoader]: Instantiating addon 'ToolbarButton' from assembly 'Scatterer'
[LOG 09:48:21.330] [AddonLoader]: Instantiating addon 'Scatterer' from assembly 'Scatterer'
[LOG 09:48:21.330] [Scatterer][Debug] Core instance created
[LOG 09:48:21.330] [Scatterer][Info] Version:0.0838
[LOG 09:48:21.330] [Scatterer][Info] Running on: OpenGL 4.5.0 NVIDIA 535.86.05 on Linux 6.2 Ubuntu 22.04 64bit
[LOG 09:48:21.330] [Scatterer][Info] Game resolution: 1600x900
[LOG 09:48:21.330] [Scatterer][Info] Compute shader support: True
[LOG 09:48:21.330] [Scatterer][Info] Async GPU readback support: False
[LOG 09:48:21.330] [Scatterer][Info] Using depth buffer mode: True
[LOG 09:48:21.336] [Scatterer][Debug] Finding ScattererCelestialBody name: Kerbin. TransformName: Kerbin
[LOG 09:48:21.336] [Scatterer][Debug] Found ScattererCelestialBody: Kerbin, actual ingame name: Kerbin
[LOG 09:48:21.336] [Scatterer][Debug] Finding ScattererCelestialBody name: Duna. TransformName: Duna
[LOG 09:48:21.336] [Scatterer][Debug] Found ScattererCelestialBody: Duna, actual ingame name: Duna
[LOG 09:48:21.336] [Scatterer][Debug] Finding ScattererCelestialBody name: Laythe. TransformName: Laythe
[LOG 09:48:21.336] [Scatterer][Debug] Found ScattererCelestialBody: Laythe, actual ingame name: Laythe
[LOG 09:48:21.336] [Scatterer][Debug] Finding ScattererCelestialBody name: Jool. TransformName: Jool
[LOG 09:48:21.336] [Scatterer][Debug] Found ScattererCelestialBody: Jool, actual ingame name: Jool
[LOG 09:48:21.336] [Scatterer][Debug] Finding ScattererCelestialBody name: Eve. TransformName: Eve
[LOG 09:48:21.336] [Scatterer][Debug] Found ScattererCelestialBody: Eve, actual ingame name: Eve
[LOG 09:48:21.550] [Scatterer][Debug] ShaderReplacer instance created
[LOG 09:48:21.551] [Scatterer][Debug] Removed stock oceans
[LOG 09:48:21.551] [Scatterer][Debug] Replacing EVE shaders
[LOG 09:48:21.558] [Scatterer][Debug] Eve shaderloader type not found
[LOG 09:48:21.559] [AddonLoader]: Instantiating addon 'RenderTypeFixer' from assembly 'Scatterer'
[LOG 09:48:21.577] [UIMasterController]: ShowUI
[LOG 09:48:21.847] [GameParameters]: Loaded custom parameter class CommNetParams.
[LOG 09:48:21.849] [GameParameters]: Loaded custom parameter class MissionParamsGeneral.
[LOG 09:48:21.849] [GameParameters]: Loaded custom parameter class MissionParamsFacilities.
[LOG 09:48:21.849] [GameParameters]: Loaded custom parameter class MissionParamsExtras.
[LOG 09:48:21.849] [GameParameters]: Loaded custom parameter class AdvancedParams.
[LOG 09:48:21.868] [ReflectionUtil]: Found 40 types with UpgradeModule attribute in 4 assemblies.
[LOG 09:48:21.879] [ModuleManager] Total loading Time = 45.240s
[LOG 09:48:21.906] [ScenarioTypes]: List Created 23 scenario types loaded from 4 loaded assemblies.
[WRN 09:48:21.912] File '/home/awyeasting/.local/share/Steam/steamapps/common/Kerbal Space Program/KSP_Data/../Missions/MissionScoreInfo.cfg' does not exist
[LOG 09:48:21.914] [ApplicationLauncher] Awake False
[LOG 09:48:21.915] [ApplicationLauncher] SpawnSimpleLayout: VerticalTopDown
[LOG 09:48:21.922] [UiApp] Awake: 
[LOG 09:48:21.923] [ApplicationLauncher] OnSceneLoadedGUIReady: scene MAINMENU ShouldBeVisible() True ShouldBeOnTop() True iIsPositionedAtTop True

 

Link to comment
Share on other sites

On 7/25/2023 at 2:49 PM, SomeoneWhoLikesTrains said:

Water is invisible for me. I'm using the latest versions of EVE and Scatterer, and KSP is updated to the current version. Does anyone know any solutions to this, and are there any mods that are known to conflict with Scatterer? Also, the icon for Scatterer is completely white for some reason.

I'm also getting invisible water. This image is with Scatterer v0.0838 installed. Note the weird "water" that's actually blue terrain.

S5CMTTW.png

And this is with Scatter uninstalled:

ylRpyad.png

More info here: 

 

Link to comment
Share on other sites

When I change the FOV and move the camera around, the modded clouds, atmospheric scattering, and even TUFX ambient occlusion moves around with the camera? Been happening for quite some time now.
 

Spoiler

DEnRHxP.png
jIjyhwG.png
KKkcg97.png
vKb5ZuD.png

Log: https://drive.google.com/file/d/15X1WwD7g3oA6P5omeR4Wdi7hJzNg0_LO/view?usp=sharing

Edited by Toaster355
Link to comment
Share on other sites

  • 3 weeks later...

I have GTX 1080. In some parts of the atmosphere FPS drops below 60 even with "integrated" quality in Scatterer. Is this expected performance? What do you suggest for increasing FPS?

Screen resolution is 4K. Visual mods: Spectra Visual Compilation + Scatterer + EVE-Redux

Edited by CanOmer
Link to comment
Share on other sites

1 hour ago, CanOmer said:

I have GTX 1080. In some parts of the atmosphere FPS drops below 60 even with "integrated" quality in Scatterer. Is this expected performance? What do you suggest for increasing FPS?

Screen resolution is 4K. Visual mods: Spectra Visual Compilation + Scatterer + EVE-Redux

One thing a lot of users forget is the stock landscatters system is a little...  bloated, in the event you are also using Kopernicus.  It's implementation of it has improved a lot, but still, you may find you can gain some unexpected FPS by lowering the land scatter percentage in settings.

Not sure if this will help you or if it's more of a GPU issue but just thought I'd throw that out there because people with Scatterer very often also have Kopernicus.

Edited by R-T-B
Link to comment
Share on other sites

13 hours ago, R-T-B said:

One thing a lot of users forget is the stock landscatters system is a little...  bloated, in the event you are also using Kopernicus.  It's implementation of it has improved a lot, but still, you may find you can gain some unexpected FPS by lowering the land scatter percentage in settings.

Not sure if this will help you or if it's more of a GPU issue but just thought I'd throw that out there because people with Scatterer very often also have Kopernicus.

Thanks, I noticed FPS drops when I look towards volumetric clouds.

Edited by CanOmer
Link to comment
Share on other sites

12 hours ago, CanOmer said:

Thanks, I noticed FPS drops when I look towards volumetric clouds.

If you are using the patreon volumetric clouds and not the standard ones, they are yet to be optimized and frame drops are to be expected, we aren't really allowed to talk about those here though because they aren't free yet.  If not, then I really have no idea, sorry.

Link to comment
Share on other sites

12 hours ago, CanOmer said:

Thanks, I noticed FPS drops when I look towards volumetric clouds.

There's your problem. 1080 is probably not enough to run these clouds at 4K. Scatterer itself has very little in terms of performance impacts.

If you're using what R-T-B is talking about, that is. 

Edited by dok_377
Link to comment
Share on other sites

I'm using RSS and there seems to be a bit of a problem with the edges of sunlight on Earth. It feels like the surface (land, water) texture becomes too dark before it should:1Mox6Pa.png

EqZyy8E.png

I don't think this is a bug, but the orbital sunsets look kinda bad now, so any possible help would be appreciated. I'm using KSp 1.11.2, RSSVE 16k (latest release), and Scatterer and EVE which were bundled inside the RSSVE folder.

Link to comment
Share on other sites

  • 2 weeks later...

KSP: 1.12
Problem: Ocean visual glitch with Scatterer
Mods installed: Scatterer v0.0838
Reproduction steps:
build rocket
launch rocket
once in air, weird shadow appears in ocean and gets bigger and bigger over time
Screenshot: https://imgur.com/a/UCG1c84

Link to comment
Share on other sites

1 hour ago, aced said:

KSP: 1.12
Problem: Ocean visual glitch with Scatterer
Mods installed: Scatterer v0.0838
Reproduction steps:
build rocket
launch rocket
once in air, weird shadow appears in ocean and gets bigger and bigger over time
Screenshot: https://imgur.com/a/UCG1c84

It's godrays and that's the shadow of the craft, disable godrays and it will go away.

Link to comment
Share on other sites

Hello, i play KSP RSS RP1 with the express install from a fresh KSP files 1.12.3.

I have an issue with the atmosphere and i don't find any post about it so i try  here, maybe Scaterrer is responsible.

When i flight between 90 KM to 140 KM, i can't see the ground. It disappear in a blue fog.  As if the atmosphere is very thick.

I try some settings from scatterer config panel in game but i never succeeded.

above 140Km (in space) terrain details are visible.

 

Thank you

Link to comment
Share on other sites

  • 2 weeks later...

Scatterer refuses to change absolutely anything in the game...
I wasn't having this problem until I installed the volumetric clouds early access, even though I did everything the installation instructions told me to.

Gamedata folder: 

Spoiler

mtP4TCg.png

Log: https://drive.google.com/file/d/1XCx80eg9GgSQ_bFs823UrqcRx3Phi0C8/view?usp=sharing

 

So, I gave up and tried reinstalling everything; EVE, Scatterer, and KSRSS/KSRSS 64k and no volumetrics and... Earth looks like this now?

bQhjDj6.png

Another gamedata folder and another log: https://drive.google.com/file/d/1L1lIMTsHXRyHBJ9ZP0NnjzB75wIpOLZU/view?usp=sharing

Spoiler

KTyXtqN.png

 

Or this view if it's easier to see:

gxeq9kP.png

I also installed KSRSS Scatter, and EVE (and all their dependencies obviously) on a clean install of the game, and Earth looked perfectly fine.

I really screwed something up on my main save but I'm not sure what.

 

I really want this fixed so my next post on Freedom can have those incredibly good looking clouds, but scatterer is just as necessary :(

Edited by Toaster355
Link to comment
Share on other sites

i'm experiencing a bug where whenever i'm near the ground on tekto (opm), the game crashes. i suspect it is scatterer because this appears in the error log
[LOG 15:08:38.121] [Scatterer][Info] Skynode switch effects to local mode Tekto
[LOG 15:08:38.223] [Scatterer][Debug]  Mapping EVE volumetrics for planet: Tekto
[LOG 15:08:38.223] [Scatterer][Debug] No volumetric cloud for layer on planet: Tekto
[LOG 15:08:38.223] [Scatterer][Debug] No volumetric cloud for layer on planet: Tekto
[LOG 15:08:38.223] [Scatterer][Debug] No volumetric cloud for layer on planet: Tekto
[LOG 15:08:38.223] [Scatterer][Debug] Raymarched volumetric clouds error on planet: TektoSystem.NullReferenceException: Object reference not set to an instance of an object
  at scatterer.EVEReflectionHandler.mapEVEVolumetrics (System.String celestialBodyName, System.Collections.Generic.List`1[T] EVEvolumetrics) [0x00156] in <684aa87c0d2345f8a9e4739403f4afff>:0 
[LOG 15:08:38.223] [Scatterer][Debug] Raymarched volumetric clouds error on planet: TektoSystem.NullReferenceException: Object reference not set to an instance of an object
  at scatterer.EVEReflectionHandler.mapEVEVolumetrics (System.String celestialBodyName, System.Collections.Generic.List`1[T] EVEvolumetrics) [0x00156] in <684aa87c0d2345f8a9e4739403f4afff>:0 
[LOG 15:08:38.224] [Scatterer][Debug] Raymarched volumetric clouds error on planet: TektoSystem.NullReferenceException: Object reference not set to an instance of an object
  at scatterer.EVEReflectionHandler.mapEVEVolumetrics (System.String celestialBodyName, System.Collections.Generic.List`1[T] EVEvolumetrics) [0x00156] in <684aa87c0d2345f8a9e4739403f4afff>:0 
[LOG 15:08:38.224] [Scatterer][Debug] Raymarched volumetric clouds error on planet: TektoSystem.NullReferenceException: Object reference not set to an instance of an object
  at scatterer.EVEReflectionHandler.mapEVEVolumetrics (System.String celestialBodyName, System.Collections.Generic.List`1[T] EVEvolumetrics) [0x00156] in <684aa87c0d2345f8a9e4739403f4afff>:0 
[LOG 15:08:38.224] [Scatterer][Debug] Raymarched volumetric clouds error on planet: TektoSystem.NullReferenceException: Object reference not set to an instance of an object
  at scatterer.EVEReflectionHandler.mapEVEVolumetrics (System.String celestialBodyName, System.Collections.Generic.List`1[T] EVEvolumetrics) [0x00156] in <684aa87c0d2345f8a9e4739403f4afff>:0 
[LOG 15:08:38.224] [Scatterer][Debug] Raymarched volumetric clouds error on planet: TektoSystem.NullReferenceException: Object reference not set to an instance of an object
  at scatterer.EVEReflectionHandler.mapEVEVolumetrics (System.String celestialBodyName, System.Collections.Generic.List`1[T] EVEvolumetrics) [0x00156] in <684aa87c0d2345f8a9e4739403f4afff>:0 
[LOG 15:08:38.224] [Scatterer][Debug] Raymarched volumetric clouds error on planet: TektoSystem.NullReferenceException: Object reference not set to an instance of an object
  at scatterer.EVEReflectionHandler.mapEVEVolumetrics (System.String celestialBodyName, System.Collections.Generic.List`1[T] EVEvolumetrics) [0x00156] in <684aa87c0d2345f8a9e4739403f4afff>:0 
[LOG 15:08:38.224] [Scatterer][Debug]  Detected 4 EVE volumetric layers for planet: Tekto

could you tell me how to fix this and if it is even scatterer causing the crash?

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

I know that there is a known issue with TU and scatterer on some devices. For me, the sky is just black in the reflections on my crafts. has anyone found a way to fix this? Currently I have to go all the way back to 0.06 for the reflection of the sky to work GKr4CWa.jpg

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...