0.0767 pre-release
Pre-release
Pre-release
- Depth buffer mode: Renders scattering effect using the depth buffer instead of re-rendering opaque objects:
* Enables CPU and GPU performance improvements (anywhere from 17% to 41% higher fps with the stock game and scatterer)
* Added option to render the scattering in 1/4 resolution and upsample for performance (incompatible will godrays, will auto-disable if godrays are used)
* Compatibility with Parallax (most noticeably underwater)
* Compatibility with trees and terrain scatters (they now get correct scattering on them instead of sticking out)
* Disables MSAA anti-aliasing because it's not compatible with the depth buffer (Added option to use SMAA to compensate, MSAA is still used in tracking station and editor scenes so keep it enabled).
* Depth buffer mode can be disabled in favor of the old mode if you want to have MSAA (performance and compatiblity improvements won't be available in this case) - Faster long-distance shadow rendering (no longer need to render an additional depth buffer for shadows farther than 7km)
- Small performance improvements in the ocean + ability to further disable foam and transparency for performance on slower machines
- Performance presets and a preset loader in the KSC menu, to easily adjust quality/performance. It will also tell you your current preset by matching individual settings against presets. Scatterer will now default to "low" preset which is just the basic scattering+ocean feel free to go higher or lower depending on your specs.
- Sunflare editor in the UI, changes made here will be lost on scene changes so copy your config. (Config will also be logged when applied from the UI)
- New sunflare syntax (check wiki for details https://github.com/LGhassen/Scatterer/wiki/SunflaresConfig#syntax-version-2)
* Support for per-element intensity and scale curves
* Units for the distance in the curves is the parent body's radius, used to make sunflares easy to port from one star to another with different sizes
* Support for .dds textures for the flares
* More readable syntax, scales are supplied normally instead of inverse
* Older sunflares stay compatible by omitting the syntaxVersion tag or using syntaxVersion=1. New sunflare syntax using syntaxVersion=2 in the sunflare config - Sunflares are loaded directly from their individual sunflare configs (Scatterer_sunflare nodes), no longer need to have and maintain sunflare list in the planetsList file
- Better error handling when loading and clearer logging, if loading fails the stock effects will load instead of having the ocean not load. Same when atmo files are missing, display stock effects instead of loading white atmosphere.
- Configs loaded from ModuleManager are detected as such, and no longer as coming from "Laythe.cfg", config saving to disk is disabled when a ModuleManager patch is used
- Possibility to preview different SunColor values directly from the UI for fine-tuning (will not save to file though, you still have to manually edit the planetsList file after)
- De-hardcoded a gravity parameter in the ocean spectrum (previously hardcoded to 9.81 m/s^2), a value of 0 will apply the body's surface gravity. This can impact the waves look and look unnatural to us (as we are used to how waves looks on earth), old ocean configs where the value is missing will default to 9.81 as before.