ac-custom-shaders-patch / acc-extension-config

Configuration files for Assetto Corsa Custom Shaders Patch
226 stars 221 forks source link

Treating ksPerPixelAT same as ksWindscreen for solving Fake shadows disappearing behind transparent objects #184

Open Trava715 opened 2 years ago

Trava715 commented 2 years ago

image image

Tested on CSP 1.74 public

gro-ove commented 2 years ago

That’s because of fake shadows depth-based reprojection intended to get them to nicely follow geometry below car. If Extra FX is enabled, please make sure to either use ksWindscreen for that rear window or set it to SKIP_GBUFFER or DELAYED_RENDER list (depending on if it’s reflective or not, I guess, whatever looks better).

Trava715 commented 2 years ago

set it to SKIP_GBUFFER or DELAYED_RENDER list

Does indeed solve the problem.

@gro-ove Might be worth treating ksPerPixelAT same as ksWindscreen because a lot of cars use AT mesh for the defroster since it doesn't require setting up render priorities.