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

On 4/11/2020 at 3:21 PM, blackrack said:

You know, my own impression is that performance is better, however when I tried to compare the two, I found lower CPU usage but higher GPU usage in 1.9 , so performance increase might depend on which one is bottlenecking.

I should try to run a side by side test after lowering the terrain shader quality on 1.9 to match what is on 1.8.

My system got a huge boost from 1.9 stock, but I have a rather beefy system. lol

Link to comment
Share on other sites

On 4/5/2020 at 1:20 PM, Drew Kerman said:

Some Scatterer appreciation, taken in KSP v1.5.1

It got 0 upvotes on the KSP reddit cause apparently people can't enjoy beautiful things

Can we just take a moment to appreciate this is KSP, the same ksp I played back at 0.13, truly this game is a perfect example of the power and capability of a game's community when given the tools to use it's creativity

Edited by pingopete
Link to comment
Share on other sites

23 minutes ago, blackrack said:

Would be a shame if something happened to that huge boost :D

YES!  But at the same time, if it means visual quality I'm willing.  So far every update I get from the unofficial release has added just a tiny bit of performance and or visual quality though..................... between you two working on this I'm quite excited about what your next official roll out will look like! lol

 

Link to comment
Share on other sites

Hello everyone. I'm having a very frustrating time getting the graphics in my KSP to be consistent let alone accurate. So I have a perfect render most of the time from the menu screen of Kerbin and sometimes when initially loading in, however once I start playing the planet loses all of this, I have no ocean rendered, the atmosphere is black and the planet itself is a hue of orange and dark grey. The gameplay is fine but I find this extremely aggravating as I just want to enjoy proper visual while playing this. Any ideas?

Link to comment
Share on other sites

6 hours ago, Deadwake said:

Hello everyone. I'm having a very frustrating time getting the graphics in my KSP to be consistent let alone accurate. So I have a perfect render most of the time from the menu screen of Kerbin and sometimes when initially loading in, however once I start playing the planet loses all of this, I have no ocean rendered, the atmosphere is black and the planet itself is a hue of orange and dark grey. The gameplay is fine but I find this extremely aggravating as I just want to enjoy proper visual while playing this. Any ideas?

Completely understand your frustration.  At a minimum, people will need to know what version of KSP you're playing and what mods and their versions you have installed.  See the link in my sig block for guidance on what and how to post the information.

It could be as simple as a mod version mismatch.

Link to comment
Share on other sites

3 hours ago, ss8913 said:

F5/F9 (quicksave/quickload) has so far fixed all transient glitches I've experienced, which is mostly a case of water simply disappearing, both on Kerbin and on Laythe.

Have you checked on Eve? Whenever I have a mod conflict or issue with Gamedata, Eve's ocean disappears. If it doesn't, but does on Laythe, then it can be fixed with a quicksave.

Link to comment
Share on other sites

New version is uploading, it is compatible with 1.8 and 1.9. It includes various fixes and even fixes for stock KSP bugs (looking at you, flickering shadows), full changelog:

-Fix for 1.9.x (Maintain compatibility with 1.8.x)
-Fix for flickering shadows in Dx11 (stock game bug) (with option to disable it just in case)
-Temporary fix for EVE clouds sinking into planet in 1.9
-Temporary fix for EVE clouds being visible in plumes (thanks @R-T-B)
-Handle long-distance shadows on 1.9 Dx11 with a custom method
-Separate shadow settings for new unified camera mode (1.9 Dx11) and other modes using dual cameras
-Added options to override shadowMap resolution with long-distance shadows (defaults to 8K in unified camera mode, can be lowered along with shadows distance for saving performance)
-Added options to override shadowCascadeSplits with long-distance shadows
-Fix compatibility with stock reflection probes
-Fix planets and scaledSpace scenery being visible through other planetSurfaces in stock reflection probes (stock game bug)
-Fix ocean shadow artifacts
-Fade out ocean shadows correctly
-Fix foam/whitecaps becoming invisible in some situations
-Fix shores having weird scattering (mostly RSS/rescale bug)
-Fix Kopernicus ring shadows broken since Kopernicus refactor (only linear rings supported, tiled rings will not cast shadows)
-Fix issue with some cargo bays (stock drag cubes) causing low framerates and errors
-Added new setting to partially flatten scaledSpace mesh geometry, to be used when "naked" scaledSpace geometry is visible behind localSpace scattering and terrain (Kerbin needs this in 1.9)
-New, more readable options menu layout
-Better logging when initializing Scatterer celestial bodies

It will be up on spacedock and github shortly

Enjoy.

Edited by blackrack
Link to comment
Share on other sites

