Giter VIP home page Giter VIP logo

deferred's Introduction

Deferred - Adding deferred rendering to KSP

You'll find an explanation of what the mod does here.

Install instructions

Automatic installation

Get CKAN and use it to install Deferred. CKAN is recommended because it automatically handles dependencies and mod conflicts.

Manual installation

Go to releases and grab the latest .zip. Unzip it, merge the provided GameData folder with your game's GameData folder (typically C:\Program Files\Steam\SteamApps\common\Kerbal Space Program\GameData).

Get the latest version of Shabby and install it in the same way.

Get the latest version of HarmonyKSP and install it in the same way.

You should see the following folder structure:

Kerbal Space program
└──────GameData
		├──────000_Harmony
		├──────Shabby
		└──────zzz_Deferred

Make sure you downloaded the release linked above and not the code, if you see Deferred-Master you messed up and downloaded the code.

Check the mod compatibility list below and update mods as needed.

Reporting issues

To report an issue add screenshots of the issue, reproduction steps and your KSP.log file, otherwise your report may not be taken into account.

Limitations/known issues

Transparency

Traditional transparency doesn't work in deferred rendering for opaque objects (only used in the editors in KSP). To emulate transparency, a stylized dissolve effect (left on the below image) is used on fairing-only shaders.

A dithering effect (right on the below image) can be applied on regular shaders but is disabled by default because it is distracting (you'll find an option in the settings file).

enter image description here

Mod compatibility status

In no particular order. Mods that say "renders in forward" means they may appear to render correctly but get no deferred benefits for now (no lighting perf improvements, not compatible with any deferred ambient/lighting/effects)

Mod Status Notes
Textures Unlimited Compatible via the latest version on CKAN or github
Parallax Compatible via the latest version
Conformal decals Renders in forward via the latest version, otherwise incompatible
B9 Procedural Wings Compatible via the latest version
Scatterer Compatible
EVE-Redux Compatible
Volumetric clouds (and related Scatterer versions) Fixed individual DLLs can be downloaded here for v3 and v4, or full updated downloads are provided on Patreon if you still have access. v1 and v2 appear to be compatible
TUFX Compatible
Kopernicus Compatible
Waterfall Compatible
KerbalVR Compatible
SimpleAdjustableFairings Compatible
KerbalKonstructs Compatible
Engine Lighting Compatible
Kronal Vessel Viewer Compatible
KSRSS Compatible
RSS Compatible
PlanetShine Compatible, but obsolete at default settings. Use if you have custom settings, want more control over lighting and know what you are doing
RasterPropMonitor Use compatible fork or wait for merge in official version
ASET IVA Props and related mods Use compatible RPM fork, otherwise black outline around labels
Magpie Mods If you must use it, get latest compatible TU version then replace deprecated shaders in configs
FreeIVA Mostly compatible, other parts of the craft will appear hollow when see through windows
Shaddy Renders in forward
NeptuneCamera Incompatible
ProceduralFairings Incompatible, white fairings on hover
Camera mods Unknown/untested

Debug menu

Using alt + d ( right shift + d on linux) will bring up a simple debug menu cycling between the contents of the g-buffer (albedo, normals, smoothness, specularColor, occlusion) and a composite of the emission+calculated ambient

Transparencies and incompatible forward shaders will render on top of the debug visualization, ignoring the g-buffer mode selected. This can also be used to identify incompatible/forward shaders (ignoring transparencies)

enter image description here

Stencil buffer usage

Only 3 bits of the stencil buffer appear to be available in deferred rendering because the rest are used internally by Unity. This is undocumented for version 2019.4 of Unity but the available bits appear to be bits 0, 1, and 5, which correspond to values 1, 2, and 32. Because this is undocumented this usage could turn out to be wrong and bugs may be discovered in the future. Later versions of the documentation say that only bit 5 is actually available, this may not be true for 2019.4 and seems to work in KSP.

Stencil buffer is useful for applying post effects selectively to certain surfaces, we can take advantage of it here since we are using new shaders and can implement stencil everywhere. I propose the following stencil values be used for masking, they are already used by this mod for replaced shaders:

Surface/Shader type Stencil value Notes
Parts 1
Terrain (stock/parallax) 2 Already used in this mod to emulate the PQS's alpha fade to scaled, since it is impossible to do alpha blending otherwise in deferred (dithering looked really bad here and caused other issues with visual mods)
Local scenery (buildings + stock/parallax scatters) 3
Parallax grass 32 Parallax grass has normals that point upwards, matching the terrain and not the grass itself so it might be worthwhile to have a separate stencil value for it, for any image effects that might need accurate normals

Writing stencil values

To write stencil values from a shader, add a stencil block with the stencil value to write, e.g for parts:

    Tags { "RenderType"="Opaque" }

    Stencil
    {
        Ref 1
        Comp Always
        Pass Replace
    }  

    CGPROGRAM
    ...

Testing stencil values

For testing/checking stencil values in a post effect, multiple approaches can be used as seen in https://docs.unity3d.com/Manual/SL-Stencil.html

Here are examples to check for the surfaces above or combinations of them

Checking for parts only

Check only for value 1

        Stencil
        {
            Ref 1
            Comp Equal
            ReadMask 35
            Pass Keep
        }

Checking for PQS only

Check only for value 2

        Stencil
        {
            Ref 2
            Comp Equal
            ReadMask 35
            Pass Keep
        }

Checking for Scenery only

Check only for value 3

        Stencil
        {
            Ref 3
            Comp Equal
            ReadMask 35
            Pass Keep
        }

Checking for Parallax grass only

Check only for value 32

        Stencil
        {
            Ref 32
            Comp Equal
            ReadMask 35
            Pass Keep
        }

Checking for PQS or scenery but not grass

Check for values less or equal to 3 greater than 1

        Stencil
        {
            Ref 1
            Comp Less
            ReadMask 3
            Pass Keep
        }

Checking for PQS or scenery or grass

Check for values less or equal to 35 greater than 1

        Stencil
        {
            Ref 1
            Comp Less
            ReadMask 35
            Pass Keep
        }

Checking for grass or scenery but not PQS

Check for values less or equal to 35 greater than 2

        Stencil
        {
            Ref 2
            Comp Less
            ReadMask 35
            Pass Keep
        }

deferred's People

Contributors

lghassen avatar

Stargazers

William Bruce avatar Planet avatar  avatar Alexyoe avatar  avatar  avatar  avatar Ker avatar August avatar Pete avatar  avatar Indor avatar Lucas Ricci avatar Alexander Aeppli avatar Fabio Ramirez Stern avatar Chris Heisel avatar  avatar wokzhongson avatar Matthew Modica avatar Merlin Attila Fejzuli avatar  avatar  avatar  avatar Erik avatar  avatar  avatar ultraflame42 avatar Noah avatar  avatar jarvis09 avatar Jeremy Craft avatar  avatar  avatar Alex Hagood avatar Ivan Kalinin avatar Supercheese avatar Rafael Baboni Dominiquini avatar  avatar Strubbelkopp avatar Maciej Tkaczewski avatar  avatar legobionicle avatar  avatar Vladimir Arabadzhi avatar Zap avatar Jimmy Cushnie avatar Alexander Shugalevskii avatar  avatar  avatar  avatar  avatar  avatar Xenon Titanium avatar William Yang avatar Evian McKeown avatar  avatar Jorge Junior avatar  avatar  avatar Rick avatar xameryn avatar freehelpdesk avatar Joshua Stoll avatar Kerbiter avatar kurple avatar Nikki avatar Daniel Lewan avatar  avatar Aebestach avatar Halban avatar

Watchers

 avatar Pete avatar  avatar

Forkers

net-lisias-ksph

deferred's Issues

FreeIVA exterior textures missing

On a fresh install using only Deferred 1.1.12 and FreeIVA some textures are transparent/missing when looking out from a spacecraft's window at another part belonging to the same spacecraft. See the debug screenshots below.

Exterior
screenshot0
screenshot1
screenshot2
screenshot3
screenshot4
screenshot5
screenshot6
screenshot7

Certain modded part's 'Line drawers' cant' draw lines

I'm using the DMagic Orbital Science mod, and I'm seeing one part (asteroid scanner) cannot draw itself properly. Seemingly turned the line or cone into a simple pink rectangle, oopsie!

image

Using latest (v1.10) deferred renderer with latest Scatterer, SMAA only (TAA's blur and destruction of the stars/space in orbit is too distracting. Dunno if you could ever rig in DLSS2/FSR2 with the depth data you get?)

Seemingly gets occluded properly by deferred rendering, but only in debug

image

image

Bug: Terrain fails to load when Deferred is installed

This occurs only when deferred is installed. Have tried several combinations of enabled and disabled mods.

Steps to reproduce:

  1. Install mod
  2. Load savegame
  3. Terrain is missing

Screenshots:
ss2
ss1

Files in GameData folder:
ss3
Note: V4 of the Fixed Volumetrics Deferred Rendering patch has been applied.

List of mods:

  • Chatterer
  • Community Tech Tree
  • Easy Vessel Switch (EVS)
  • Kerbal Attachment System (KAS)
  • Kerbal Engineer Redux
  • Kerbal Inventory System (KIS)
  • Kerbal Planetary Base Systems
  • KSP Recall
  • Mechjeb 2
  • Parallax
  • Restock
  • Scatterer
  • TUFX
  • True volumetric clouds release 4
  • Kopernicus
  • Deferred

Water glitch when craft is near/in the water

I made a new craft in a new save, launched it, opened a parachute at ~2000m, at around ~1000m or below some growing black patches appeared. When camera is moved to a place where patches weren't seen, they begin to appear and grow. When my craft landed camera went underwater for a sec and all the patches were gone for a minute, but then appeared and grew again.

I recently installed EVE, Scatterer, Spectra and Parallax, later TUFX. When I was installing TUFX in CKAN, Scatterer mod as well as configs were missing, I installed them back thinking that it was a reason of the issue, but it wasnt.

Here's a link for a log file since I cant load it here directly. Deleted the screenshots, but i can record a video if needed, thanks for amazing mods!

https://www.transfernow.net/dl/20240704xsuBk3Zm

My nickname on the KSP forum is Fanta_Racer is you need another point of contact.

Black outlines when loading into dark scenes

Since installing, I have had the issue were when loading into scenes that are in shadow, black outlines appear around both craft, clouds and planets/moons. These outlines stay indefinitely unless I timewarp to when its day/on the light side of bodies and reload the scene from either the tracking station/ VAB/SPH or switching vessels.

20240814190027_1

The other visual mods i have installed, in no particular order, are Shabby, Shaddy, Parallax, Scatterer, Spectra, TUFX with the Blackrack Config, EVE Redux and Distant Object Enhancement. These are all on their latest versions.

I would upload the log, but the file is too large.

Failure in subsystem : Internal props compilation

Hi. I installed the latest update and my game is now refusing to load. It always crashes when trying to load Prop: Squad/Props/PropsGeneric/Seat_Pilot/Seat_Pilot
The following is the error message it gives me while loading:
Loading has failed due to an unhandled error

Failure in subsystem : Internal props compilation
Prop: Squad/Props/PropsGeneric/Seat_Pilot/Seat_Pilot

System.NullReferenceException: Object reference not set to an instance of an object
at PartLoader.ReplaceTextures (UnityEngine.GameObject model, System.Collections.Generic.List1[T] textureNames, System.Collections.Generic.List1[T] newTextures) [0x00247] in <4b449f2841f84227adfaad3149c8fdba>:0
at PartLoader.CompileModel (UrlDir+UrlConfig cfg, ConfigNode partCfg, System.Single scaleFactor, AvailablePart partInfo) [0x004d4] in <4b449f2841f84227adfaad3149c8fdba>:0
at PartLoader.LoadInternalProp (UrlDir+UrlConfig urlConf) [0x00053] in <4b449f2841f84227adfaad3149c8fdba>:0
at PartLoader+d__75.MoveNext () [0x000c3] in <4b449f2841f84227adfaad3149c8fdba>:0
at KSPCommunityFixes.Performance.KSPCFFastLoader+d__63.MoveNext () [0x00146] in :0

The following is the contents of my GameData folder:
000_ClickThroughBlocker
000_Harmony
000_NiakoUtils
000_TexturesUnlimited
000_Toolbar
001_ToolbarControl
AllYAll
Apex
ASET
Astrogator
AtmosphereAutopilot
AutoAGL
AutoAsparagus
AvaliSpaceProgram
B9PartSwitch
B9_Aerospace_ProceduralWings
Benjee10_sharedAssets
Benjee10_stowaway
BetterRocketDesigns
CommunityResourcePack
ContinuousCollisions
ContractConfigurator
CorrectCOL
CustomPreLaunchChecks
DecouplerShroud
Deferred
DE_IVAExtension
DiffuseR
EasyBoard
EasyVesselSwitch
EditorExtensionsRedux
EnvironmentalVisualEnhancements
EvenMoarActionables
ExtraplanetaryLaunchpads
FieldTrainingFacility
FillItUp
Firespitter
ForScience
FreeIva
FreeLaunchClamps
FuelMyShip
GRAPEFRUIT
GravityTurn
GroundEffect
HabTechProps
HideEmptyTechTreeNodes
HUDReplacer
Interkosmos
IVA_Patches
JoolBiomes
JSI
kAerospace
KcalbelohSystem
KEI
KerbalEngineer
KerbalJointReinforcement
KerbalKonstructs
KerbalStats
KerbalVR
KerbealisticDocking
KerboKatz
KerbthulhuKineticsProgram
KesslerSyndrome
KGEx
Kopernicus
KopernicusExpansion
Kronometer
KSA
KSCExtended
KSCHarbor
KspBugReport
KSPCommunityFixes
KSPIRC
KSTS
LadderWarp
LagrangeProyect
LazyPainter
M-ISPx2
MechJeb2
MechJebForAll
MiningExpansion
Mk3Expansion
Mkerb
MoarActionables
ModularFlightIntegrator
NavyFish
NearFutureProps
NightShift
NotSoSimpleConstruction
Nymbat
OSSNTR
ParallaxR
PartCommanderContinued
PatchManager
PersistentRotation
PhysicsHold
PlanetShine
ProbeControlRoom
ProceduralFairings
QuickBASIC
QuickMods
RationalResourcesParts
RCSBuildAid
RealisticAtmospheres
Rescale 10.618x
RetractableLiftingSurface
Reviva
RocketSoundEnhancement
RocketSoundEnhancementDefault
SCANsat
Shabby
Shaddy
Sigma
SigmaDimensions
SimpleConstruction
SimpleLogistics
Singularity
SmartParts
SmartStage
SmokeScreen
SpaceTuxLibrary
SpaceY
Spectra
Stock folder: Squad

Stock folder: SquadExpansion

StageRecovery
StationScience
SurfaceLights
SushutsMainMenu
SXT
TeaKettleRCS
TextureReplacer
ThroughTheEyes
Trajectories
TriggerTech
TSSafetyNet
TundraSpaceCenter
TURD
TweakScale
UJModlets
VariantPersist
VesselView
VRAMr
WarpEverywhere
WhereCanIGo
ZTheme
zzz_Deferred
999_Scale_Redist.dll
999_Scale_Redist.version
DockingPortExtendedRotation.cfg
ModuleManager.4.2.3.dll
ModuleManager.ConfigCache
ModuleManager.ConfigSHA
ModuleManager.Physics
ModuleManager.TechTree
MultiStarSolarPanels.cfg
RS-25 SSME.cfg
S.A.V.E.dat
toolbar-settings.dat
VR_human_hands.cfg

Removed duplicate Deferred folder.
Removed KSP Community Fixes.
Loading hangs at Squad/Props/PropsGeneric/Seat_Pilot/Seat_Pilot

Dark side of moons/planets is not (completely) dark

Hey (thanks for the amazing work):

After installing Deffered Lightning, I had this bug appear where dark side of planets and moons terrains would not be completely dark anymore (see pictures).
I have the impression that there is a "distance" between the craft and the body where some lightning effect would apply because the area is bigger when the altitude is lower (Duna : small surface of terrain being lit / Mun : larger area).
Related to that, the craft will always be visible, even in pitch black.

When installing DL, I also had to manually update Kopernicus, Textures Unlimited and Parallax so I'm also looking there also I find it less likely the problem is coming from there.

Any ideas?
Best regards

KSP.log

KSP DL Bug - Eve
KSP DL Bug - Duna
KSP DL Bug - Mun
KSP DL bug - Eeloo

TU compatiblity fork and fairings

First of all thank you for your amazing work. I apologize in advance if this is the wrong way to communicate this issue... but I couldn't find another.

I have found that the current TU compatibility fork breaks the fairings when using TURD, forcing white color regardless of stock variant selection (orange, etc) and disabling the recoloring features completely. I am aware that fairings are listed as not working properly on TURD's forum page, so I understand if there is no reason to bother with this, however, I had them working properly, and I have tested and verified that it is the compatibility fork that causes this issue.

I believe the reason for this is the Transparency effects changes that Deferred introduces . I do not know nearly enough about any of this to be sure, but I imagine a proper fix would probably require work from whoever is behind TURD, and in any case I understand that getting these two things to work together is not anyone's priority.

That said, in the current state this forces a choice between TU-Deferred compatibility and working fairings, which is a shame. I humbly request if it were at all possible to make a version of the compatibility fork that excludes fairings from Deferred completely, such that they "Render in Forward" as it is called on the main page.

terrein has weird effect.

Hello! i installed all the mods related to this post and now I have a problem. it is showing a circle of black particles around my vessel, and only when zoomed in.
image

(Initial) EVA headlamps temporarily wink out when using MMU

Playing with the Initial Release build the other day, I observed that the EVA headlamp would momentarily shut off when inputs were given to the jetpack. A brief additional test with only Squad and SquadExpansion installed failed to replicate it, confirming the issue's source.
Only these mods were installed (IIRC)

  • Deferred
  • TUFX
  • Volumetric Clouds (Early-access EVE Redux & Scatterer)
  • ReStock
  • ReStock Plus

This feels like the sort of thing that would be silently fixed, but I didn't see it explicitly mentioned in the more recent release notes from this morning. Logs are unavailable as they were overwritten a short while later.

headlamp.mp4

Issues in RSS (and related mods)

The terrain fails to load in the editor scene.
image

Something strange happens with the shadow details when moving the camera around in the editor.
image
image
image
image

The terrain is very shiny in the flight scene. (seems fine in the KSC scene as far as I can tell)
image
image

Procedural Fairings turn white when the mouse is hovered near them, instead of the expected translucent. (this is probably the noted transparency issue)
https://youtu.be/BGDT3lRFajA

KSP.log:
https://drive.google.com/file/d/1bwIq-_UrPBlHx9xJ1oz3WuBvVBFn5qdO/view?usp=sharing

Installed mods:

Actual Sites: Airports (ActualSitesAirports 1.0.1)
Advanced Jet Engine (AdvancedJetEngine v2.20.0)
AlphaMensae's Modular Launch Pads (ModularLaunchPads 2.7.0)
Approved Popular Pre-Launch Experiment (APPLE 1:1.1.9.1)
ASET Consolidated Agency (ASETAgency v2.0.2)
ASET Consolidated Avionics Pack (ASETAvionics v3.0.1)
ASET Consolidated Props Pack (ASETProps v2.0.7)
AtmosphereAutopilot (Fly-By-Wire) (AtmosphereAutopilot v1.6.1)
AutoRCS (AutoRCS 1.1)
B9 Aerospace Procedural Wings - Fork (B9-PWings-Fork 3:0.45.1)
B9 Part Switch (B9PartSwitch v2.20.0)
BahamutoD Animation Modules (BDAnimationModules 1:v0.6.7.1)
BetterBurnTime (BetterBurnTime 1.10)
BetterCrewAssignment (BetterCrewAssignment 1.4.1)
Camera Tools continued (CameraTools v1.34.0)
Chatterer (Chatterer 0.9.99)
Chatterer Extended (ChattererExtended 0.6.2)
ClickThrough Blocker (ClickThroughBlocker 1:2.1.10.21)
Community Category Kit (CommunityCategoryKit v112.0.1)
Community Resource Pack (CommunityResourcePack v112.0.1)
Conformal Decals (ConformalDecals 0.2.14)
Contract Configurator (ContractConfigurator v2.10.0.0)
Cryo Tanks (CryoTanks 1.6.5)
Cryo Tanks Core (CryoTanks-Core 1.6.5)
Cryogenic Engines (CryoEngines 1:2.0.6)
Custom Barn Kit (CustomBarnKit 1.1.22.0)
Custom Parachute Message (CustomParachuteMessage v1.0.1)
Custom Pre Launch Checks (CustomPreLaunchChecks 1.8.1.1)
DE_IVAExtension (DE-IVAExtension v1.2.0)
Debug Stuff (DebugStuff 1.7.0.0)
Deployable Engines Plugin (DeployableEngines 1.3.1)
Diazo's Landing Height Display (DiazosLandingHeight 2.3.0.1)
Distant Object Enhancement /L (DistantObject v2.1.1.16)
Distant Object Enhancement /L default config (DistantObject-default v2.1.1.16)
Docking Port Alignment Indicator (DockingPortAlignmentIndicator 6.10.0.0)
Dynamic Battery Storage (DynamicBatteryStorage 2:2.2.5.0)
Editor Extensions Redux (EditorExtensionsRedux 3.4.5)
Environmental Visual Enhancements Redux (EnvironmentalVisualEnhancements 3:1.11.7.2)
Ferram Aerospace Research Continued (FerramAerospaceResearchContinued 3:0.16.1.2)
Filter Extensions - Default Configuration (FilterExtensionsDefaultConfig 3.2.9)
Filter Extensions - Plugin (FilterExtensions 3.2.9)
Firespitter Core (FirespitterCore v7.17)
Firespitter Resources config (FirespitterResourcesConfig v7.17)
FreeIva (FreeIva 0.2.18.4)
Hangar Extender (HangerExtenderExtended 3.6.0.2)
Harmony 2 (Harmony2 2.2.1.0)
Heat Control (HeatControl 0.6.1)
HullcamVDS Continued (HullcamVDSContinued 0.2.2.1)
Kerbal Alarm Clock (KerbalAlarmClock v3.14.0.0)
Kerbal Atomics (KerbalAtomics 1:1.3.3)
Kerbal Changelog (KerbalChangelog v1.4.2)
Kerbal Engineer Redux (KerbalEngineerRedux 1.1.9.0)
Kerbal Foundries2 (KerbalFoundriesContinued 2.4.8.18)
Kerbal Joint Reinforcement Continued (KerbalJointReinforcementContinued v3.7.5.0)
Kerbal Konstructs (KerbalKonstructs v1.8.7.0)
Kerbal Renamer (KerbalRenamer v1.7.0.0)
Kerbal Wind (KerbalWind 1:v1.0.2)
Kerbalism (Kerbalism 3.19)
Kerbalism - RealismOverhaul Config (Kerbalism-Config-RO v1.2.19.0)
Kopernicus Planetary System Modifier (Kopernicus 2:release-1.12.1-206)
KSA IVA Upgrade (KSAIVAUpgrade v1.6.7)
KSC Floodlights Mk2 (KSCFloodlightsMk2 1.0)
KSC Switcher (KSCSwitcher v2.1.0.0)
KSP Community Fixes (KSPCommunityFixes 1.35.2)
KSP Wheel (KSPWheel 1:0.16.14.33)
KSPBurst (KSPBurst v1.5.5.1)
Lunar Transfer Planner (LunarTransferPlanner v1.0.0)
MagiCore (MagiCore 1.4.0.0)
MechJeb 2 (MechJeb2 2.14.3.0)
Minimum Ambient Lighting Updated (MinAmbLightUpd 1.2.6.2)
ModularFlightIntegrator (ModularFlightIntegrator 1.2.10.0)
Module Manager (ModuleManager 4.2.3)
ModuleDepthMask (DepthMask 1.1.3)
Navball Docking Alignment Indicator CE-2 (NavballDockAlignIndCE 1.1.1.3)
NavHud (NavHudRenewed 1.4.0.5)
Near Future Electrical (NearFutureElectrical 1.2.3)
Near Future Electrical Core (NearFutureElectrical-Core 1.2.3)
Near Future Exploration (NearFutureExploration 1.1.2)
Near Future Launch Vehicles (NearFutureLaunchVehicles 2.2.0)
Near Future Propulsion (NearFuturePropulsion 1.3.5)
Near Future Solar (NearFutureSolar 1.3.2)
Near Future Solar Core (NearFutureSolar-Core 1.3.2)
Parallax (Parallax 2.0.8)
Parallax - Stock Planet Textures (Parallax-StockTextures 2.0.8)
Parallax - Stock Scatter Textures (Parallax-StockScatterTextures 2.0.8)
Patch Manager (PatchManager 0.0.17.6)
Pood's Milky Way Skybox (PoodsMilkyWaySkybox v.1.3.0)
Precise Maneuver (PM) by Morse (PreciseManeuver 2:2.4.99.0-adoption)
Procedural Fairings (ProceduralFairings 1:v6.6.0.0)
Procedural Parts (ProceduralParts v2.5.9.0)
QuickGoTo (QuickGoTo 1:1.4.0.10)
QuickMute (QuickMute 1:1.4.0.8)
RasterPropMonitor (RasterPropMonitor 1:v0.31.13.4)
RasterPropMonitor Core (RasterPropMonitor-Core 1:v0.31.13.4)
RCS Build Aid (RCSBuildAid v1.0.6)
Real Antennas (RealAntennas v2.3.1)
Real Fuels (RealFuels 1:v15.9.0.0)
Real Plume (RealPlume 2:v13.3.2)
Real Solar System (RealSolarSystem v20.1.2.0)
Real Solar System Textures - 8192 x 4096 (RSSTextures8192 v18.6.1)
RealChute for Stock (RealChuteForStock v1.4.9.4)
RealChute Parachute Systems (RealChute v1.4.9.4)
RealHeat (RealHeat v5.1)
Realism Overhaul (RealismOverhaul v17.10.0.0)
Realistic Progression One (RP-1) (RP-1 v3.9.0.0)
Reentry Particle Effect Renewed (ReentryParticleEffect 1.9.1.1)
ReStock (ReStock 1.4.5)
ReStock Extra - Rigid Legs (RestockRigidLegs 1.4.5)
ReStock+ (ReStockPlus 1.4.5)
Retractable Lifting Surface Module (RetractableLiftingSurface 0.2.1.2)
Reviva (Reviva 1.0.0)
RO Capsules (ROCapsules v2.4.0.0)
RO Engines (ROEngines v2.9.0.0)
RO Heatshields (ROHeatshields v1.2.0.0)
RO Library (ROLib v1.9.1.0)
RO Solar (ROSolar v2.1.2.0)
RO Tanks (ROTanks v2.10.0.0)
ROEngines Extended (ROEnginesExtended 2.3.0)
ROLoadingImages (ROLoadingImages v1.0.0.0)
ROUtils (ROUtils v1.0.1.0)
RP-1 TechTree Kompacted (RP1TechTreeKompacted 1.3)
RSS CanaveralHD (RSS-CanaveralHD v1.0.1)
RSS DateTime Formatter (RSSDateTimeFormatter v1.12.1.0)
RSS Visual Enhancements - Low Resolution (RSSVE-LR 2.1.6)
Scatterer (Scatterer 3:v0.0876)
Scatterer Default Config (Scatterer-config 3:v0.0876)
Scatterer Sunflare (Scatterer-sunflare 3:v0.0876)
Shabby (Shabby 0.3.0.0)
Shaddy (Shaddy v2.5)
Show FPS (ShowFPS 1:0.3.1.3)
SmokeScreen - Extended FX Plugin (SmokeScreen 2.8.14.0)
Solver Engines plugin (SolverEngines v3.14.0)
SpaceTux Library (SpaceTuxLibrary 0.0.8.6)
Staged Animation (StagedAnimation v2.0)
Superfluous Nodes (SuperfluousNodes 0.8)
SXTContinued (SXTContinued 2:0.3.29.9)
TAC Fuel Balancer (TacFuelBalancer v2.21.5.3)
Test Lite (TestLite 0.3.5)
TextureReplacer (TextureReplacer v4.5.3)
Textures Unlimited (TexturesUnlimited 1.5.10.25)
The Janitor's Closet (JanitorsCloset 0.3.8)
Time Control (TimeControl 1:2.11)
Toolbar Controller (ToolbarController 1:0.1.9.11)
TooManyOrbits (TooManyOrbits 1.1.6.6)
Transfer Window Planner - Fork (TransferWindowPlannerFork v1.9.1.0)
Trim Indicator (TrimIndicator 1.12.0.0)
TrimIndicators (TrimIndicators 0.1.0.4)
TUFX (TUFX 1.0.7.1)
TweakScale Redistributable (TweakScale-Redist v2.4.8.3)
VABReorienter (VABReorienter 1.2)
Ven's New Parts (VenStockRevamp-NewParts v1.16.0)
Ven's Stock Part Revamp Core (VenStockRevamp-Core v1.16.0)
Waterfall Core (Waterfall 0.9.0)
WaypointManager (WaypointManager 2.8.4.2)
Who Am I? (WhoAmI 1.4.0)

I would like to note that using deferred lighting instead of planetshine on RSS planets seems to work fine.

Debug menu shortcut in Linux

Just a comment that you should maybe mention that in Linux, the debug menu is "right shift + d" instead of "alt + d".
Thanks!

Dark side of moons/planets is partially dark

(Follow-up to #19)

Hi again (thank you for your quick response),

Ok so my apologies, you were right about the fact that it's not supposed to be pitch black.

However there is still a problem: The pitch black that's outside the visible terrain.
This is mostly visible on the 2nd screenshot, where only a small part of the body's terrain is visible,
But it's also visible on 3rd and 4th screenshots, where the pitch black part is visible on the edge of the visible terrain.

I made a comparaison without DL :

Duna without DL :
KSP DL NoBug - Duna

Duna with DL :
KSP DL Bug - Duna

Mun without DL :
KSP DL NoBug - Mun

Mun with DL :
KSP DL Bug - Mun

Thank you for your help :) !

Clicking on part LR43/LR89 in VAB makes all parts information windows disappear

Hello !

I am using

  • KSP v1.12.3
  • Last versions of RSS-Reborn
  • Deferred v1.2.0.0

When I go to the VAB, and choose some usual parts to assemble, information windows appear as usual when I right-click on any part :

normal

But every time I click on the part LR43/LR89, and strange tiny window appears, then no information window appears when I right-click on any part :

strange

By clicking on "new vessel" without saving the current one, leaving the VAB and going back again, the bug disappear, until I select the LR43/LR89 again, which provoke the bug.
The bug disappears if I uninstall the mod.

B9 Proc Wings mostly render in forward

What the title says, B9 Procedural Wings currently render as in vanilla KSP, EXCEPT for the wing "ends", which render with deferred and show up in debug mode (unlike the rest of the wings), I've attached multiple screenshots showing an example, you can see that the tops of the tails are visible in the debug screenshots.
screenshot1
screenshot2
screenshot3

Csouds dissapear when using v4 fix

If I don't use the fix all works good but the droplets on the windows when rains move backward,
Ksp droplets bug
and if I use the fix, the droplets get fixed, but volumetric clouds stops working
im using EarlyAccess22_12_23
there is anyway i can just use the droplets fix from v4 fix? ty

Some windows are just whited out in IVA

Some windows (or material near windows) are just totally white. Tested on fresh install.

image

Example is of Mk1-3 but it also appears on the Mk1 pod's window.

Can't find much mention of this anywhere on discord or reddit. I am using an AMD card (6950XT), up to date on drivers. If developed on Nvidia and if most players have Nvidia (or if also AMD, not RDNA2), maybe there's a hardware specific thing going on.

Steps to reproduce:

  1. Install fresh KSP (or not fresh. Observed initially after installing plenty of mods).
  2. Have an AMD card? RDNA2?
  3. Enter Mk1 or Mk1-3 pod and look up at windows.

Planning to refine this. I have a 1660ti I can test with to confirm if it's AMD specific (just not today or tomorrow... slammed).

Another note. In debug mode, the offending materials are all white in emission, and all black in every other debug mode:

image
image
image

Log:
KSP.log

A few NREs from SubpixelMorphologicalAntialiasing in the SPH

On entering the SPH, I'm seeing some NREs.
The first is

[EXC 00:37:33.988] UnityException: GetComponentFastPath is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. Called from MonoBehaviour 'SubpixelMorphologicalAntialiasing' on game object 'Main Camera'.
See "Script Serialization" page in the Unity Manual for further details.
  UnityEngine.Component.GetComponent[T] () (at <2425394cf09642369e2109953e31f62b>:0)
  Deferred.SubpixelMorphologicalAntialiasing..ctor () (at <ce07a0bdd1c54274b4b2af87d2fba355>:0)
  UnityEngine.DebugLogHandler:LogException(Exception, Object)
  ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
  UnityEngine.GameObject:AddComponent()
  Deferred.EditorLighting:HandleSMAA()
  Deferred.EditorLighting:Apply()
  Deferred.EditorLighting:Start()

which is followed by a steady stream of

[EXC 00:37:34.117] NullReferenceException: Object reference not set to an instance of an object
  Deferred.SubpixelMorphologicalAntialiasing.OnPreCull () (at <ce07a0bdd1c54274b4b2af87d2fba355>:0)
  UnityEngine.DebugLogHandler:LogException(Exception, Object)
  ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
  UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

which I suspect is caused by whatever failed in the constructor.

The Player.log and KSP.log files are here: logfiles.zip

Half the terrain looks darker

On kerbin (so far, haven't tested it on other bodies), half of the terrain looks darker. This seems to be affected by camera position, so if I zoom out or zoom in, or pan / rotate the camera, the effect also changes accordingly.

System Specs:

  • OS: Ubuntu 22.04.4
  • GPU: RTX 3070
  • Resolution: 3840x2160
  • RAM: 64 GB
  • CPU: Ryzen 5 5600x

The game is native linux version.

Here are screenshots:
Ekran Görüntüsü - 2024-06-22 14-30-44

Ekran Görüntüsü - 2024-06-22 14-31-01

Ekran Görüntüsü - 2024-06-22 14-34-44

The only mods installed are Scatterer, EVE (Volumetric Clouds) and Deferred, along with their dependencies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.