File information

Last updated

Original upload

Created by

ProfJack and CS Team

Uploaded by

ProfJack

Virus scan

Safe to use

About this mod

Community Shaders feature which simulates ambient occlusion (AO) and indirect lighting (IL) using screen space information. Supports SE and AE.

Requirements
Permissions and credits
OVERVIEW

Community Shaders feature which simulates ambient occlusion (AO) and indirect lighting (IL) using screen space information. Supports SE and AE.





Ambient Occlusion

Produces the darkening effect around objects that occlude ambient light.
  • In exteriors, it applies only to ambient light sources and not to direct lights like sun light.
  • In interiors, it applies to everything to compensate for the lack of shadowed interior lights.

Indirect Lighting

Simulates lights bouncing on diffuse surfaces, and emitted from emissive objects.
Includes a very rough specular IL that approximates the indirect lighting on specular material from True PBR or Dynamic Cubemaps.

Screen Space

The feature only utilises what is available on your screen, which means that AO/IL may pop in and out depending on your view, or be occluded by object closer to the camera.




FAQ

I see noises!
  • For performance reasons, the default settings has been set to handle most cases with little noise and least cost, but there are still tricky scenarios, especially when the object is moving fastly, or when a bright light source covers a tiny fraction of the screen. Here is what you can do:
  • Turn up slices and steps, if your frame rate can afford it.
  • Use full-res and TAA/DLAA/FSRAA. TAA adds an additional layer of noise filtering when full-res.
  • In advanced settings, turn up accumulation frames. This will introduce more ghosting.
  • (IL only) In advanced settings, turn up blur radius. This will make IL more blurry.
  • Turn down the effect radius, so the samples have less variance.
How is the performance?
  • It will be a tad heavier than your usual CS features. Such is inevitable of any IL algorithm.
  • I have tried my best to optimize, and with default settings the feature costs short of 1ms on my 4060 laptop with 1080p.
  • Nevertheless, you should try for yourself and decide if you want to keep it. And you can always disable IL, which is even faster.
What about VR?
  • While this feature is not disabled on VR, it is not fully supported yet, as there are numerous issues with specific VR headsets. You may try your luck, but please do keep in mind VR support is yet to be finished.
Why does this object/fire emit no light?
  • Trasparent objects won't contribute to lighting.
  • This is a job for lighting mods or Light Placer.
Is it compatible with [Insert mod name]?
  • Yes, as long as it is compatible with Community Shaders.
I saw weird glow on objects when there is no lighting.
  • Turn down Ambient Bounce.


REQUIREMENTS

Community Shaders


BUGS

Report bugs on GitHub.


CREDITS

ProfJack: Most coding.
doodlez: Deferred lighting framework, which is the prerequsitie of SSGI.
alandtse, Flayan: VR support.

Special Thanks to Olivier Therrien who authored the visibility bitmask paper and helped me through implementing specular GI.

My screenshots use Faultier's PBR Skyrim and tomato's PBR textures.