1 hour ago, blackrack said:

New version is uploading, it is compatible with 1.8 and 1.9. It includes various fixes and even fixes for stock KSP bugs (looking at you, flickering shadows), full changelog:


-Fix for 1.9.x (Maintain compatibility with 1.8.x)
-Fix for flickering shadows in Dx11 (stock game bug) (with option to disable it just in case)
-Temporary fix for EVE clouds sinking into planet in 1.9
-Temporary fix for EVE clouds being visible in plumes (thanks @R-T-B)
-Handle long-distance shadows on 1.9 Dx11 with a custom method
-Separate shadow settings for new unified camera mode (1.9 Dx11) and other modes using dual cameras
-Added options to override shadowMap resolution with long-distance shadows (defaults to 8K in unified camera mode, can be lowered along with shadows distance for saving performance)
-Added options to override shadowCascadeSplits with long-distance shadows
-Fix compatibility with stock reflection probes
-Fix planets and scaledSpace scenery being visible through other planetSurfaces in stock reflection probes (stock game bug)
-Fix ocean shadow artifacts
-Fade out ocean shadows correctly
-Fix foam/whitecaps becoming invisible in some situations
-Fix shores having weird scattering (mostly RSS/rescale bug)
-Fix Kopernicus ring shadows broken since Kopernicus refactor (only linear rings supported, tiled rings will not cast shadows)
-Fix issue with some cargo bays (stock drag cubes) causing low framerates and errors
-Added new setting to partially flatten scaledSpace mesh geometry, to be used when "naked" scaledSpace geometry is visible behind localSpace scattering and terrain (Kerbin needs this in 1.9)
-New, more readable options menu layout
-Better logging when initializing Scatterer celestial bodies

It will be up on spacedock and github shortly

Enjoy.

Can't wait to update to the final release, Thanks Rack!

 

Spoiler

also thanks to RTB for helping everyone in updating!

 

Edited by alberro+
Link to comment
Share on other sites

And with that, my old builds are hearby deprecated until such time as I am needed again (wherever that may be, may look into other projects).

Please use blackracks official builds from  here.  He does a much better job for me, I was just giving us something in the interim.  (Glad we didn't have to mess with clipping planes in the end man!)

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

I just install the new version of scatterer in replacement of @R-T-B version.

I have a visual bug, half of my screen seem missing. I do not have this error with R-T-B version:

Version 1.9.1

List of mod:

Spoiler

Stock assembly: Assembly-CSharp v0.0.0.0
ModuleManager v4.1.3.0
000_AT_Utils v1.9.0.0
001_AnisotropicPartResizer v1.4.0.0
002_MultiAnimators v1.2.0.0
0_00_AT_Utils_UI v1.0.0.0
ConfigurableContainers v2.4.8.0
SubmodelResizer v1.0.0.0
ClickThroughBlocker v0.1.9.5 / v1.0.0.0
BlendshapeModelLoader v1.0.0.0
TexturesUnlimited v0.0.0.0
aaa_Toolbar v1.8.0.5
USITools v1.0.0.0
ToolbarControl v0.1.9.4 / v1.0.0.0
ControlSurfaceToggle v1.3.2.3 / v1.0.0.0
AnimatedDecouplers v1.4.2.17895
ASETPropsIdentifier v1.5.0.0
AtmosphereAutopilot v1.5.16.0
AtmosphereAutopilot.UI v1.0.0.0
B9PartSwitch v2.16.0.0 / vv2.16.0
BetterBurnTime v1.0.0.0
BDB v1.4.3.0
CameraTools v1.14.0.0
Chatterer v0.9.99.2788
ComfortableLanding v1.5.0.0
CCK v5.0.0.0 / v4.1.0.0 for KSP 1.6.0
KXAPI v1.0.0.0
CraftManager v1.0.7240.23210
KatLib v1.0.7240.21438
CustomPreLaunchChecks v1.0.0.0 / v1.8.1.0
DecouplerShroud v1.0.0.0
DistantObject v2.0.0.2
DMModuleScienceAnimateGeneric v0.22.0.0
DynamicBatteryStorage v1.0.0.0
Atmosphere v1.8.0.2
CelestialShadows v1.8.0.2
CityLights v1.8.0.2
EVEManager v1.8.0.2
PartFX v1.8.0.2
PQSManager v1.8.0.2
ShaderLoader v1.8.0.2
Terrain v1.8.0.2
TextureConfig v1.8.0.2
Utils v1.8.0.2
_BuildManager v1.8.0.2
Firespitter v7.3.7287.12431
GravityTurn v1.8.0.3
GC.UI v1.0.0.0
GroundConstruction v2.6.0.0
HullCamera v0.2.0.0
JanitorsCloset v0.3.7.0 / v1.0.0.0
RasterPropMonitor v0.31.3.27057
KAS-API-v2 v2.0.7239.35367 / vKAS API v2
KAS v1.5.7239.36651 / v1.5 for KSP 1.8+
KSPDev_Utils.2.0 v2.0.7231.38433 / v2.0 for KSP v1.8+
KerbalJointReinforcementNext v4.1.15.0
KerbalKonstructs v2.0.0.0 / v1.8.1.15
DeployableAeroSurfaces v1.0.0.0
HyperEdit v1.5.8.0 / v1.5.8
KIS v1.24.7279.41031 / v1.24 for KSP 1.8+
KSPDev_Utils.2.1 v2.1.7279.39857 / v2.1 for KSP v1.8+
Kopernicus.Parser v1.0.0.0
ModularFlightIntegrator v1.0.0.0 / v1.2.7.0
Kopernicus v1.0.0.0
KSCSwitcher v1.8.0.0
KatLib v1.0.7240.21438
IRSurfaceSampler v1.0.1.7 / v1.7
InfernalRobotics_v3 v3.0.0.0
KJRjoint v1.0.0.0
Scale_Redist v1.0.0.0
MechJeb2 v2.5.1.0 / v / v2.9.2.0
NearFutureElectrical v1.0.0.0
NearFutureExploration v0.4.0.0
NFPropUtils v1.0.0.0
NearFuturePropulsion v0.9.0.0
NearFutureSolar v0.4.0.0
PebkacLaunchEscape2 v1.4.2.0 / v1.2.2.2
PlanetShine v0.2.6.1
PreciseEditor v1.0.0.0
RealSolarSystem v0.18.0.0
ReentryParticleEffectRenewed v1.8.1.0
Restock v0.1.0.0
RetractableLiftingSurface v0.2.0.0 / v1.0.0.0
RSSTimeFormatter v1.6.1.0
RSSVE v1.6.1.2401 / v1.6.1.1
scatterer v0.0.0.0
SmartParts v1.9.15.0
SmokeScreen v2.8.13.0
Stock assembly: KSPSteamCtrlr v0.0.1.35
HabUtils v1.0.0.0
Targetron v1.6.2.31896 / v1.6.2
TarsierSpaceTech v7.10.0.0
TextureReplacer v4.1.3.1559
TimeControl v2.9.7.0
LightTracker v1.0.0.0
TrajectoriesBootstrap v1.0.0.0
TUFX v1.0.0.0
ControlActionGroup v1.0.0.0
HabUtils v1.0.0.0
SootyShaderLoader v1.0.0.0
KSPe.Light.TweakScale v2.1.0.17
Scale v2.4.3.11
KolonyTools v1.0.0.0
VesselMover v1.9.0.0
VesselView v0.8.8.3 / v1.0.0.0
VesselViewRPM v0.8.8.3 / v1.0.0.0
VVDiscoDisplay v0.8.8.3 / v1.0.0.0
VVPartSelector v0.8.8.3 / v1.0.0.0
BARISBridge v1.0.0.0
WildBlueTools v1.0.0.0
KerbalActuators v1.0.0.0
Buffalo v1.0.0.0
DSEVUtils v1.0.0.0
MoleUtils v1.0.0.0
Pathfinder v1.0.0.0
ZeroMiniAVC v1.1.0.1

 

Reproduction steps:

Naturally happen on main menu and flight, do not happen in VAB

 

Screen:

GNV86mNl.jpg

 

KSP log:

https://www.dropbox.com/s/wf51ks43gxtyoys/KSP Log Scatterer Bug.txt?dl=0

 

Thanks in advance for help.

Edited by josselin2196
Link to comment
Share on other sites

Hello all,

Ive just installed this latest scatterer version for 1.9.1 into a completely new and clean install of KSP and all Im getting is the frosty looking sky around kerbin...no clouds or any other of the scatter effects. Are there any dependencies to be installed with scatter? Ive tried EVE and that dosnt help me. I didnt see any dependencies on the post.  Just wondering if Im missing something. Cant play KSP without scatterer anymore! :P Any suggestions greatly received.

Link to comment
Share on other sites

9 hours ago, josselin2196 said:

I just install the new version of scatterer in replacement of @R-T-B version.

I have a visual bug, half of my screen seem missing. I do not have this error with R-T-B version:

Version 1.9.1

List of mod:

  Reveal hidden contents

Stock assembly: Assembly-CSharp v0.0.0.0
ModuleManager v4.1.3.0
000_AT_Utils v1.9.0.0
001_AnisotropicPartResizer v1.4.0.0
002_MultiAnimators v1.2.0.0
0_00_AT_Utils_UI v1.0.0.0
ConfigurableContainers v2.4.8.0
SubmodelResizer v1.0.0.0
ClickThroughBlocker v0.1.9.5 / v1.0.0.0
BlendshapeModelLoader v1.0.0.0
TexturesUnlimited v0.0.0.0
aaa_Toolbar v1.8.0.5
USITools v1.0.0.0
ToolbarControl v0.1.9.4 / v1.0.0.0
ControlSurfaceToggle v1.3.2.3 / v1.0.0.0
AnimatedDecouplers v1.4.2.17895
ASETPropsIdentifier v1.5.0.0
AtmosphereAutopilot v1.5.16.0
AtmosphereAutopilot.UI v1.0.0.0
B9PartSwitch v2.16.0.0 / vv2.16.0
BetterBurnTime v1.0.0.0
BDB v1.4.3.0
CameraTools v1.14.0.0
Chatterer v0.9.99.2788
ComfortableLanding v1.5.0.0
CCK v5.0.0.0 / v4.1.0.0 for KSP 1.6.0
KXAPI v1.0.0.0
CraftManager v1.0.7240.23210
KatLib v1.0.7240.21438
CustomPreLaunchChecks v1.0.0.0 / v1.8.1.0
DecouplerShroud v1.0.0.0
DistantObject v2.0.0.2
DMModuleScienceAnimateGeneric v0.22.0.0
DynamicBatteryStorage v1.0.0.0
Atmosphere v1.8.0.2
CelestialShadows v1.8.0.2
CityLights v1.8.0.2
EVEManager v1.8.0.2
PartFX v1.8.0.2
PQSManager v1.8.0.2
ShaderLoader v1.8.0.2
Terrain v1.8.0.2
TextureConfig v1.8.0.2
Utils v1.8.0.2
_BuildManager v1.8.0.2
Firespitter v7.3.7287.12431
GravityTurn v1.8.0.3
GC.UI v1.0.0.0
GroundConstruction v2.6.0.0
HullCamera v0.2.0.0
JanitorsCloset v0.3.7.0 / v1.0.0.0
RasterPropMonitor v0.31.3.27057
KAS-API-v2 v2.0.7239.35367 / vKAS API v2
KAS v1.5.7239.36651 / v1.5 for KSP 1.8+
KSPDev_Utils.2.0 v2.0.7231.38433 / v2.0 for KSP v1.8+
KerbalJointReinforcementNext v4.1.15.0
KerbalKonstructs v2.0.0.0 / v1.8.1.15
DeployableAeroSurfaces v1.0.0.0
HyperEdit v1.5.8.0 / v1.5.8
KIS v1.24.7279.41031 / v1.24 for KSP 1.8+
KSPDev_Utils.2.1 v2.1.7279.39857 / v2.1 for KSP v1.8+
Kopernicus.Parser v1.0.0.0
ModularFlightIntegrator v1.0.0.0 / v1.2.7.0
Kopernicus v1.0.0.0
KSCSwitcher v1.8.0.0
KatLib v1.0.7240.21438
IRSurfaceSampler v1.0.1.7 / v1.7
InfernalRobotics_v3 v3.0.0.0
KJRjoint v1.0.0.0
Scale_Redist v1.0.0.0
MechJeb2 v2.5.1.0 / v / v2.9.2.0
NearFutureElectrical v1.0.0.0
NearFutureExploration v0.4.0.0
NFPropUtils v1.0.0.0
NearFuturePropulsion v0.9.0.0
NearFutureSolar v0.4.0.0
PebkacLaunchEscape2 v1.4.2.0 / v1.2.2.2
PlanetShine v0.2.6.1
PreciseEditor v1.0.0.0
RealSolarSystem v0.18.0.0
ReentryParticleEffectRenewed v1.8.1.0
Restock v0.1.0.0
RetractableLiftingSurface v0.2.0.0 / v1.0.0.0
RSSTimeFormatter v1.6.1.0
RSSVE v1.6.1.2401 / v1.6.1.1
scatterer v0.0.0.0
SmartParts v1.9.15.0
SmokeScreen v2.8.13.0
Stock assembly: KSPSteamCtrlr v0.0.1.35
HabUtils v1.0.0.0
Targetron v1.6.2.31896 / v1.6.2
TarsierSpaceTech v7.10.0.0
TextureReplacer v4.1.3.1559
TimeControl v2.9.7.0
LightTracker v1.0.0.0
TrajectoriesBootstrap v1.0.0.0
TUFX v1.0.0.0
ControlActionGroup v1.0.0.0
HabUtils v1.0.0.0
SootyShaderLoader v1.0.0.0
KSPe.Light.TweakScale v2.1.0.17
Scale v2.4.3.11
KolonyTools v1.0.0.0
VesselMover v1.9.0.0
VesselView v0.8.8.3 / v1.0.0.0
VesselViewRPM v0.8.8.3 / v1.0.0.0
VVDiscoDisplay v0.8.8.3 / v1.0.0.0
VVPartSelector v0.8.8.3 / v1.0.0.0
BARISBridge v1.0.0.0
WildBlueTools v1.0.0.0
KerbalActuators v1.0.0.0
Buffalo v1.0.0.0
DSEVUtils v1.0.0.0
MoleUtils v1.0.0.0
Pathfinder v1.0.0.0
ZeroMiniAVC v1.1.0.1

 

Reproduction steps:

Naturally happen on main menu and flight, do not happen in VAB

 

Screen:

GNV86mNl.jpg

 

KSP log:

https://www.dropbox.com/s/wf51ks43gxtyoys/KSP Log Scatterer Bug.txt?dl=0

 

Thanks in advance for help.

I don't see any issues in your log, so you have to narrow it down. What you can try:

-Disable long distance shadows (and restart)

-Disable KSP's reflection probes

-Remove all mods

-Add back RSS

-Add back chunks of mods progressively until you find the issue

3 hours ago, Dashman said:

Hello all,

Ive just installed this latest scatterer version for 1.9.1 into a completely new and clean install of KSP and all Im getting is the frosty looking sky around kerbin...no clouds or any other of the scatter effects. Are there any dependencies to be installed with scatter? Ive tried EVE and that dosnt help me. I didnt see any dependencies on the post.  Just wondering if Im missing something. Cant play KSP without scatterer anymore! :P Any suggestions greatly received.

Screens+logs please, there's no dependencies

Edited by blackrack
Link to comment
Share on other sites

15 hours ago, blackrack said:

New version is uploading, it is compatible with 1.8 and 1.9. It includes various fixes and even fixes for stock KSP bugs (looking at you, flickering shadows), full changelog:

[...]

Enjoy.

GG man, thanks for your work!

Link to comment
Share on other sites

14 hours ago, blackrack said:

I don't see any issues in your log, so you have to narrow it down. What you can try:

-Disable long distance shadows (and restart)

-Disable KSP's reflection probes

-Remove all mods

-Add back RSS

-Add back chunks of mods progressively until you find the issue

Screens+logs please, there's no dependencies

Find where the bug come from, i make steam check file integrity, it find 20 file missing, for some reason steam screw up with 1.9 install. The game work fine now.

On another note i try some TUFX config file of a friend, scatterer + Tufx make KSP absolutely beautiful.

 

Link to comment
Share on other sites

Hello all,

Ive just installed this latest scatterer version for 1.9.1 into a completely new and clean install of KSP and all Im getting is the frosty looking sky around kerbin...no clouds or any other of the scatter effects. Are there any dependencies to be installed with scatter? Ive tried EVE and that dosnt help me. I didnt see any dependencies on the post.  Just wondering if Im missing something. Cant play KSP without scatterer anymore! :P Any suggestions greatly received.

Thankyou. Hopefully this link works:

https://www.dropbox.com/sh/egdtm1dktkg5i77/AAAuLLMHw5TAJUpC8dnJifLIa?dl=0

 

Link to comment
Share on other sites

5 hours ago, Dashman said:

Hello all,

Ive just installed this latest scatterer version for 1.9.1 into a completely new and clean install of KSP and all Im getting is the frosty looking sky around kerbin...no clouds or any other of the scatter effects. Are there any dependencies to be installed with scatter? Ive tried EVE and that dosnt help me. I didnt see any dependencies on the post.  Just wondering if Im missing something. Cant play KSP without scatterer anymore! :P Any suggestions greatly received.

Thankyou. Hopefully this link works:

https://www.dropbox.com/sh/egdtm1dktkg5i77/AAAuLLMHw5TAJUpC8dnJifLIa?dl=0

 

All I see is a screenshot of Kerbin in mapview, which looks how it's supposed to look. Scatterer doesn't do clouds, EVE does.

Edited by blackrack
Link to comment
Share on other sites

@blackrackI'll see if there are any bugs. But the new menu for it is very nice and It seems to be working very well with AVP. Although, when I really test I need Kopernicus and EVE to be officially updated to 1.9.1. 

So far I've seen no problems and It works really well. 

 

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