feat: better rain fx#744
Merged
Merged
Conversation
chore: update rainfx branch
chore: update rainfx branch
FlayaN
reviewed
Nov 18, 2024
tssge
pushed a commit
to tssge/skyrim-community-shaders
that referenced
this pull request
May 28, 2025
chore: ui changes feat: add icons font feat: more fleshed out feature interface feat: features reordering and removal chore: square button and hint text feat: preprocess hooks feat: port COD bloom chore: remove test feature feat: lut baker ui placeholder feat: port auto exposure chore: def settings feat: port tonemapper chore: default settings and bypass vanilla tonemap chore: default set of effects feat: more tonemapping operators fix: post load Load Settings crash fix feat: added Aldridge filmic feat: Lottes & Day & Uchimura curves refactor: rename math tonemapper to colour transforms, flexible funcs fix: minor fixes style: 🎨 apply clang-format changes feat: bogey items as separators in ColourTransforms feat: add ASC_CDL feat: add clamp, exposure/contrast, asc cdl, saturation feat: shift slider feat: log space conversion, halfres histogram, 64bit support feat: add gamma, and rgb gamut conversion feat: LiftGammaGain, SaturationHue, DCI-P3 fix: fixes fix: shader nullptr issue feat: exposure option for agx fix: potential id conflict, wrong number fix: exposure typo feat: add vignette feat: add bypass, buttons to list chore: change default settings chore: ui chore: default the whole thing instead of each fx fix: alt+tab input sticking (#403) chore: disable temporal denoiser on diffuse AO (#404) it doesn't need it and only introduces ghosting chore: ui refactor: commonise fix: Fix zero weight on pbr landscape without displacement (#408) * Fix zero weight on pbr landscape without displacement * style: 🎨 apply clang-format changes --------- Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix: specular gi affecting diffuse gi, revert disable temporal denoiser on diffuse AO (#407) * fix: disabling AO temporal filter breaks half-rate * fix: specular gi affecting diffuse gi * Revert "fix: disabling AO temporal filter breaks half-rate" This reverts commit 47d89016d452bcc409dfd7badc3ea5f00c6c54b1. * Revert "chore: disable temporal denoiser on diffuse AO (#404)" This reverts commit 2fadbeea752eb21aaa6a6c7b3422a41231c52b79. fix: fixes for ISRefraction and ISSAOBlur. (#406) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: missing `InterleavedGradientNoise` change (#405) fix: switched to using in-game imagespace shader defines. (#409) * fix: switched to using in-game imagespace shader defines. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: black reflections + InWorld flag (#399) * fix: black reflections + InWorld flag * style: 🎨 apply clang-format changes * refactor: InWorld comment * fix: shader logic * style: 🎨 apply clang-format changes * fix: world map and 3d menu objects features * style: 🎨 apply clang-format changes * refactor: cleaner conditional shadow sampling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: gi attenuation, remove back face option (#410) feat: add melon tonemapper feat: add kajiya tonemapepr, oklch saturation fix: default settings feat: add colour mixing, bypass serialisation chore: better colour mixer ui, remove logspace transofrms chore: def settings feat: LUT feat: tracy profiler integration (#365) * feat: add tracy profiler * chore: update VR offset * chore: force tracy 0.11.0 * chore: add TRACY_ENABLE as cmake option, remove redundant include * build: add TRACY_SUPPORT cmake option and fix vcpkg baseline * chore: update to dev * Update CMakePresets.json * build: add `ALL-TRACY` preset Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> * Update CMakePresets.json Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: Flayan <964655+flayan@users.noreply.github.com> fix: more specular gi attenuation fix (#412) feat: Interior bool in shared constant buffer fix: PBR directional light specular fix and llf compile fixes (#415) * feat: lighting fixes * chore: comment added to Interior boolean * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: unlocked HDR range of game buffers (#416) fix: added padding for pbr settings struct (#414) * fix: added padding for pbr settings struct * chore: unify padding naming --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> fix: ssgi: limit min roughness, remove luminance weight (#417) fix: offset fix: ssgi use perceptual roughness instead of linear (#418) fix: remove all linear/srgb conversion, save for pbr albedo (#420) fix: remove tpbr albedo lin2srgb (#421) fix: pbr parallax and terrain parallax intensity (#423) feat: glint for PBR (#413) * fix: switched to using in-game imagespace shader defines. * feat: support for glint parameters in pbr meshes and texture sets. * style: 🎨 apply clang-format changes * fix: trying to fix * style: 🎨 apply clang-format changes * fix: use local H * fix: fixed shader compilation with glint. Reworked pbr parameters serialization. Hidden glint under define. * style: 🎨 apply clang-format changes * fix: trying to fix glints * fix: fixed blowing up specular when blending pbr and non-pbr landscape. * fix: prevent glazing angle flashes, correct tbnTr * fix: blending, more suppression on edgy glints, optimisation * chore: remove redundant context check --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> Co-authored-by: Pentalimbed <pentalimbed@gmail.com> Co-authored-by: Pentalimbed <Pentalimbed@users.noreply.github.com> chore: updated feature settings for correct color space (#424) Revert "chore: updated feature settings for correct color space" (#425) This reverts commit 16bf0b60b6c999147aa5590fc81748de8288cfa2. Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. chore: 1.5 for everything chore: def settings revert: revert linearisation attempts (#426) * Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. * Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. fix: fixes for effect shader; effect shader enabled fully. (#427) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: llf cleanup and optimisations, plus shadow improvements (#419) * feat: llf cleanup and optimisations * style: 🎨 apply clang-format changes * fix: added missing water shader changes * fix: grass compile error * feat: more shadow optimisations * feat: shadows on transparent lighting shaders * fix: shadows too sharp * style: 🎨 apply clang-format changes * fix: too aggressive shadow bias adjustment * performance: store contact shadow steps function * chore: removed contact shadows from grass * style: 🎨 apply clang-format changes * revert: back to vanilla shadow blurriness * feat: improved shadow sampling * style: 🎨 apply clang-format changes * feat: blurred contact shadows * style: 🎨 apply clang-format changes * fix: clamp shadow sampling uvs, stochastic sampling * style: 🎨 apply clang-format changes * performance: shared 3D noise outside of contact shadows * style: 🎨 apply clang-format changes * chore: cleanup water vl sampling code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: pbr diffuse lighting in srgb. (#429) * feat: PBR diffuse calculated in sRGB. * style: 🎨 apply clang-format changes * feat: slider for base color gamma. * feat: transform for other PBR diffuse colors. * style: 🎨 apply clang-format changes * fix: fix for pbr-non-pbr land blending. * fix: default base color gamma set to 1.9. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: effect lighting (#430) * feat: effect lighting * style: 🎨 apply clang-format changes * performance: scale shadow sample count with distance * chore: removed skylighting include from Effect * fix: light limit fix include in Effect * chore: removed unneeded undef from Effect --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "fix: alt+tab input sticking" (#434) This reverts commit 6277a6c41cd3e1779e86fd900e8349189d765305. fix: black terrain (#435) fix: glowing objects with wetness feature fix: probable fix for skylighting interior crashes (#432) * fix: probable fix for skylighting interior crashes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: add namespaces for features (#431) * fix: fix shader warnings * refactor: add namespace for WetnessEffects * refactor: add namespace for TerrainOcclusion * refactor: add namespace for TerrainBlending * refactor: add namespace for ScreenSpaceShadows * refactor: add namespace for LightLimitFix * refactor: add namespace for GrassCollision * refactor: add namespace for ExtendedMaterials * refactor: add namespace for DynamicCubemaps * refactor: add namespace for CloudShadows chore: set default pbr gamma to 2.2 (#436) chore: slightly improved directional shadow bias fix: too aggressive dir shadow bias fix: glowmap brightness (#439) * fix: glowmap brightness * fix: effect shadows not working fix: missing LLF lights fix: disable effect shadows on world map (#442) * fix: disable effect shadows on world map * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: complete skylighting during loadscreen (#433) * feat: complete skylighting during loadscreen * style: 🎨 apply clang-format changes * fix: forceFrames subtraction * chore: removed doPrecip since unused * style: 🎨 apply clang-format changes * fix: fadein set to 64 * fix: force skylighting frames correct values * style: 🎨 apply clang-format changes * fix: reduce skylighting max zenith to fix inconsistency * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: volumetric lighting RE. (#437) * feat: compute shaders support for shader cache. ISVolumetricLightingRaymarchCS added. * style: 🎨 apply clang-format changes * feat: added ISApplyVolumetricLighting and ISVolumetricLightingGenerateCS shaders. * style: 🎨 apply clang-format changes * chore: updated clib. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: grass shadows in interiors (#443) fix: add skylighting shadow bias (#444) perf: removed snow mask, do all diffuse specular addition in linear (#445) * chore: removed snow mask, do all diffuse specular addition in linear * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "perf: removed snow mask, do all diffuse specular addition in linear" (#447) This reverts commit 9b45c228d678f0d479afcae2ff54cb3e0d149b01. fix: SSR on LOD water bugs fix: black screen fix: skylighting skin artifacts + unroll (#449) * fix: skylighting skin artifacts + unroll * style: 🎨 apply clang-format changes * perf: tangentWeight math --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hdr tonemapping (#438) * feat: hdr tonemapping * style: 🎨 apply clang-format changes * feat: brightness slider controls tonemapping * chore: remove unused bloom conversion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: PBR asset matching (#448) * fix: PBR linear lighting, intensity * style: 🎨 apply clang-format changes * fix: AmbientComposite in linear for PBR * fix: PBR lod blending * fix: horizon occlusion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fixes for pbr land seams. (#450) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> perf: blur ss shadows in parallel (#451) * perf: blur ss shadows in parallel * chore: added GetScreenDepths * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: screenspace shadows blur direction feat: ISReflectionsRayTracing shader added. (#452) * feat: ISReflectionsRayTracing shader added. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: water parallax and improved performance (#455) fix: ISReflectionsRayTracing error fix: fixed constant indices in VR. (#453) * fix: fixed constant indices in VR. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: small ISVolumetricLightingGenerateCS fix. (#454) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: VR support for ISHDR and ISSAOComposite. (#458) * feat: VR support for ISHDR and ISSAOComposite. * style: 🎨 apply clang-format changes * fix: fix for ISApplyReflections. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix(VR): fix ctd when enabling imageshaders (#457) fix: water LOD shadows fix: ISHDR on flat (#459) * fix: ISHDR on flat * fix(VR): ISHDR fix: black screen fix: fixed black face in race menu. (#460) * fix: fixed black face in race menu. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: in-game editor for pbr land texture parameters. (#462) * feat: in-game editor for pbr land texture parameters. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: potential black screen fix (#465) * fix: potential black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: kill management thread on stop (#464) closes #296 feat(VR): add ImageSpace shaders (#463) fix: black reflections (#466) feat: linear water composite (#467) * feat: linear water composite * fix: underwater looking incorrect feat: improved contrast function (#471) * feat: improved contrast function * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix flickering of non-PBR assets (#472) Fix flickering of nonPBR assets when PBR assets are used. feat: expose skylighting dynamic cubemap to forward shaders fix(VR): fix ghosting for water (#477) perf: reduce default compilerThreads (#475) Set the default to be the max of (maxCores - 4), (maxCores * 3/4), or 1 feat: water optimisation, skylighting, fixes (#474) * feat: water optimisation, skylighting, fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: Lin2sRGB changed to LinearToGamma etc. (#478) * refactor: Lin2sRGB changed to LinearToGamma etc. * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: HDR tonemapping errors (#479) * fix: HDR tonemapping errors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr landscape scale and height blending (#461) * fix pbr land scale and blending * style: 🎨 apply clang-format changes * Only scale steps by land parallax scale to avoid artifacts * style: 🎨 apply clang-format changes * better naming and fixes for displacement adjust * style: 🎨 apply clang-format changes * Removed unneeded check, added missing check * Added a space --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix(VR): fix issues due to wrong variable name (#482) feat: removed separate SSS buffer (#483) revert: "fix: potential black screen fix" (#484) This reverts commit 27a2db2bb82d19cbceb424bd032660ad059f6d30. fix: adaptation black screen fix (#485) * fix: adaptation black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: use dynamic resolution helper (#487) fix(VR): fix utility shader shadows with upscaler (#486) closes #446 chore: enable imagespace and utility by default feat: pbr replacement for default land texture. (#489) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: material object editor and more. (#490) * feat: in-game material objects editor; glint support for material objects; mesh texture set updating during editing; subsurface and coat parameters in texture set editor. * chore: removed no longer used pbr lighting settings. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: texture set and material object configs not applying in some cases. (#492) * fix: fixes for texture set and material object configs not applying in some cases. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: less hue preservation in tonemapping (#493) feat: do tonemapping in gamma space (#494) fix: too noisy shadows (#495) fix: fixed crash on meshes with kVertexLighting flag enabled. (#496) * fix: fixed crash on meshes with kVertexLighting flag enabled. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixes for subsurface and projected material in pbr (#499) * fix: brought back PIs to subsurface and coat diffuse. * fix: proper support form projected material on top of subsurface, coat or fuzz. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixed pbr decals texture set parameters application. (#500) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix(VR): fix missing snow hook (#501) fix: Specify magic-enum port version in vcpkg.json (#503) Remove duplicate magic-enum entry under dependencies (#505) feat: Height blending toggle, parallax shadows edits (#491) * height blend toggle, extended parallax shadows * Change define to static const, disable extended shadows on vanilla landscape * style: 🎨 apply clang-format changes --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> chore: adjusted tonemapping curve fix: match vanilla shadows (#514) fix: enable all effect shaders (#515) refactor: llf use the game invprofmatrix (#508) * chore: llf use the game invprofmatrix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: rebuild shaders when editing shader defines (#512) Improves the behavior when modifying the Advanced -> Shader Defines. Shaders will be rebuilt on any change in the field when focus is lost or if enter is pressed. feat: linear space ssao (#518) * feat: linear space ssao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: shadow cascade sampling (#520) * fix: shadow cascade sampling * fix: tree LOD ambient brightness * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove 1.5 gamma refactor: rename terrain occlusion to terrain shadows refactor: rename terrain occlusion folder style: 🎨 apply clang-format changes refactor: rename other terrainocclusion folder refactor: rename terrainocclusion.hlsli refactor: finish renaming TerrainOcclusion to TerrainShadows style: 🎨 apply clang-format changes fix: fix skylighting fade and darkness (#517) * refactor: rename updateProbes * fix: skylighting fade and darkeness fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: directional skylighting chore: blur ss shadows in proj space (#522) chore: minor visual tweaks fix: screenspace shadow blur in distance (#523) docs: provide gpl exception for hardware sdks (#513) fix: fix missing directory ctd with DynamicCubeMap Creator (#511) * DynamicCubeMap Creator crash fix When a destination folder for the DynamicCubeMap Creator export does not exist then CS should not crash. Now: Create Folder if destination folder does not exist. Unable to create missing folder: log error File Object with same name exists: skips * style: 🎨 apply clang-format changes * Update DynamicCubemaps.cpp Moved Texture creation and SaveToDDSFile inside try/catch block. This removed one boolean variable that had been used . No attempt is made to save a file if that filename exists (even an incorrect file object). As there are multiple types of exceptions including OS filesystem errors the catch was left as std::exception instead of multiple catch types and specific log messages. build: introduces a windows based build container (#524) * ci: adds docker file for a build container * ci: adds separate container build script * docs: adds docker section to readme * docs: separates docker steps for slightly easier understanding * docs: adds vcvarsall.bat instructions to setup amd64 env without opening VS * fix: adds missing word for docker context and fixes path in ps1 * fix: replaces docker context switch with correct command feat: DLSSG frame generation (#504) * feat: added streamline * feat: streamline partial cmakelist * feat: streamline swapchain * style: 🎨 apply clang-format changes * feat: init streamline * fix: typo * feat: more streamline setup * style: 🎨 apply clang-format changes * feat: frame generation working but still broken * style: 🎨 apply clang-format changes * feat: functional DLSSG * style: 🎨 apply clang-format changes * chore: disable reflex sleep since not needed * chore: streamline cleanup and fixes * style: 🎨 apply clang-format changes * feat: include streamline dll files with licence * chore: cleanup streamline files, auto dlssg * style: 🎨 apply clang-format changes * fix: try to prevent memory leak * fix: remove accidentally included files * fix: detect DLSSG compatibility * style: 🎨 apply clang-format changes * fix: motion vectors when the game is paused * feat: RCAS sharpening * fix: incorrect hooking behaviour * style: 🎨 apply clang-format changes * fix: detect if the DLSSG feature is loaded before querying it further * fix: typo * style: 🎨 apply clang-format changes * fix: RCAS color space and intensity * feat: DLSS menu following guidelines * style: 🎨 apply clang-format changes * feat: FSR 2.2.1 * style: 🎨 apply clang-format changes * feat: remove FSR, separate frame generation to a feature, upscaler compat * chore: remove unused submodules * fix: do not apply d3d hooks to VR * fix: only show streamline menu on flatrim * fix: missing streamline shader * refactor: move streamline includes to forked submodule (#507) * fix: vr menu hook * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: menu compile error revert: "feat: linear space ssao" (#525) This reverts commit 8c8c2d11647e89cc61c81ab7f83781ccc86325ef. fix: fix skylighting CB alignment (#531) feat: allow features to pass define options (#528) refactor: move WStringToString to util (#532) docs: lower unknown hlsl variables to debug (#529) fix: add missing right parens (#539) refactor: explain GetVRVSOutput better (#527) feat: decouple AO/GI radius and remove unused HBAO code (#538) * refactor: remove unused hbao code * feat: decouple AO and GI thickness fix: fixed permutation buffer not resetting between frames. (#540) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: fix effect shader for ADDBLEND && VC && !TEXTURE (#544) * fix: fixed wrong look for effect shader with ADDBLEND && VC && !TEXTURE. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fix broken vr lights due to buffer alignment (#541) Fixes issue introduced by c64421048a664ffdcc33d7b3666e8ef36ef6c440 perf: pbr glint optimization (#537) * perf: smaller glint noise tex size * perf: cache glint precomputation feat: add hlsl-specific clear (#543) * feat: add hlsl-specific clear Allow clearing of all shaders linked to a specific hlsl file. This is useful for DEFINE option passing for features. * fix: fix locking scope to avoid deadlocks * fix: fix clearing shader with prior diskcache Fixes a bug where a prior saved diskcache shaders could not be cleared by filename. fix: fix undeclared TexProjNormalSampler (#547) TexProjNormalSampler is not defined if MULTI_LAYER_PARALLAX is enabled. docs: make descriptors print as hex (#546) refactor: remove redundant ifdef (#545) fix: recreate config if json parsing error (#548) closes #536 build: fix build if using defined vckpg commit (#549) chore: remove unused variable rate shading files fix: fix padding for StructuredLight (#552) fix: llf cluster errors fix: llf cluster errors missing InvProjMatrix fix: disable PBR hooks until it is fixed fix: always init clusterIndex fix: fixed llf-pbr interaction issue and re-enabled pbr. (#553) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: tree skylighting darkness (#554) feat: add gamesettings functions for features (#533) feat: tweakable pbr multiplier for better matching (#551) * feat: tweakable pbr premult for better matching * chore: premult comments refactor: change detours to use thunk syntax (#559) fix: fix vr ssgi reprojection (#557) feat(VR): enable SSR (#502) fix: llf lights fade (#560) fix: deferred multi layer parallax (#561) revert: "fix: llf lights fade" (#562) This reverts commit e43aee5f71094b6d82b743f14def0abaad0fd35b. fix: light limit fix lights missing chore: remove accumulator from LLF prepass, use constants (#563) feat: add min screen radius setting for ssgi (#564) feat: add non-time InterleavedGradientNoise (#568) feat: support INIPrefSetting and gameSetting (#566) Adds support for INIPrefSettingCollection and gameSettingCollection. Previously, only INISettingCollection was supported. refactor: reorganize defines in VR.hlsli (#567) fix: fix performance drop due to divide by 0 (#571) fix: camera data fixes (#572) * fix: camera data fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: llf fixed alignment issues (#573) * fix: llf fixed alignment issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: DLAA (#556) * feat: add dlss support WIP (#555) * feat: optional ConvertToDynamic for GetScreenDispatchCount * feat: DLAA * fix: increased sampling to fix noise with DLAA * style: 🎨 apply clang-format changes * chore: better DLAA settings * style: 🎨 apply clang-format changes * chore: removed unused motion vector hook * fix: reenable RegisterClassA_Hook * chore: removed unneeded ImagespaceTempCopy hooks * fix: AE DLAA hooks * feat: enable VR * fix: add additional checks to avoid ctds * style: 🎨 apply clang-format changes * fix: fix improper grouping on if * style: 🎨 apply clang-format changes * refactor: corrected dlss/dllsg settings * style: 🎨 apply clang-format changes * feat: earlier CS init * style: 🎨 apply clang-format changes * refactor: XSEPlugin spacing * feat: optional Streamline loading * style: 🎨 apply clang-format changes * fix: VR loading dlssg * feat: streamline settings save/load * style: 🎨 apply clang-format changes * chore: remove unneeded separator * feat: optional Streamline hooking * chore: improved Streamline menu * style: 🎨 apply clang-format changes * chore: always reset motion vectors for DLAA * chore: remove duplicate RCAS and Streamline folders * fix: streamline init issues * style: 🎨 apply clang-format changes * fix: more streamline init fixes * style: 🎨 apply clang-format changes * fix: VR DLAA * fix: disable Streamline in VR * style: 🎨 apply clang-format changes --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Alan Tse <alandtse@gmail.com> Co-authored-by: alandtse <alandtse@users.noreply.github.com> feat: improve vanilla VL (#569) * Add multipleScattering * Modify temporalContribution to account for motion vectors * Use InterleavedGradientNoise for noise generation * Add forward and backphase calculations for phase scattering * Add adaptive step size and transmittance for ray marching * Add comments and helper functions where appropriate revert: "feat: improve vanilla VL" (#574) This reverts commit b14d1445b7ebf919e3d43db89894f2201ac182ea. fix: compile and imagespace errors (#575) * fix: compile errors * style: 🎨 apply clang-format changes * fix: revert Streamline changes for init --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> build: added FSR SDK feat: shared upscaling options and fixes style: 🎨 apply clang-format changes chore: use default dlss preset chore: reduced effect shader sunlight chore: clearer upscale options fix: fix shader-specific clear (#578) Failure to clear shaderMap resulted in a cached copy being detected but not actually available in the relevant shader array. This would result in vanilla shaders being used instead. chore: menu label changes build: move fsr cmake and remove warnings (#579) feat: native FSR 3 sharpening (#580) docs: add descriptor to shader completion debug (#586) docs: add filename for shader events (#582) fix: use proper output for DEPTHBUFFER_COPY (#585) fix: dyndolod 3d trees shading (#588) * fix: dyndolod 3d trees shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: utility shader changes (#589) chore: revert skylighting foliage tweak refactor: extremely minor cleanup fix: HLT trees color feat: add Util::IsDynamicResolution (#590) fix(VR): fix incorrect shader warning (#591) feat: remove portal-strict light limit (#506) * feat: portal-strict light limit removal. * style: 🎨 apply clang-format changes * feat: shadow lights processed via llf. * style: 🎨 apply clang-format changes * fix: fixes for spotlights. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: remove unnecessary `#pragma warning` (#596) refactor: replace `Microsoft::WRL::ComPtr` with `winrt::com_ptr` (#595) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> refactor: `std::span` for safer shader defines (#594) * refactor: `std::span` for safer shader defines throws exception if we run out of macro slots * fix: add missing nullptr defines to lighting feat(VR): enable upscaling (#592) feat: sync upscaler settings with skyrim setting (#593) * feat(VR): enable upscaling * feat: sync upscaler settings with skyrim setting fix: fix broken vanilla taa (#598) fix: fix compile error (#597) feat: improve llf visualization (#604) * fix: fix LLFDEBUG compilation error * feat: recompile on llf visualization toggle * style: 🎨 apply clang-format changes * chore: fix spacing * feat: add shadowmask visualization fix(VR): fix llf eye desync (#605) fix(VR): fix ghosting in fsr (#602) fix(VR): fix ctd when upscaler present (#603) * fix(VR): fix ghosting in fsr * fix(VR): fix ctd when upscaler present When Upscaler is present, FSR, DLSS are no longer available. This will also properly disabled those options in the menu. revert: "fix(VR): fix llf eye desync" (#607) chore(UI): move all top options to the sidebar (#608) * chore: (UI) move all top options to the sidebar * chore: add missing spaces fix: skylighting hooks when disabled (#609) * fix: skylighting hooks when disabled * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore(UI): changes to fit the new layout (#610) * refactor: tidier way of adding new sidebar menu as a side effect, also fixes reset default mismatch * chore: remove singular collapse headers * chore: change hint text for new layout * refactor: i ❤ modern cpp feat(UI): create new theme (#611) fix(UI): fix font spacing (#612) fix: fixes wetness persisting across saves (#614) refactor(HLSL): create Color namespace refactor(HLSL): create VR namespace refactor(HLSL): create FrameBuffer namespace refactor(HLSL): create DeferredShared namespace refactor(HLSL): create SharedData namespace refactor(HLSL): create Random namespace refactor(HLSL): create FastMath namespace refactor(HLSL): create GBuffer namespace fix(VR): fix llf desync in eyes (#616) closes #601 fix(VR): fix VR namespace define conflict (#617) refactor: move hooks out of State (#599) * refactor: move hooks out of State Hooks should be in XSEPlugin so they can all be found. A similar refactor should be done for SetupResources and other areas where State is being piggybacked. * refactor: move d3dhooks to query fix: bad ImGui::TreePop() feat(UI): more imgui design changes (#619) chore: imgui improvements (#618) * chore: imgui improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat(VR): enable volumetric lighting (#565) * feat(VR): enable volumetric lighting * fix: fix stereo access to VLTex VLTex is still mono and causes artifacts, but this is a correct step once it is stereo. https://github.com/doodlum/Skyrim-Community-Shaders/pull/565#issuecomment-2381750427 * fix: fix stereouv access * fix: fix WindInput * feat: add initial RE for ISFullScreenVR * fix: fix previous depth calculation in dynres The depth stencil from ISDepthBufferCopy is actually full size and not scaled with dynres enabled. * feat: add dynres status to state * fix: fix dynres for volumetric lighting * chore: fix typo * fix: require vr address library 0.154.0 * fix: fix crash of shizof mods at dataloaded * revert: "feat: add dynres status to state" This reverts commit c3658ad122e62a787ef1bdeda8a3d6b33414f025. * fix: use Util::IsDynamicResolution * fix: fix improper depth size when downsampled * fix: fix bad rendering with bDepthBufferCulling With bDepthBufferCulling enabled, culling is incorrect if diskcache is on until ShaderCache is cleared. This is a stopgap until root cause is identified. * fix(VR): fix VR desync closes #601 * revert: "fix(VR): fix VR desync" This reverts commit 958bc9a94ddfda0a24e1adbc3e2b554e6b1d137a. * style: 🎨 apply clang-format changes * style: fix doxygen spacing * refactor: use new namespaces * fix: fix VR namespace define conflict * chore: remove unused vr code * refactor: fix flat compile errors feat: upscaling update (#621) * build: updated FSR * refactor: mode to method * fix: fsr memory leak * feat: updated upscaling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: reset upscaling chore: VR upscaling screen sizes (#623) * chore: VR upscaling screen sizes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: only use imgui io after init (#622) * fix: only use imgui io after init * refactor: getsingleton feat(UI): Add theme settings for menu (#625) chore: frame generation menu (#626) fix: fix crash when fsrContext not initialized (#628) chore: hide frame generation in VR (#629) fix: dynamic cubemaps slow updates (#632) * fix: dynamic cubemaps slow updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: upscaling fixes (#633) fix: foliage checkerboarding arguments chore: move Streamline to core chore: delete Dynamic Cubemaps - Metals folder chore: rename frame generation folder chore: remove terrain blending ini chore: put effect shader lighting changes behind defines (#635) * chore: put effect shader lighting changes behind defines * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> docs: add tooltips for upscaling (#630) * docs: add tooltips for upscaling * Update Upscaling.cpp * Update Upscaling.cpp --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> feat(UI): add footer with diaginfo (#637) chore: display menus open by default fix: sky motion vectors (#638) * fix: sky motion vectors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(UI): fix debug assert (#639) fix: fix errors loading and saving (#640) chore: serialize ImVec to array instead of object (#641) because: 1. it's less cloggy 2. it follows the same format as d3d vecs 3. serializations should be placed in Util fix: fix ShadowSampling warnings (#642) fix: fix Lighting.hlsl warnings (#643) * fix: fix Lighting.hlsl warnings * fix: fix missing truncation fix: fix imgui input buildup (#649) chore(UI): tighter footer (#650) - CS version moved to header - tighter footer height - no table bc you need very wide window to show all text -> they are bullet texts now chore(UI): set Keybindings header to default open (#647) refactor: use themes for remaining colors (#645) build: fix missing themeSettings (#653) refactor: use themes for remaining colors feat: add feature disabling at boot Allows any feature to be disabled at boot. Features must have their hooking within the feature and not elsewhere. Changing the setting will require a restart. fix: serialize RestartNeededColor fix: fix ctd on recompiling screenspacegi Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 fix: remove redundant themeSettings fix: fix ctd on recompiling screenspacegi (#652) Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 refactor: simpler ssgi recompile ctd fix (#656) fix: (roughly) correct specular ssgi multiplier (#661) feat: allow disabling of upscaling/framegeneration (#646) Disable special features. closes #606 fix: correct ssgi backface mult (#662) fix(VR): fix SSGI movement ghosting (#663) feat(UI): use full-fledged theme editor (#657) fix: bug for loading features due to missing keys (#654) refactor: break down `Util` into separate files (#660) refactor: fix shader warnings (#658) feat: add sky reflection fix (#665) fix: handle malformed defines pairs in Util::CompilerShader (#664) closes #300 revert: "fix: handle malformed defines pairs in Util::CompilerShader" (#668) refactor: remove unused argument of `GetTerrainShadow` (#671) docs: improve terrain height map instruction (#669) refactor: force include path to Shaders folder (#672) fix: handle malformed defines pairs in Util::CompilerShader closes #300 refactor: remove DeferredShared (#673) * refactor: force include path to Shaders folder no relative include is allowed any more * fix: prevent delete nullptr * fix: add missing sss include * refactor: remove DeferredShared replaced with SharedData fix: fix terrain shadows (#674) also fixed sign warnings feat: add core feature support (#675) chore: update to new include scheme chore: update shaders to new include scheme chore: update shaders to color namespace fix: disable HDR tonemapping due to performance issues feat: per-channel HDR tonemapping feat: automatic effect shader colours (#687) * feat: automatic effect shader colours * fix: remove testing code * style: 🎨 apply clang-format changes * style: 🎨 apply clang-format changes * fix: light vector --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: weather and shadow nif flags for effects. (#685) * feat: weather and shadow nif flags for effects. * style: 🎨 apply clang-format changes * chore: removed no longer needed flag. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: rename Constants to Math with namespace (#689) fix(VR): fix ctd on start (#690) feat: consistent backlighting (#692) * feat: consistent backlighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: unify shadercache clearing (#691) fix: probably fixed broken shadow portal-strict lights. (#677) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> chore: less aggressive tonemapping chore: add volumetric lighting to core fix: complex materials not working (#694) * fix: complex materials not working * fix: dynamic cubemap mip levels chore: remove false-positive particle lights chore: llf tweaks (#696) * chore: remove not needed hooks * chore: match light count with group size in llf build: update version numbers (#695) chore: remove cluster culling while loop (#697) fix: disable llf modifying shaders chore: llf toggling and refactoring (#698) * refactor: casing of isNewFrame * chore: properly toggle llf hooks build: update clib with portal RE and perf relocation fixes (#700) perf: optimize particle lights (#702) * chore: particle light optimisation attempt * style: 🎨 apply clang-format changes * fix: water shadow lights * chore: remove BSLightingShaderProperty_GetRenderPasses * fix: llf info * style: 🎨 apply clang-format changes * feat: particle light gpu optimisations * style: 🎨 apply clang-format changes * refactor: corrected includes in xseplugin * chore: remove ParticleLightsOptimisationClusterRadius * style: 🎨 apply clang-format changes * fix: billboard light color * feat: cleaned up queued lights and optimised * style: 🎨 apply clang-format changes * chore: remove llf testing code * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: default constant buffers to dynamic (#703) refactor: shader flags (#704) * refactor: shader flags * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: incorrect shader information fix: disable unmodified imagespace shader replacement (#705) chore: increase lights per cluster (#706) fix: light clustering issues (#708) * fix: VR light clusters * style: 🎨 apply clang-format changes * fix: light cluster race condition --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: bump required vr addresslib version (#710) fix: remove redundant calculation in terrain shadow (#714) feat: add missing pbr permutations for pre-compilation (#713) * feat: added missing pbr permutations for pre-compilation. * chore: turned BASE_OBJECT_IS_SNOW into flag. * style: 🎨 apply clang-format changes * chore: merged DO_ALPHA_TEST and ADDITIONAL_ALPHA_MASK into single permutation. * style: 🎨 apply clang-format changes * chore: true exclusion of pbr vertex permutations. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: remove VL feature from core until fixed fix: alpha testing (#715) * fix: alpha testing * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: grass updates (#716) * feat: grass updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr grass compile (#717) * fix: pbr grass compile * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor shader fixes (#718) fix(UI): change missing feature ini color (#719) feat(UI): add gpu memory usage to menu footer (#712) chore: use vanilla contrast (#720) chore: increase skylighting resolution and range (#722) refactor: fake enums for PBR (#721) * refactor: fake enums for PBR * style: 🎨 apply clang-format changes * refactor: pbr enums for extended materials * refactor: pbr file scope --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove shadow bias changes (#723) fix: remove effect shader testing logging (#724) fix: out of bounds shadow index chore: effect shader improvements (#725) * chore: effect shader improvements * style: 🎨 apply clang-format changes * fix: remove testing code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: further effect shader tweaks (#726) * chore: further effect shader tweaks * chore: remove experimental code chore: less intense ao (#727) * chore: less intense ao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: character lighting flickering (#729) fix: force disable "improved" snow shader (#728) * fix: force disable "improved" snow shader * style: 🎨 apply clang-format changes * fix: do not access setting on VR * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix rungrass not compiling with skylighting (#730) fix: lighting fixes (#731) * fix: maybe flicker fix * style: 🎨 apply clang-format changes * fix: currentExtraDescriptor not updating correctly * fix: always update permutation buffer whenever it changes * style: 🎨 apply clang-format changes * fix: particle lights with no color array * fix: remove ExtendedFlags * style: 🎨 apply clang-format changes * fix: inactive shadow lights * Update LightLimitFix.cpp * fix: typo * chore: add comment * feat: po3 light placer support * fix: shadows on loading screens * fix: incorrect casting * fix: bad cast * fix: disable replacing BSImagespaceShaderReflectionsDebugSpecMask * chore: remove Effect_Shadows * chore: removed ID3D11DeviceContext_Unmap --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: water composite rewrite (#733) * feat: water composite rewrite * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: too bright water feat: unified tree lod shading (#734) * feat: unified tree lod shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve effect shader shading fix: water brightness (#738) fix: corrupt lightFlags (#736) * fix: corrupt lightFlags * chore: remove commented lines fix: particle light radius (#739) feat: add incompatibility check for PrivateProfileRedirector < 0.6.2 (#735) fix: rain with DLAA fix: particle mask fix: bias AA against rain (#740) * fix: bias AA against rain * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: remove added tonemapping, per-channel vanilla (#737) chore: bias FSR rain more fix: grass point lights (#741) * fix: grass point lights * style: 🎨 apply clang-format changes * fix: PBR grass shading --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix eye mismatch for screenspacegi (#666) * fix(VR): use world position for eye swap over Fix a bug where the function would convert in viewspace which would not be synced between the eyes. Now the conversion goes to world space before converting to the other eye. * fix(VR): fix ConvertMonoUVToOtherEye This requires hardcoding a shift based on a q3. This may not be the scalable solution. * fix(VR): fix eye mismatch for screenspacegi * fix: use ndc matrix instead of hardcoded value * refactor: simplify eyeoffset logic fix: whiterun water flows invisible (#742) * fix: whiterun water flow invisible * style: 🎨 apply clang-format changes * chore: better water flow blending * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: update DLSS tooltip feat: effect shadows improvements (#743) * feat: effect shadows improvements * style: 🎨 apply clang-format changes * fix: shadow sampling * fix: ambient color wrong on some weathers --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: increase default sss thickness fix: effect shader lights (#746) * fix: effect shader lights * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: fixed vanilla ssr (#745) * feat: fixed vanilla ssr * style: 🎨 apply clang-format changes * fix: vr * style: 🎨 apply clang-format changes * chore: remove deltaUvDepthDR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: po3 light placer support (#747) refactor: sss menu text fix: fixes for pbr land crashes in vr. (#751) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: sky motion vectors (#752) * fix: sky smear fix attempt * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove unused llf flags (#749) fix: Effect soft fade fix(VR): grass compile when grass lighting is missing (#755) fix(VR): update clib with VR support for raindata (#757) fix(VR): water refraction (#756) * fix(VR): water refraction * chore: more refraction fix attempting * style: 🎨 apply clang-format changes * fix: depth from uv calculation i think * fix: actually fixed refraction * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor(HLSL): create namespaces for rest of hlsli (#761) feat: better rain fx (#744) * feat: better rain fx * fix: rain occlusion * style: 🎨 apply clang-format changes * fix: use rain density instead of alpha * chore: remove chaotic ripples * style: 🎨 apply clang-format changes * feat: rain fade in and out * feat: redone wetness and puddle cpu code * chore: tweak default wetness settings * style: 🎨 apply clang-format changes * chore: remove unused constants * chore: bias towards puddles * chore: chore further cleanup * chore: further bias puddles * fix: correct conversion * chore: more fixes * fix: bad bracket * chore: clamp raining amount * fix: wetness crash * fix: padding * fix: bad settings * chore: tweaked puddles buildup * fix: puddle wetness default * fix: vr raindrops * style: 🎨 apply clang-format changes * chore: fade out rain fx quicker * chore: update precipitationData access --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix deferred vs forward rendering (#760) * fix: deferred vs forward rendering fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): vl ghosting (#762) * fix(VR): vl ghosting * chore: move VL back to core fix: water parallax on angled surfaces (#763) * fix: water parallax on angled surfaces * style: 🎨 apply clang-format changes * fix: add vr eyeindex * style: 🎨 apply clang-format changes * chore: revert and simplify fix --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: disable and limit settings fix: do not modify iVolumetricLightingQuality fix: sky blending fix(GOG): fix crash with upscaling (#764) perf(VR): performance tweaks for vr (#765) * performance(VR): performance tweaks for vr * style: 🎨 apply clang-format changes * performance: ExtendShadows only affects dir light * fix: terrain shadows * fix: non pbr terrain * fix: remove extended shadows on terrain, too complex --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: ini settings saving to a random ini file (#767) * fix: fix ini settings saving to a random ini file * chore: add ini pref and relocate ini * fix: save settings fix: disable some effect shaders (#766) fix: inconsistent raindrop visibility (#769) feat: ssr improvements (#768) * feat: ssr improvements * chore: increase distance further * chore: more improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: add missing space fix: screenspace shadows on decals (#771) * fix: screenspace shadows on decals * style: 🎨 apply clang-format changes * fix: other decals * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve settings, remove PBR settings (#770) * chore: change settings files location * chore: better settings * style: 🎨 apply clang-format changes * refactor: same spacing as pre-PR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: reduce water shadow blur fix: tonemapping saturation (#772) fix: screenspace shadow weights (#773) * fix: screenspace shadow weights * fix: missing vr * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: water depth samples, sun specular (#774) * fix: water depth samples, sun specular * chore: sun fresnel * fix: bad math fix: grass compile error fix: do not modify reinhard saturation (#775) feat: no water ssr fade (#776) fix: filmic tonemapping hues (#777) * fix: filmic tonemapping hues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: better hue preservation (#778) * fix: filmic tonemapping hues * chore: less aggressive * style: 🎨 apply clang-format changes * feat: HuePreservingReinhard --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: ssr tweaks (#779) * chore: ssr tweaks * fix: actually bias feat: new SSR shader and water application chore: remove MaxIterations, SSR formatting (#780) * chore: ssr fixer upper * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: less aggressive ssr edge (#781) * chore: less aggressive ssr edge * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: particle lighting in menus (#783) * fix: particle lighting in menus * style: 🎨 apply clang-format changes * chore: remove redundant code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: more ssr tweaks (#784) fix: force create communityshaders directory (#782) * fix: always force create directories to avoid issues * chore: catch filesystem errors * chore: better messages * chore: even better messages perf: ssr optimisation (#785) * perf: ssr optimisation * style: 🎨 apply clang-format changes * chore: more tweaks * style: 🎨 apply clang-format changes * chore: even more optimisation * style: 🎨 apply clang-format changes * refactor: rename dims to coords * style: 🎨 apply clang-format changes * chore: even better * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: even more ssr tweaks (#788) refactor: ssr cleanup (#786) * refactor: ssr cleanup * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: pb shadow improvements (#789) * chore: pb shadow improvements * chore: more cleanup fix: dynamic cubemap fixes (#790) * fix: dynamic cubemap fixes * chore: improve cubemap inferrence * fix: skylighting reflecting sky * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pb shadow blur fix: dynamic res with SSR chore: use CameraDataWater instead of CameraData chore: better skyrim upscaler compat (#794) fix: incorrect water reflections (#792) * fix: incorrect water reflections * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor dynamic cubemap issues (#791) * fix: minor dynamic cubemap issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): grass distance fade (#793) chore: cleanup VL settings (#795) chore: add VL IsCore (#796) refactor: DICE to DisplayMapping (#798) * refactor: DICE to DisplayMapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: IsOutsideFrame capitalisation (#797) chore: rename screenspace shadows to match SSGI (#799) fix(VR): mismatched puddles (#801) fix: caustics and shadow fixes (#800) * fix: caustics and shadow fixes * style: 🎨 apply clang-format changes * chore: more fixing --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: rename Water Lighting (#803) * refactor: rename Water Lighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove broken Git text from Lighting.hlsl (#805) chore: remove DICETonemapper.hlsli fix: hue preservation NaN (#806) * fix: hue preservation NaN * fix: better fix chore: complex mat roughness tweaked (#807) refactor: shader bindings (#808) * refactor: shader bindings * chore: compact refactor: move FrameBuffer buffer to namespace (#809) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> chore: grass normal tweaks (#810) refactor: fully use namespaces (#811) * refactor: fully use namespaces * style: 🎨 apply clang-format changes * refactor: feature namespaces * style: 🎨 apply clang-format changes * refactor: rename copiedData to ShadowData * refactor: remove Shared suffix * style: 🎨 apply clang-format changes * refactor: terrain shadows * refactor: more features * style: 🎨 apply clang-format changes * fix: add missing fadeout factor * fix: skylighting * refactor: dynamic cubemap namespace * fix: SSGI compile --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: FlayaN <hannes.feldt@gmail.com> chore: random cleanup and fixes fix: reduce inference ramp up chore: reduce default billboard radius chore: remove parallax boost fix: subsurface scattering namespaces fix: compilation window alpha (#815) fix: blended decals with zbufferwrite (#812) * fix: blended decals with zbufferwrite * style: 🎨 apply clang-format changes * chore: tweak comments * chore: comment tweaks * chore: add AE addresses * style: 🎨 apply clang-format changes * fix(VR): fix vr offsets (#814) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: water caustics on water edge (#816) chore: tweaked contact shadows (#817) fix: imgui Display error chore: tweaked menu transparency fix: ssr lines (#818) fix: dont save vl settings to ini on flatrim (#819) refactor: adjust brackets for VL (#820) * refactor: adjust brackets in VL * refactor: more * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: use constant buffer for strictlightdata (#821) * feat: use constant buffer for strictlightdata * fix: clusters clipping on first person model * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove displaymapping (#822) * chore: remove displaymapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: move CopyShadowData (#823) fix: fix shader compile for llf debug (#825) feat: group not loaded features in UI (#824) fix: fix terrain shadow texture slot and add dlc heightmaps (#827) * fix: fix terrain shadow texture slot * chore: pack terrain heightmaps separately and add dlc heightmaps fix: fix skylighting cb padding (#828) build: remove frame generation from core (#829) fix: finish LLF refactor (#830) * fix: finish LLF refactor * chore: update fix: llf strict light array padding (#831) chore: update version to 1.0.1 fix: gog detection (#832) docs: fix terrain shadows spelling error (#833) fix: fix terrain shadow ctd (#834) * fix: fix terrain shadow ctd * refactor: to be more specific chore: bump version to 1.0.2 feat: refactor ssgi to use spherical harmonics (#837) * chore: remove ao blur * chore: random changes * feat: add SH IL * feat: add back blur * feat: add back half res * fix: ao temporal denoise fix: skylighting alpha testing (#836) * fix: skylighting alpha testing * style: 🎨 apply clang-format changes * chore: removed skylighting foliage hacks --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix clearing the wrong ssao buffer (#839) fix: fix terrain shadows ctd when texture name has less than 10 fields (#841) fix: fix ssgi vr consistency and foliage glowing (#838) * feat: add back ssgi vr eye blending * fix: misnomer * fix: float4 conversion * chore: remove redundant define * fix: fix incorrect ambient reprojection, reduce foliage glow * fix: less strict movement occlusion for vr * fix: foliage flipped normal * chore: slightly reduce specular gi chromaticity * fix: correct foliage fix chore: bump ssgi ver to 3.0, disable vanilla ao (#840) chore: bump version to 1.0.3 chore: bump version to 1.1.0 fix: change default settings to prevent ssgi feedback loop (#844) feat: add saturation slider for ssgi il, remove backface mult (#845) * feat: saturation slider for ssgi il * chore: bump ssgi ver * chore: more drastic IL bounce value chore: bump version to 1.1.1 feat: add quarter res, default settings for minimal noise (#848) * feat: add quarter res, default settings for minimal noise * fix: add recompile flag to reset default fix: clean up ssgi blur and upsample, change presets (#849) chore: hide ssgi slice & step, blur with minimum weight (#852) fix: detect lack of d3d11.1 support, TAA sharpening (#850) * fix: detect lack of d3d11.1 support * style: 🎨 apply clang-format changes * feat: sharpening for TAA * style: 🎨 apply clang-format changes * fix(VR): fix vr offset and bump address lib dependency (#851) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> chore: bump version to 1.1.2 chore: bump ssgi version to 3.0.2 chore: reduce grass sss setting fix: vr upscaling hooks (#853) chore: bump version to 1.1.3 fix: fix ssgi ambient bounce ignoring AO (#855) feat: support directly using xlodgen output in terrain shadows (#854) chore: change default frame generation mode feat: add simple specular AO and restore high accuracy specular GI (#860) * feat: add simple specular ao * feat: add back high accuracy specular gi chore: dlss tweaked menu, performance (#857) * chore: dlss tweaked menu, performance * build: move CopyDepthToSharedBufferCS.hlsl feat: add back display mapping for filmic (#864) chore: bump version to 1.1.4, ssgi to 3.0.3 (#867) fix: fix terrain shadow ctd when directory does not exist (#869) chore: bump version to 1.1.5 (#870) fix: set recompileFlag when loading ssgi settings (#872) fix: revert sampler to clamp to fix screen artifacts (#871) fix: taa sharpening fix: distant water reflections (#885) fix: skipping refract calculation for pbr landscape (#887) * Fixed fraction calculating for pbr landscape * Skip refract calculation for pbr landscape fix: detect bad dynamic cubemaps (#886) * fix: detect bad dynamic cubemaps * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hq refined dithered parallax (#877) * feat: hq refined dithered parallax * style: 🎨 apply clang-format changes * fix: pbr --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: version bumps fix: cloud shadows issues (#893) * fix: cloud shadows issues * style: 🎨 apply clang-format changes * chore: us…
tssge
pushed a commit
to tssge/skyrim-community-shaders
that referenced
this pull request
May 28, 2025
chore: ui changes feat: add icons font feat: more fleshed out feature interface feat: features reordering and removal chore: square button and hint text feat: preprocess hooks feat: port COD bloom chore: remove test feature feat: lut baker ui placeholder feat: port auto exposure chore: def settings feat: port tonemapper chore: default settings and bypass vanilla tonemap chore: default set of effects feat: more tonemapping operators fix: post load Load Settings crash fix feat: added Aldridge filmic feat: Lottes & Day & Uchimura curves refactor: rename math tonemapper to colour transforms, flexible funcs fix: minor fixes style: 🎨 apply clang-format changes feat: bogey items as separators in ColourTransforms feat: add ASC_CDL feat: add clamp, exposure/contrast, asc cdl, saturation feat: shift slider feat: log space conversion, halfres histogram, 64bit support feat: add gamma, and rgb gamut conversion feat: LiftGammaGain, SaturationHue, DCI-P3 fix: fixes fix: shader nullptr issue feat: exposure option for agx fix: potential id conflict, wrong number fix: exposure typo feat: add vignette feat: add bypass, buttons to list chore: change default settings chore: ui chore: default the whole thing instead of each fx fix: alt+tab input sticking (#403) chore: disable temporal denoiser on diffuse AO (#404) it doesn't need it and only introduces ghosting chore: ui refactor: commonise fix: Fix zero weight on pbr landscape without displacement (#408) * Fix zero weight on pbr landscape without displacement * style: 🎨 apply clang-format changes --------- Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix: specular gi affecting diffuse gi, revert disable temporal denoiser on diffuse AO (#407) * fix: disabling AO temporal filter breaks half-rate * fix: specular gi affecting diffuse gi * Revert "fix: disabling AO temporal filter breaks half-rate" This reverts commit 47d89016d452bcc409dfd7badc3ea5f00c6c54b1. * Revert "chore: disable temporal denoiser on diffuse AO (#404)" This reverts commit 2fadbeea752eb21aaa6a6c7b3422a41231c52b79. fix: fixes for ISRefraction and ISSAOBlur. (#406) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: missing `InterleavedGradientNoise` change (#405) fix: switched to using in-game imagespace shader defines. (#409) * fix: switched to using in-game imagespace shader defines. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: black reflections + InWorld flag (#399) * fix: black reflections + InWorld flag * style: 🎨 apply clang-format changes * refactor: InWorld comment * fix: shader logic * style: 🎨 apply clang-format changes * fix: world map and 3d menu objects features * style: 🎨 apply clang-format changes * refactor: cleaner conditional shadow sampling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: gi attenuation, remove back face option (#410) feat: add melon tonemapper feat: add kajiya tonemapepr, oklch saturation fix: default settings feat: add colour mixing, bypass serialisation chore: better colour mixer ui, remove logspace transofrms chore: def settings feat: LUT feat: tracy profiler integration (#365) * feat: add tracy profiler * chore: update VR offset * chore: force tracy 0.11.0 * chore: add TRACY_ENABLE as cmake option, remove redundant include * build: add TRACY_SUPPORT cmake option and fix vcpkg baseline * chore: update to dev * Update CMakePresets.json * build: add `ALL-TRACY` preset Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> * Update CMakePresets.json Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: Flayan <964655+flayan@users.noreply.github.com> fix: more specular gi attenuation fix (#412) feat: Interior bool in shared constant buffer fix: PBR directional light specular fix and llf compile fixes (#415) * feat: lighting fixes * chore: comment added to Interior boolean * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: unlocked HDR range of game buffers (#416) fix: added padding for pbr settings struct (#414) * fix: added padding for pbr settings struct * chore: unify padding naming --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> fix: ssgi: limit min roughness, remove luminance weight (#417) fix: offset fix: ssgi use perceptual roughness instead of linear (#418) fix: remove all linear/srgb conversion, save for pbr albedo (#420) fix: remove tpbr albedo lin2srgb (#421) fix: pbr parallax and terrain parallax intensity (#423) feat: glint for PBR (#413) * fix: switched to using in-game imagespace shader defines. * feat: support for glint parameters in pbr meshes and texture sets. * style: 🎨 apply clang-format changes * fix: trying to fix * style: 🎨 apply clang-format changes * fix: use local H * fix: fixed shader compilation with glint. Reworked pbr parameters serialization. Hidden glint under define. * style: 🎨 apply clang-format changes * fix: trying to fix glints * fix: fixed blowing up specular when blending pbr and non-pbr landscape. * fix: prevent glazing angle flashes, correct tbnTr * fix: blending, more suppression on edgy glints, optimisation * chore: remove redundant context check --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> Co-authored-by: Pentalimbed <pentalimbed@gmail.com> Co-authored-by: Pentalimbed <Pentalimbed@users.noreply.github.com> chore: updated feature settings for correct color space (#424) Revert "chore: updated feature settings for correct color space" (#425) This reverts commit 16bf0b60b6c999147aa5590fc81748de8288cfa2. Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. chore: 1.5 for everything chore: def settings revert: revert linearisation attempts (#426) * Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. * Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. fix: fixes for effect shader; effect shader enabled fully. (#427) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: llf cleanup and optimisations, plus shadow improvements (#419) * feat: llf cleanup and optimisations * style: 🎨 apply clang-format changes * fix: added missing water shader changes * fix: grass compile error * feat: more shadow optimisations * feat: shadows on transparent lighting shaders * fix: shadows too sharp * style: 🎨 apply clang-format changes * fix: too aggressive shadow bias adjustment * performance: store contact shadow steps function * chore: removed contact shadows from grass * style: 🎨 apply clang-format changes * revert: back to vanilla shadow blurriness * feat: improved shadow sampling * style: 🎨 apply clang-format changes * feat: blurred contact shadows * style: 🎨 apply clang-format changes * fix: clamp shadow sampling uvs, stochastic sampling * style: 🎨 apply clang-format changes * performance: shared 3D noise outside of contact shadows * style: 🎨 apply clang-format changes * chore: cleanup water vl sampling code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: pbr diffuse lighting in srgb. (#429) * feat: PBR diffuse calculated in sRGB. * style: 🎨 apply clang-format changes * feat: slider for base color gamma. * feat: transform for other PBR diffuse colors. * style: 🎨 apply clang-format changes * fix: fix for pbr-non-pbr land blending. * fix: default base color gamma set to 1.9. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: effect lighting (#430) * feat: effect lighting * style: 🎨 apply clang-format changes * performance: scale shadow sample count with distance * chore: removed skylighting include from Effect * fix: light limit fix include in Effect * chore: removed unneeded undef from Effect --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "fix: alt+tab input sticking" (#434) This reverts commit 6277a6c41cd3e1779e86fd900e8349189d765305. fix: black terrain (#435) fix: glowing objects with wetness feature fix: probable fix for skylighting interior crashes (#432) * fix: probable fix for skylighting interior crashes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: add namespaces for features (#431) * fix: fix shader warnings * refactor: add namespace for WetnessEffects * refactor: add namespace for TerrainOcclusion * refactor: add namespace for TerrainBlending * refactor: add namespace for ScreenSpaceShadows * refactor: add namespace for LightLimitFix * refactor: add namespace for GrassCollision * refactor: add namespace for ExtendedMaterials * refactor: add namespace for DynamicCubemaps * refactor: add namespace for CloudShadows chore: set default pbr gamma to 2.2 (#436) chore: slightly improved directional shadow bias fix: too aggressive dir shadow bias fix: glowmap brightness (#439) * fix: glowmap brightness * fix: effect shadows not working fix: missing LLF lights fix: disable effect shadows on world map (#442) * fix: disable effect shadows on world map * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: complete skylighting during loadscreen (#433) * feat: complete skylighting during loadscreen * style: 🎨 apply clang-format changes * fix: forceFrames subtraction * chore: removed doPrecip since unused * style: 🎨 apply clang-format changes * fix: fadein set to 64 * fix: force skylighting frames correct values * style: 🎨 apply clang-format changes * fix: reduce skylighting max zenith to fix inconsistency * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: volumetric lighting RE. (#437) * feat: compute shaders support for shader cache. ISVolumetricLightingRaymarchCS added. * style: 🎨 apply clang-format changes * feat: added ISApplyVolumetricLighting and ISVolumetricLightingGenerateCS shaders. * style: 🎨 apply clang-format changes * chore: updated clib. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: grass shadows in interiors (#443) fix: add skylighting shadow bias (#444) perf: removed snow mask, do all diffuse specular addition in linear (#445) * chore: removed snow mask, do all diffuse specular addition in linear * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "perf: removed snow mask, do all diffuse specular addition in linear" (#447) This reverts commit 9b45c228d678f0d479afcae2ff54cb3e0d149b01. fix: SSR on LOD water bugs fix: black screen fix: skylighting skin artifacts + unroll (#449) * fix: skylighting skin artifacts + unroll * style: 🎨 apply clang-format changes * perf: tangentWeight math --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hdr tonemapping (#438) * feat: hdr tonemapping * style: 🎨 apply clang-format changes * feat: brightness slider controls tonemapping * chore: remove unused bloom conversion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: PBR asset matching (#448) * fix: PBR linear lighting, intensity * style: 🎨 apply clang-format changes * fix: AmbientComposite in linear for PBR * fix: PBR lod blending * fix: horizon occlusion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fixes for pbr land seams. (#450) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> perf: blur ss shadows in parallel (#451) * perf: blur ss shadows in parallel * chore: added GetScreenDepths * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: screenspace shadows blur direction feat: ISReflectionsRayTracing shader added. (#452) * feat: ISReflectionsRayTracing shader added. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: water parallax and improved performance (#455) fix: ISReflectionsRayTracing error fix: fixed constant indices in VR. (#453) * fix: fixed constant indices in VR. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: small ISVolumetricLightingGenerateCS fix. (#454) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: VR support for ISHDR and ISSAOComposite. (#458) * feat: VR support for ISHDR and ISSAOComposite. * style: 🎨 apply clang-format changes * fix: fix for ISApplyReflections. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix(VR): fix ctd when enabling imageshaders (#457) fix: water LOD shadows fix: ISHDR on flat (#459) * fix: ISHDR on flat * fix(VR): ISHDR fix: black screen fix: fixed black face in race menu. (#460) * fix: fixed black face in race menu. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: in-game editor for pbr land texture parameters. (#462) * feat: in-game editor for pbr land texture parameters. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: potential black screen fix (#465) * fix: potential black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: kill management thread on stop (#464) closes #296 feat(VR): add ImageSpace shaders (#463) fix: black reflections (#466) feat: linear water composite (#467) * feat: linear water composite * fix: underwater looking incorrect feat: improved contrast function (#471) * feat: improved contrast function * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix flickering of non-PBR assets (#472) Fix flickering of nonPBR assets when PBR assets are used. feat: expose skylighting dynamic cubemap to forward shaders fix(VR): fix ghosting for water (#477) perf: reduce default compilerThreads (#475) Set the default to be the max of (maxCores - 4), (maxCores * 3/4), or 1 feat: water optimisation, skylighting, fixes (#474) * feat: water optimisation, skylighting, fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: Lin2sRGB changed to LinearToGamma etc. (#478) * refactor: Lin2sRGB changed to LinearToGamma etc. * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: HDR tonemapping errors (#479) * fix: HDR tonemapping errors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr landscape scale and height blending (#461) * fix pbr land scale and blending * style: 🎨 apply clang-format changes * Only scale steps by land parallax scale to avoid artifacts * style: 🎨 apply clang-format changes * better naming and fixes for displacement adjust * style: 🎨 apply clang-format changes * Removed unneeded check, added missing check * Added a space --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix(VR): fix issues due to wrong variable name (#482) feat: removed separate SSS buffer (#483) revert: "fix: potential black screen fix" (#484) This reverts commit 27a2db2bb82d19cbceb424bd032660ad059f6d30. fix: adaptation black screen fix (#485) * fix: adaptation black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: use dynamic resolution helper (#487) fix(VR): fix utility shader shadows with upscaler (#486) closes #446 chore: enable imagespace and utility by default feat: pbr replacement for default land texture. (#489) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: material object editor and more. (#490) * feat: in-game material objects editor; glint support for material objects; mesh texture set updating during editing; subsurface and coat parameters in texture set editor. * chore: removed no longer used pbr lighting settings. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: texture set and material object configs not applying in some cases. (#492) * fix: fixes for texture set and material object configs not applying in some cases. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: less hue preservation in tonemapping (#493) feat: do tonemapping in gamma space (#494) fix: too noisy shadows (#495) fix: fixed crash on meshes with kVertexLighting flag enabled. (#496) * fix: fixed crash on meshes with kVertexLighting flag enabled. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixes for subsurface and projected material in pbr (#499) * fix: brought back PIs to subsurface and coat diffuse. * fix: proper support form projected material on top of subsurface, coat or fuzz. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixed pbr decals texture set parameters application. (#500) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix(VR): fix missing snow hook (#501) fix: Specify magic-enum port version in vcpkg.json (#503) Remove duplicate magic-enum entry under dependencies (#505) feat: Height blending toggle, parallax shadows edits (#491) * height blend toggle, extended parallax shadows * Change define to static const, disable extended shadows on vanilla landscape * style: 🎨 apply clang-format changes --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> chore: adjusted tonemapping curve fix: match vanilla shadows (#514) fix: enable all effect shaders (#515) refactor: llf use the game invprofmatrix (#508) * chore: llf use the game invprofmatrix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: rebuild shaders when editing shader defines (#512) Improves the behavior when modifying the Advanced -> Shader Defines. Shaders will be rebuilt on any change in the field when focus is lost or if enter is pressed. feat: linear space ssao (#518) * feat: linear space ssao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: shadow cascade sampling (#520) * fix: shadow cascade sampling * fix: tree LOD ambient brightness * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove 1.5 gamma refactor: rename terrain occlusion to terrain shadows refactor: rename terrain occlusion folder style: 🎨 apply clang-format changes refactor: rename other terrainocclusion folder refactor: rename terrainocclusion.hlsli refactor: finish renaming TerrainOcclusion to TerrainShadows style: 🎨 apply clang-format changes fix: fix skylighting fade and darkness (#517) * refactor: rename updateProbes * fix: skylighting fade and darkeness fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: directional skylighting chore: blur ss shadows in proj space (#522) chore: minor visual tweaks fix: screenspace shadow blur in distance (#523) docs: provide gpl exception for hardware sdks (#513) fix: fix missing directory ctd with DynamicCubeMap Creator (#511) * DynamicCubeMap Creator crash fix When a destination folder for the DynamicCubeMap Creator export does not exist then CS should not crash. Now: Create Folder if destination folder does not exist. Unable to create missing folder: log error File Object with same name exists: skips * style: 🎨 apply clang-format changes * Update DynamicCubemaps.cpp Moved Texture creation and SaveToDDSFile inside try/catch block. This removed one boolean variable that had been used . No attempt is made to save a file if that filename exists (even an incorrect file object). As there are multiple types of exceptions including OS filesystem errors the catch was left as std::exception instead of multiple catch types and specific log messages. build: introduces a windows based build container (#524) * ci: adds docker file for a build container * ci: adds separate container build script * docs: adds docker section to readme * docs: separates docker steps for slightly easier understanding * docs: adds vcvarsall.bat instructions to setup amd64 env without opening VS * fix: adds missing word for docker context and fixes path in ps1 * fix: replaces docker context switch with correct command feat: DLSSG frame generation (#504) * feat: added streamline * feat: streamline partial cmakelist * feat: streamline swapchain * style: 🎨 apply clang-format changes * feat: init streamline * fix: typo * feat: more streamline setup * style: 🎨 apply clang-format changes * feat: frame generation working but still broken * style: 🎨 apply clang-format changes * feat: functional DLSSG * style: 🎨 apply clang-format changes * chore: disable reflex sleep since not needed * chore: streamline cleanup and fixes * style: 🎨 apply clang-format changes * feat: include streamline dll files with licence * chore: cleanup streamline files, auto dlssg * style: 🎨 apply clang-format changes * fix: try to prevent memory leak * fix: remove accidentally included files * fix: detect DLSSG compatibility * style: 🎨 apply clang-format changes * fix: motion vectors when the game is paused * feat: RCAS sharpening * fix: incorrect hooking behaviour * style: 🎨 apply clang-format changes * fix: detect if the DLSSG feature is loaded before querying it further * fix: typo * style: 🎨 apply clang-format changes * fix: RCAS color space and intensity * feat: DLSS menu following guidelines * style: 🎨 apply clang-format changes * feat: FSR 2.2.1 * style: 🎨 apply clang-format changes * feat: remove FSR, separate frame generation to a feature, upscaler compat * chore: remove unused submodules * fix: do not apply d3d hooks to VR * fix: only show streamline menu on flatrim * fix: missing streamline shader * refactor: move streamline includes to forked submodule (#507) * fix: vr menu hook * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: menu compile error revert: "feat: linear space ssao" (#525) This reverts commit 8c8c2d11647e89cc61c81ab7f83781ccc86325ef. fix: fix skylighting CB alignment (#531) feat: allow features to pass define options (#528) refactor: move WStringToString to util (#532) docs: lower unknown hlsl variables to debug (#529) fix: add missing right parens (#539) refactor: explain GetVRVSOutput better (#527) feat: decouple AO/GI radius and remove unused HBAO code (#538) * refactor: remove unused hbao code * feat: decouple AO and GI thickness fix: fixed permutation buffer not resetting between frames. (#540) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: fix effect shader for ADDBLEND && VC && !TEXTURE (#544) * fix: fixed wrong look for effect shader with ADDBLEND && VC && !TEXTURE. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fix broken vr lights due to buffer alignment (#541) Fixes issue introduced by c64421048a664ffdcc33d7b3666e8ef36ef6c440 perf: pbr glint optimization (#537) * perf: smaller glint noise tex size * perf: cache glint precomputation feat: add hlsl-specific clear (#543) * feat: add hlsl-specific clear Allow clearing of all shaders linked to a specific hlsl file. This is useful for DEFINE option passing for features. * fix: fix locking scope to avoid deadlocks * fix: fix clearing shader with prior diskcache Fixes a bug where a prior saved diskcache shaders could not be cleared by filename. fix: fix undeclared TexProjNormalSampler (#547) TexProjNormalSampler is not defined if MULTI_LAYER_PARALLAX is enabled. docs: make descriptors print as hex (#546) refactor: remove redundant ifdef (#545) fix: recreate config if json parsing error (#548) closes #536 build: fix build if using defined vckpg commit (#549) chore: remove unused variable rate shading files fix: fix padding for StructuredLight (#552) fix: llf cluster errors fix: llf cluster errors missing InvProjMatrix fix: disable PBR hooks until it is fixed fix: always init clusterIndex fix: fixed llf-pbr interaction issue and re-enabled pbr. (#553) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: tree skylighting darkness (#554) feat: add gamesettings functions for features (#533) feat: tweakable pbr multiplier for better matching (#551) * feat: tweakable pbr premult for better matching * chore: premult comments refactor: change detours to use thunk syntax (#559) fix: fix vr ssgi reprojection (#557) feat(VR): enable SSR (#502) fix: llf lights fade (#560) fix: deferred multi layer parallax (#561) revert: "fix: llf lights fade" (#562) This reverts commit e43aee5f71094b6d82b743f14def0abaad0fd35b. fix: light limit fix lights missing chore: remove accumulator from LLF prepass, use constants (#563) feat: add min screen radius setting for ssgi (#564) feat: add non-time InterleavedGradientNoise (#568) feat: support INIPrefSetting and gameSetting (#566) Adds support for INIPrefSettingCollection and gameSettingCollection. Previously, only INISettingCollection was supported. refactor: reorganize defines in VR.hlsli (#567) fix: fix performance drop due to divide by 0 (#571) fix: camera data fixes (#572) * fix: camera data fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: llf fixed alignment issues (#573) * fix: llf fixed alignment issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: DLAA (#556) * feat: add dlss support WIP (#555) * feat: optional ConvertToDynamic for GetScreenDispatchCount * feat: DLAA * fix: increased sampling to fix noise with DLAA * style: 🎨 apply clang-format changes * chore: better DLAA settings * style: 🎨 apply clang-format changes * chore: removed unused motion vector hook * fix: reenable RegisterClassA_Hook * chore: removed unneeded ImagespaceTempCopy hooks * fix: AE DLAA hooks * feat: enable VR * fix: add additional checks to avoid ctds * style: 🎨 apply clang-format changes * fix: fix improper grouping on if * style: 🎨 apply clang-format changes * refactor: corrected dlss/dllsg settings * style: 🎨 apply clang-format changes * feat: earlier CS init * style: 🎨 apply clang-format changes * refactor: XSEPlugin spacing * feat: optional Streamline loading * style: 🎨 apply clang-format changes * fix: VR loading dlssg * feat: streamline settings save/load * style: 🎨 apply clang-format changes * chore: remove unneeded separator * feat: optional Streamline hooking * chore: improved Streamline menu * style: 🎨 apply clang-format changes * chore: always reset motion vectors for DLAA * chore: remove duplicate RCAS and Streamline folders * fix: streamline init issues * style: 🎨 apply clang-format changes * fix: more streamline init fixes * style: 🎨 apply clang-format changes * fix: VR DLAA * fix: disable Streamline in VR * style: 🎨 apply clang-format changes --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Alan Tse <alandtse@gmail.com> Co-authored-by: alandtse <alandtse@users.noreply.github.com> feat: improve vanilla VL (#569) * Add multipleScattering * Modify temporalContribution to account for motion vectors * Use InterleavedGradientNoise for noise generation * Add forward and backphase calculations for phase scattering * Add adaptive step size and transmittance for ray marching * Add comments and helper functions where appropriate revert: "feat: improve vanilla VL" (#574) This reverts commit b14d1445b7ebf919e3d43db89894f2201ac182ea. fix: compile and imagespace errors (#575) * fix: compile errors * style: 🎨 apply clang-format changes * fix: revert Streamline changes for init --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> build: added FSR SDK feat: shared upscaling options and fixes style: 🎨 apply clang-format changes chore: use default dlss preset chore: reduced effect shader sunlight chore: clearer upscale options fix: fix shader-specific clear (#578) Failure to clear shaderMap resulted in a cached copy being detected but not actually available in the relevant shader array. This would result in vanilla shaders being used instead. chore: menu label changes build: move fsr cmake and remove warnings (#579) feat: native FSR 3 sharpening (#580) docs: add descriptor to shader completion debug (#586) docs: add filename for shader events (#582) fix: use proper output for DEPTHBUFFER_COPY (#585) fix: dyndolod 3d trees shading (#588) * fix: dyndolod 3d trees shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: utility shader changes (#589) chore: revert skylighting foliage tweak refactor: extremely minor cleanup fix: HLT trees color feat: add Util::IsDynamicResolution (#590) fix(VR): fix incorrect shader warning (#591) feat: remove portal-strict light limit (#506) * feat: portal-strict light limit removal. * style: 🎨 apply clang-format changes * feat: shadow lights processed via llf. * style: 🎨 apply clang-format changes * fix: fixes for spotlights. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: remove unnecessary `#pragma warning` (#596) refactor: replace `Microsoft::WRL::ComPtr` with `winrt::com_ptr` (#595) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> refactor: `std::span` for safer shader defines (#594) * refactor: `std::span` for safer shader defines throws exception if we run out of macro slots * fix: add missing nullptr defines to lighting feat(VR): enable upscaling (#592) feat: sync upscaler settings with skyrim setting (#593) * feat(VR): enable upscaling * feat: sync upscaler settings with skyrim setting fix: fix broken vanilla taa (#598) fix: fix compile error (#597) feat: improve llf visualization (#604) * fix: fix LLFDEBUG compilation error * feat: recompile on llf visualization toggle * style: 🎨 apply clang-format changes * chore: fix spacing * feat: add shadowmask visualization fix(VR): fix llf eye desync (#605) fix(VR): fix ghosting in fsr (#602) fix(VR): fix ctd when upscaler present (#603) * fix(VR): fix ghosting in fsr * fix(VR): fix ctd when upscaler present When Upscaler is present, FSR, DLSS are no longer available. This will also properly disabled those options in the menu. revert: "fix(VR): fix llf eye desync" (#607) chore(UI): move all top options to the sidebar (#608) * chore: (UI) move all top options to the sidebar * chore: add missing spaces fix: skylighting hooks when disabled (#609) * fix: skylighting hooks when disabled * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore(UI): changes to fit the new layout (#610) * refactor: tidier way of adding new sidebar menu as a side effect, also fixes reset default mismatch * chore: remove singular collapse headers * chore: change hint text for new layout * refactor: i ❤ modern cpp feat(UI): create new theme (#611) fix(UI): fix font spacing (#612) fix: fixes wetness persisting across saves (#614) refactor(HLSL): create Color namespace refactor(HLSL): create VR namespace refactor(HLSL): create FrameBuffer namespace refactor(HLSL): create DeferredShared namespace refactor(HLSL): create SharedData namespace refactor(HLSL): create Random namespace refactor(HLSL): create FastMath namespace refactor(HLSL): create GBuffer namespace fix(VR): fix llf desync in eyes (#616) closes #601 fix(VR): fix VR namespace define conflict (#617) refactor: move hooks out of State (#599) * refactor: move hooks out of State Hooks should be in XSEPlugin so they can all be found. A similar refactor should be done for SetupResources and other areas where State is being piggybacked. * refactor: move d3dhooks to query fix: bad ImGui::TreePop() feat(UI): more imgui design changes (#619) chore: imgui improvements (#618) * chore: imgui improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat(VR): enable volumetric lighting (#565) * feat(VR): enable volumetric lighting * fix: fix stereo access to VLTex VLTex is still mono and causes artifacts, but this is a correct step once it is stereo. https://github.com/doodlum/Skyrim-Community-Shaders/pull/565#issuecomment-2381750427 * fix: fix stereouv access * fix: fix WindInput * feat: add initial RE for ISFullScreenVR * fix: fix previous depth calculation in dynres The depth stencil from ISDepthBufferCopy is actually full size and not scaled with dynres enabled. * feat: add dynres status to state * fix: fix dynres for volumetric lighting * chore: fix typo * fix: require vr address library 0.154.0 * fix: fix crash of shizof mods at dataloaded * revert: "feat: add dynres status to state" This reverts commit c3658ad122e62a787ef1bdeda8a3d6b33414f025. * fix: use Util::IsDynamicResolution * fix: fix improper depth size when downsampled * fix: fix bad rendering with bDepthBufferCulling With bDepthBufferCulling enabled, culling is incorrect if diskcache is on until ShaderCache is cleared. This is a stopgap until root cause is identified. * fix(VR): fix VR desync closes #601 * revert: "fix(VR): fix VR desync" This reverts commit 958bc9a94ddfda0a24e1adbc3e2b554e6b1d137a. * style: 🎨 apply clang-format changes * style: fix doxygen spacing * refactor: use new namespaces * fix: fix VR namespace define conflict * chore: remove unused vr code * refactor: fix flat compile errors feat: upscaling update (#621) * build: updated FSR * refactor: mode to method * fix: fsr memory leak * feat: updated upscaling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: reset upscaling chore: VR upscaling screen sizes (#623) * chore: VR upscaling screen sizes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: only use imgui io after init (#622) * fix: only use imgui io after init * refactor: getsingleton feat(UI): Add theme settings for menu (#625) chore: frame generation menu (#626) fix: fix crash when fsrContext not initialized (#628) chore: hide frame generation in VR (#629) fix: dynamic cubemaps slow updates (#632) * fix: dynamic cubemaps slow updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: upscaling fixes (#633) fix: foliage checkerboarding arguments chore: move Streamline to core chore: delete Dynamic Cubemaps - Metals folder chore: rename frame generation folder chore: remove terrain blending ini chore: put effect shader lighting changes behind defines (#635) * chore: put effect shader lighting changes behind defines * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> docs: add tooltips for upscaling (#630) * docs: add tooltips for upscaling * Update Upscaling.cpp * Update Upscaling.cpp --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> feat(UI): add footer with diaginfo (#637) chore: display menus open by default fix: sky motion vectors (#638) * fix: sky motion vectors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(UI): fix debug assert (#639) fix: fix errors loading and saving (#640) chore: serialize ImVec to array instead of object (#641) because: 1. it's less cloggy 2. it follows the same format as d3d vecs 3. serializations should be placed in Util fix: fix ShadowSampling warnings (#642) fix: fix Lighting.hlsl warnings (#643) * fix: fix Lighting.hlsl warnings * fix: fix missing truncation fix: fix imgui input buildup (#649) chore(UI): tighter footer (#650) - CS version moved to header - tighter footer height - no table bc you need very wide window to show all text -> they are bullet texts now chore(UI): set Keybindings header to default open (#647) refactor: use themes for remaining colors (#645) build: fix missing themeSettings (#653) refactor: use themes for remaining colors feat: add feature disabling at boot Allows any feature to be disabled at boot. Features must have their hooking within the feature and not elsewhere. Changing the setting will require a restart. fix: serialize RestartNeededColor fix: fix ctd on recompiling screenspacegi Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 fix: remove redundant themeSettings fix: fix ctd on recompiling screenspacegi (#652) Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 refactor: simpler ssgi recompile ctd fix (#656) fix: (roughly) correct specular ssgi multiplier (#661) feat: allow disabling of upscaling/framegeneration (#646) Disable special features. closes #606 fix: correct ssgi backface mult (#662) fix(VR): fix SSGI movement ghosting (#663) feat(UI): use full-fledged theme editor (#657) fix: bug for loading features due to missing keys (#654) refactor: break down `Util` into separate files (#660) refactor: fix shader warnings (#658) feat: add sky reflection fix (#665) fix: handle malformed defines pairs in Util::CompilerShader (#664) closes #300 revert: "fix: handle malformed defines pairs in Util::CompilerShader" (#668) refactor: remove unused argument of `GetTerrainShadow` (#671) docs: improve terrain height map instruction (#669) refactor: force include path to Shaders folder (#672) fix: handle malformed defines pairs in Util::CompilerShader closes #300 refactor: remove DeferredShared (#673) * refactor: force include path to Shaders folder no relative include is allowed any more * fix: prevent delete nullptr * fix: add missing sss include * refactor: remove DeferredShared replaced with SharedData fix: fix terrain shadows (#674) also fixed sign warnings feat: add core feature support (#675) chore: update to new include scheme chore: update shaders to new include scheme chore: update shaders to color namespace fix: disable HDR tonemapping due to performance issues feat: per-channel HDR tonemapping feat: automatic effect shader colours (#687) * feat: automatic effect shader colours * fix: remove testing code * style: 🎨 apply clang-format changes * style: 🎨 apply clang-format changes * fix: light vector --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: weather and shadow nif flags for effects. (#685) * feat: weather and shadow nif flags for effects. * style: 🎨 apply clang-format changes * chore: removed no longer needed flag. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: rename Constants to Math with namespace (#689) fix(VR): fix ctd on start (#690) feat: consistent backlighting (#692) * feat: consistent backlighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: unify shadercache clearing (#691) fix: probably fixed broken shadow portal-strict lights. (#677) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> chore: less aggressive tonemapping chore: add volumetric lighting to core fix: complex materials not working (#694) * fix: complex materials not working * fix: dynamic cubemap mip levels chore: remove false-positive particle lights chore: llf tweaks (#696) * chore: remove not needed hooks * chore: match light count with group size in llf build: update version numbers (#695) chore: remove cluster culling while loop (#697) fix: disable llf modifying shaders chore: llf toggling and refactoring (#698) * refactor: casing of isNewFrame * chore: properly toggle llf hooks build: update clib with portal RE and perf relocation fixes (#700) perf: optimize particle lights (#702) * chore: particle light optimisation attempt * style: 🎨 apply clang-format changes * fix: water shadow lights * chore: remove BSLightingShaderProperty_GetRenderPasses * fix: llf info * style: 🎨 apply clang-format changes * feat: particle light gpu optimisations * style: 🎨 apply clang-format changes * refactor: corrected includes in xseplugin * chore: remove ParticleLightsOptimisationClusterRadius * style: 🎨 apply clang-format changes * fix: billboard light color * feat: cleaned up queued lights and optimised * style: 🎨 apply clang-format changes * chore: remove llf testing code * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: default constant buffers to dynamic (#703) refactor: shader flags (#704) * refactor: shader flags * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: incorrect shader information fix: disable unmodified imagespace shader replacement (#705) chore: increase lights per cluster (#706) fix: light clustering issues (#708) * fix: VR light clusters * style: 🎨 apply clang-format changes * fix: light cluster race condition --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: bump required vr addresslib version (#710) fix: remove redundant calculation in terrain shadow (#714) feat: add missing pbr permutations for pre-compilation (#713) * feat: added missing pbr permutations for pre-compilation. * chore: turned BASE_OBJECT_IS_SNOW into flag. * style: 🎨 apply clang-format changes * chore: merged DO_ALPHA_TEST and ADDITIONAL_ALPHA_MASK into single permutation. * style: 🎨 apply clang-format changes * chore: true exclusion of pbr vertex permutations. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: remove VL feature from core until fixed fix: alpha testing (#715) * fix: alpha testing * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: grass updates (#716) * feat: grass updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr grass compile (#717) * fix: pbr grass compile * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor shader fixes (#718) fix(UI): change missing feature ini color (#719) feat(UI): add gpu memory usage to menu footer (#712) chore: use vanilla contrast (#720) chore: increase skylighting resolution and range (#722) refactor: fake enums for PBR (#721) * refactor: fake enums for PBR * style: 🎨 apply clang-format changes * refactor: pbr enums for extended materials * refactor: pbr file scope --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove shadow bias changes (#723) fix: remove effect shader testing logging (#724) fix: out of bounds shadow index chore: effect shader improvements (#725) * chore: effect shader improvements * style: 🎨 apply clang-format changes * fix: remove testing code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: further effect shader tweaks (#726) * chore: further effect shader tweaks * chore: remove experimental code chore: less intense ao (#727) * chore: less intense ao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: character lighting flickering (#729) fix: force disable "improved" snow shader (#728) * fix: force disable "improved" snow shader * style: 🎨 apply clang-format changes * fix: do not access setting on VR * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix rungrass not compiling with skylighting (#730) fix: lighting fixes (#731) * fix: maybe flicker fix * style: 🎨 apply clang-format changes * fix: currentExtraDescriptor not updating correctly * fix: always update permutation buffer whenever it changes * style: 🎨 apply clang-format changes * fix: particle lights with no color array * fix: remove ExtendedFlags * style: 🎨 apply clang-format changes * fix: inactive shadow lights * Update LightLimitFix.cpp * fix: typo * chore: add comment * feat: po3 light placer support * fix: shadows on loading screens * fix: incorrect casting * fix: bad cast * fix: disable replacing BSImagespaceShaderReflectionsDebugSpecMask * chore: remove Effect_Shadows * chore: removed ID3D11DeviceContext_Unmap --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: water composite rewrite (#733) * feat: water composite rewrite * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: too bright water feat: unified tree lod shading (#734) * feat: unified tree lod shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve effect shader shading fix: water brightness (#738) fix: corrupt lightFlags (#736) * fix: corrupt lightFlags * chore: remove commented lines fix: particle light radius (#739) feat: add incompatibility check for PrivateProfileRedirector < 0.6.2 (#735) fix: rain with DLAA fix: particle mask fix: bias AA against rain (#740) * fix: bias AA against rain * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: remove added tonemapping, per-channel vanilla (#737) chore: bias FSR rain more fix: grass point lights (#741) * fix: grass point lights * style: 🎨 apply clang-format changes * fix: PBR grass shading --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix eye mismatch for screenspacegi (#666) * fix(VR): use world position for eye swap over Fix a bug where the function would convert in viewspace which would not be synced between the eyes. Now the conversion goes to world space before converting to the other eye. * fix(VR): fix ConvertMonoUVToOtherEye This requires hardcoding a shift based on a q3. This may not be the scalable solution. * fix(VR): fix eye mismatch for screenspacegi * fix: use ndc matrix instead of hardcoded value * refactor: simplify eyeoffset logic fix: whiterun water flows invisible (#742) * fix: whiterun water flow invisible * style: 🎨 apply clang-format changes * chore: better water flow blending * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: update DLSS tooltip feat: effect shadows improvements (#743) * feat: effect shadows improvements * style: 🎨 apply clang-format changes * fix: shadow sampling * fix: ambient color wrong on some weathers --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: increase default sss thickness fix: effect shader lights (#746) * fix: effect shader lights * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: fixed vanilla ssr (#745) * feat: fixed vanilla ssr * style: 🎨 apply clang-format changes * fix: vr * style: 🎨 apply clang-format changes * chore: remove deltaUvDepthDR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: po3 light placer support (#747) refactor: sss menu text fix: fixes for pbr land crashes in vr. (#751) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: sky motion vectors (#752) * fix: sky smear fix attempt * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove unused llf flags (#749) fix: Effect soft fade fix(VR): grass compile when grass lighting is missing (#755) fix(VR): update clib with VR support for raindata (#757) fix(VR): water refraction (#756) * fix(VR): water refraction * chore: more refraction fix attempting * style: 🎨 apply clang-format changes * fix: depth from uv calculation i think * fix: actually fixed refraction * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor(HLSL): create namespaces for rest of hlsli (#761) feat: better rain fx (#744) * feat: better rain fx * fix: rain occlusion * style: 🎨 apply clang-format changes * fix: use rain density instead of alpha * chore: remove chaotic ripples * style: 🎨 apply clang-format changes * feat: rain fade in and out * feat: redone wetness and puddle cpu code * chore: tweak default wetness settings * style: 🎨 apply clang-format changes * chore: remove unused constants * chore: bias towards puddles * chore: chore further cleanup * chore: further bias puddles * fix: correct conversion * chore: more fixes * fix: bad bracket * chore: clamp raining amount * fix: wetness crash * fix: padding * fix: bad settings * chore: tweaked puddles buildup * fix: puddle wetness default * fix: vr raindrops * style: 🎨 apply clang-format changes * chore: fade out rain fx quicker * chore: update precipitationData access --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix deferred vs forward rendering (#760) * fix: deferred vs forward rendering fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): vl ghosting (#762) * fix(VR): vl ghosting * chore: move VL back to core fix: water parallax on angled surfaces (#763) * fix: water parallax on angled surfaces * style: 🎨 apply clang-format changes * fix: add vr eyeindex * style: 🎨 apply clang-format changes * chore: revert and simplify fix --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: disable and limit settings fix: do not modify iVolumetricLightingQuality fix: sky blending fix(GOG): fix crash with upscaling (#764) perf(VR): performance tweaks for vr (#765) * performance(VR): performance tweaks for vr * style: 🎨 apply clang-format changes * performance: ExtendShadows only affects dir light * fix: terrain shadows * fix: non pbr terrain * fix: remove extended shadows on terrain, too complex --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: ini settings saving to a random ini file (#767) * fix: fix ini settings saving to a random ini file * chore: add ini pref and relocate ini * fix: save settings fix: disable some effect shaders (#766) fix: inconsistent raindrop visibility (#769) feat: ssr improvements (#768) * feat: ssr improvements * chore: increase distance further * chore: more improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: add missing space fix: screenspace shadows on decals (#771) * fix: screenspace shadows on decals * style: 🎨 apply clang-format changes * fix: other decals * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve settings, remove PBR settings (#770) * chore: change settings files location * chore: better settings * style: 🎨 apply clang-format changes * refactor: same spacing as pre-PR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: reduce water shadow blur fix: tonemapping saturation (#772) fix: screenspace shadow weights (#773) * fix: screenspace shadow weights * fix: missing vr * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: water depth samples, sun specular (#774) * fix: water depth samples, sun specular * chore: sun fresnel * fix: bad math fix: grass compile error fix: do not modify reinhard saturation (#775) feat: no water ssr fade (#776) fix: filmic tonemapping hues (#777) * fix: filmic tonemapping hues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: better hue preservation (#778) * fix: filmic tonemapping hues * chore: less aggressive * style: 🎨 apply clang-format changes * feat: HuePreservingReinhard --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: ssr tweaks (#779) * chore: ssr tweaks * fix: actually bias feat: new SSR shader and water application chore: remove MaxIterations, SSR formatting (#780) * chore: ssr fixer upper * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: less aggressive ssr edge (#781) * chore: less aggressive ssr edge * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: particle lighting in menus (#783) * fix: particle lighting in menus * style: 🎨 apply clang-format changes * chore: remove redundant code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: more ssr tweaks (#784) fix: force create communityshaders directory (#782) * fix: always force create directories to avoid issues * chore: catch filesystem errors * chore: better messages * chore: even better messages perf: ssr optimisation (#785) * perf: ssr optimisation * style: 🎨 apply clang-format changes * chore: more tweaks * style: 🎨 apply clang-format changes * chore: even more optimisation * style: 🎨 apply clang-format changes * refactor: rename dims to coords * style: 🎨 apply clang-format changes * chore: even better * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: even more ssr tweaks (#788) refactor: ssr cleanup (#786) * refactor: ssr cleanup * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: pb shadow improvements (#789) * chore: pb shadow improvements * chore: more cleanup fix: dynamic cubemap fixes (#790) * fix: dynamic cubemap fixes * chore: improve cubemap inferrence * fix: skylighting reflecting sky * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pb shadow blur fix: dynamic res with SSR chore: use CameraDataWater instead of CameraData chore: better skyrim upscaler compat (#794) fix: incorrect water reflections (#792) * fix: incorrect water reflections * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor dynamic cubemap issues (#791) * fix: minor dynamic cubemap issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): grass distance fade (#793) chore: cleanup VL settings (#795) chore: add VL IsCore (#796) refactor: DICE to DisplayMapping (#798) * refactor: DICE to DisplayMapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: IsOutsideFrame capitalisation (#797) chore: rename screenspace shadows to match SSGI (#799) fix(VR): mismatched puddles (#801) fix: caustics and shadow fixes (#800) * fix: caustics and shadow fixes * style: 🎨 apply clang-format changes * chore: more fixing --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: rename Water Lighting (#803) * refactor: rename Water Lighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove broken Git text from Lighting.hlsl (#805) chore: remove DICETonemapper.hlsli fix: hue preservation NaN (#806) * fix: hue preservation NaN * fix: better fix chore: complex mat roughness tweaked (#807) refactor: shader bindings (#808) * refactor: shader bindings * chore: compact refactor: move FrameBuffer buffer to namespace (#809) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> chore: grass normal tweaks (#810) refactor: fully use namespaces (#811) * refactor: fully use namespaces * style: 🎨 apply clang-format changes * refactor: feature namespaces * style: 🎨 apply clang-format changes * refactor: rename copiedData to ShadowData * refactor: remove Shared suffix * style: 🎨 apply clang-format changes * refactor: terrain shadows * refactor: more features * style: 🎨 apply clang-format changes * fix: add missing fadeout factor * fix: skylighting * refactor: dynamic cubemap namespace * fix: SSGI compile --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: FlayaN <hannes.feldt@gmail.com> chore: random cleanup and fixes fix: reduce inference ramp up chore: reduce default billboard radius chore: remove parallax boost fix: subsurface scattering namespaces fix: compilation window alpha (#815) fix: blended decals with zbufferwrite (#812) * fix: blended decals with zbufferwrite * style: 🎨 apply clang-format changes * chore: tweak comments * chore: comment tweaks * chore: add AE addresses * style: 🎨 apply clang-format changes * fix(VR): fix vr offsets (#814) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: water caustics on water edge (#816) chore: tweaked contact shadows (#817) fix: imgui Display error chore: tweaked menu transparency fix: ssr lines (#818) fix: dont save vl settings to ini on flatrim (#819) refactor: adjust brackets for VL (#820) * refactor: adjust brackets in VL * refactor: more * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: use constant buffer for strictlightdata (#821) * feat: use constant buffer for strictlightdata * fix: clusters clipping on first person model * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove displaymapping (#822) * chore: remove displaymapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: move CopyShadowData (#823) fix: fix shader compile for llf debug (#825) feat: group not loaded features in UI (#824) fix: fix terrain shadow texture slot and add dlc heightmaps (#827) * fix: fix terrain shadow texture slot * chore: pack terrain heightmaps separately and add dlc heightmaps fix: fix skylighting cb padding (#828) build: remove frame generation from core (#829) fix: finish LLF refactor (#830) * fix: finish LLF refactor * chore: update fix: llf strict light array padding (#831) chore: update version to 1.0.1 fix: gog detection (#832) docs: fix terrain shadows spelling error (#833) fix: fix terrain shadow ctd (#834) * fix: fix terrain shadow ctd * refactor: to be more specific chore: bump version to 1.0.2 feat: refactor ssgi to use spherical harmonics (#837) * chore: remove ao blur * chore: random changes * feat: add SH IL * feat: add back blur * feat: add back half res * fix: ao temporal denoise fix: skylighting alpha testing (#836) * fix: skylighting alpha testing * style: 🎨 apply clang-format changes * chore: removed skylighting foliage hacks --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix clearing the wrong ssao buffer (#839) fix: fix terrain shadows ctd when texture name has less than 10 fields (#841) fix: fix ssgi vr consistency and foliage glowing (#838) * feat: add back ssgi vr eye blending * fix: misnomer * fix: float4 conversion * chore: remove redundant define * fix: fix incorrect ambient reprojection, reduce foliage glow * fix: less strict movement occlusion for vr * fix: foliage flipped normal * chore: slightly reduce specular gi chromaticity * fix: correct foliage fix chore: bump ssgi ver to 3.0, disable vanilla ao (#840) chore: bump version to 1.0.3 chore: bump version to 1.1.0 fix: change default settings to prevent ssgi feedback loop (#844) feat: add saturation slider for ssgi il, remove backface mult (#845) * feat: saturation slider for ssgi il * chore: bump ssgi ver * chore: more drastic IL bounce value chore: bump version to 1.1.1 feat: add quarter res, default settings for minimal noise (#848) * feat: add quarter res, default settings for minimal noise * fix: add recompile flag to reset default fix: clean up ssgi blur and upsample, change presets (#849) chore: hide ssgi slice & step, blur with minimum weight (#852) fix: detect lack of d3d11.1 support, TAA sharpening (#850) * fix: detect lack of d3d11.1 support * style: 🎨 apply clang-format changes * feat: sharpening for TAA * style: 🎨 apply clang-format changes * fix(VR): fix vr offset and bump address lib dependency (#851) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> chore: bump version to 1.1.2 chore: bump ssgi version to 3.0.2 chore: reduce grass sss setting fix: vr upscaling hooks (#853) chore: bump version to 1.1.3 fix: fix ssgi ambient bounce ignoring AO (#855) feat: support directly using xlodgen output in terrain shadows (#854) chore: change default frame generation mode feat: add simple specular AO and restore high accuracy specular GI (#860) * feat: add simple specular ao * feat: add back high accuracy specular gi chore: dlss tweaked menu, performance (#857) * chore: dlss tweaked menu, performance * build: move CopyDepthToSharedBufferCS.hlsl feat: add back display mapping for filmic (#864) chore: bump version to 1.1.4, ssgi to 3.0.3 (#867) fix: fix terrain shadow ctd when directory does not exist (#869) chore: bump version to 1.1.5 (#870) fix: set recompileFlag when loading ssgi settings (#872) fix: revert sampler to clamp to fix screen artifacts (#871) fix: taa sharpening fix: distant water reflections (#885) fix: skipping refract calculation for pbr landscape (#887) * Fixed fraction calculating for pbr landscape * Skip refract calculation for pbr landscape fix: detect bad dynamic cubemaps (#886) * fix: detect bad dynamic cubemaps * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hq refined dithered parallax (#877) * feat: hq refined dithered parallax * style: 🎨 apply clang-format changes * fix: pbr --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: version bumps fix: cloud shadows issues (#893) * fix: cloud shadows issues * style: 🎨 apply clang-format changes * chore: us…
tssge
pushed a commit
to tssge/skyrim-community-shaders
that referenced
this pull request
May 31, 2025
chore: ui changes feat: add icons font feat: more fleshed out feature interface feat: features reordering and removal chore: square button and hint text feat: preprocess hooks feat: port COD bloom chore: remove test feature feat: lut baker ui placeholder feat: port auto exposure chore: def settings feat: port tonemapper chore: default settings and bypass vanilla tonemap chore: default set of effects feat: more tonemapping operators fix: post load Load Settings crash fix feat: added Aldridge filmic feat: Lottes & Day & Uchimura curves refactor: rename math tonemapper to colour transforms, flexible funcs fix: minor fixes style: 🎨 apply clang-format changes feat: bogey items as separators in ColourTransforms feat: add ASC_CDL feat: add clamp, exposure/contrast, asc cdl, saturation feat: shift slider feat: log space conversion, halfres histogram, 64bit support feat: add gamma, and rgb gamut conversion feat: LiftGammaGain, SaturationHue, DCI-P3 fix: fixes fix: shader nullptr issue feat: exposure option for agx fix: potential id conflict, wrong number fix: exposure typo feat: add vignette feat: add bypass, buttons to list chore: change default settings chore: ui chore: default the whole thing instead of each fx fix: alt+tab input sticking (#403) chore: disable temporal denoiser on diffuse AO (#404) it doesn't need it and only introduces ghosting chore: ui refactor: commonise fix: Fix zero weight on pbr landscape without displacement (#408) * Fix zero weight on pbr landscape without displacement * style: 🎨 apply clang-format changes --------- Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix: specular gi affecting diffuse gi, revert disable temporal denoiser on diffuse AO (#407) * fix: disabling AO temporal filter breaks half-rate * fix: specular gi affecting diffuse gi * Revert "fix: disabling AO temporal filter breaks half-rate" This reverts commit 47d89016d452bcc409dfd7badc3ea5f00c6c54b1. * Revert "chore: disable temporal denoiser on diffuse AO (#404)" This reverts commit 2fadbeea752eb21aaa6a6c7b3422a41231c52b79. fix: fixes for ISRefraction and ISSAOBlur. (#406) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: missing `InterleavedGradientNoise` change (#405) fix: switched to using in-game imagespace shader defines. (#409) * fix: switched to using in-game imagespace shader defines. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: black reflections + InWorld flag (#399) * fix: black reflections + InWorld flag * style: 🎨 apply clang-format changes * refactor: InWorld comment * fix: shader logic * style: 🎨 apply clang-format changes * fix: world map and 3d menu objects features * style: 🎨 apply clang-format changes * refactor: cleaner conditional shadow sampling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: gi attenuation, remove back face option (#410) feat: add melon tonemapper feat: add kajiya tonemapepr, oklch saturation fix: default settings feat: add colour mixing, bypass serialisation chore: better colour mixer ui, remove logspace transofrms chore: def settings feat: LUT feat: tracy profiler integration (#365) * feat: add tracy profiler * chore: update VR offset * chore: force tracy 0.11.0 * chore: add TRACY_ENABLE as cmake option, remove redundant include * build: add TRACY_SUPPORT cmake option and fix vcpkg baseline * chore: update to dev * Update CMakePresets.json * build: add `ALL-TRACY` preset Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> * Update CMakePresets.json Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: Flayan <964655+flayan@users.noreply.github.com> fix: more specular gi attenuation fix (#412) feat: Interior bool in shared constant buffer fix: PBR directional light specular fix and llf compile fixes (#415) * feat: lighting fixes * chore: comment added to Interior boolean * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: unlocked HDR range of game buffers (#416) fix: added padding for pbr settings struct (#414) * fix: added padding for pbr settings struct * chore: unify padding naming --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> fix: ssgi: limit min roughness, remove luminance weight (#417) fix: offset fix: ssgi use perceptual roughness instead of linear (#418) fix: remove all linear/srgb conversion, save for pbr albedo (#420) fix: remove tpbr albedo lin2srgb (#421) fix: pbr parallax and terrain parallax intensity (#423) feat: glint for PBR (#413) * fix: switched to using in-game imagespace shader defines. * feat: support for glint parameters in pbr meshes and texture sets. * style: 🎨 apply clang-format changes * fix: trying to fix * style: 🎨 apply clang-format changes * fix: use local H * fix: fixed shader compilation with glint. Reworked pbr parameters serialization. Hidden glint under define. * style: 🎨 apply clang-format changes * fix: trying to fix glints * fix: fixed blowing up specular when blending pbr and non-pbr landscape. * fix: prevent glazing angle flashes, correct tbnTr * fix: blending, more suppression on edgy glints, optimisation * chore: remove redundant context check --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> Co-authored-by: Pentalimbed <pentalimbed@gmail.com> Co-authored-by: Pentalimbed <Pentalimbed@users.noreply.github.com> chore: updated feature settings for correct color space (#424) Revert "chore: updated feature settings for correct color space" (#425) This reverts commit 16bf0b60b6c999147aa5590fc81748de8288cfa2. Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. chore: 1.5 for everything chore: def settings revert: revert linearisation attempts (#426) * Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. * Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. fix: fixes for effect shader; effect shader enabled fully. (#427) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: llf cleanup and optimisations, plus shadow improvements (#419) * feat: llf cleanup and optimisations * style: 🎨 apply clang-format changes * fix: added missing water shader changes * fix: grass compile error * feat: more shadow optimisations * feat: shadows on transparent lighting shaders * fix: shadows too sharp * style: 🎨 apply clang-format changes * fix: too aggressive shadow bias adjustment * performance: store contact shadow steps function * chore: removed contact shadows from grass * style: 🎨 apply clang-format changes * revert: back to vanilla shadow blurriness * feat: improved shadow sampling * style: 🎨 apply clang-format changes * feat: blurred contact shadows * style: 🎨 apply clang-format changes * fix: clamp shadow sampling uvs, stochastic sampling * style: 🎨 apply clang-format changes * performance: shared 3D noise outside of contact shadows * style: 🎨 apply clang-format changes * chore: cleanup water vl sampling code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: pbr diffuse lighting in srgb. (#429) * feat: PBR diffuse calculated in sRGB. * style: 🎨 apply clang-format changes * feat: slider for base color gamma. * feat: transform for other PBR diffuse colors. * style: 🎨 apply clang-format changes * fix: fix for pbr-non-pbr land blending. * fix: default base color gamma set to 1.9. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: effect lighting (#430) * feat: effect lighting * style: 🎨 apply clang-format changes * performance: scale shadow sample count with distance * chore: removed skylighting include from Effect * fix: light limit fix include in Effect * chore: removed unneeded undef from Effect --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "fix: alt+tab input sticking" (#434) This reverts commit 6277a6c41cd3e1779e86fd900e8349189d765305. fix: black terrain (#435) fix: glowing objects with wetness feature fix: probable fix for skylighting interior crashes (#432) * fix: probable fix for skylighting interior crashes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: add namespaces for features (#431) * fix: fix shader warnings * refactor: add namespace for WetnessEffects * refactor: add namespace for TerrainOcclusion * refactor: add namespace for TerrainBlending * refactor: add namespace for ScreenSpaceShadows * refactor: add namespace for LightLimitFix * refactor: add namespace for GrassCollision * refactor: add namespace for ExtendedMaterials * refactor: add namespace for DynamicCubemaps * refactor: add namespace for CloudShadows chore: set default pbr gamma to 2.2 (#436) chore: slightly improved directional shadow bias fix: too aggressive dir shadow bias fix: glowmap brightness (#439) * fix: glowmap brightness * fix: effect shadows not working fix: missing LLF lights fix: disable effect shadows on world map (#442) * fix: disable effect shadows on world map * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: complete skylighting during loadscreen (#433) * feat: complete skylighting during loadscreen * style: 🎨 apply clang-format changes * fix: forceFrames subtraction * chore: removed doPrecip since unused * style: 🎨 apply clang-format changes * fix: fadein set to 64 * fix: force skylighting frames correct values * style: 🎨 apply clang-format changes * fix: reduce skylighting max zenith to fix inconsistency * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: volumetric lighting RE. (#437) * feat: compute shaders support for shader cache. ISVolumetricLightingRaymarchCS added. * style: 🎨 apply clang-format changes * feat: added ISApplyVolumetricLighting and ISVolumetricLightingGenerateCS shaders. * style: 🎨 apply clang-format changes * chore: updated clib. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: grass shadows in interiors (#443) fix: add skylighting shadow bias (#444) perf: removed snow mask, do all diffuse specular addition in linear (#445) * chore: removed snow mask, do all diffuse specular addition in linear * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "perf: removed snow mask, do all diffuse specular addition in linear" (#447) This reverts commit 9b45c228d678f0d479afcae2ff54cb3e0d149b01. fix: SSR on LOD water bugs fix: black screen fix: skylighting skin artifacts + unroll (#449) * fix: skylighting skin artifacts + unroll * style: 🎨 apply clang-format changes * perf: tangentWeight math --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hdr tonemapping (#438) * feat: hdr tonemapping * style: 🎨 apply clang-format changes * feat: brightness slider controls tonemapping * chore: remove unused bloom conversion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: PBR asset matching (#448) * fix: PBR linear lighting, intensity * style: 🎨 apply clang-format changes * fix: AmbientComposite in linear for PBR * fix: PBR lod blending * fix: horizon occlusion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fixes for pbr land seams. (#450) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> perf: blur ss shadows in parallel (#451) * perf: blur ss shadows in parallel * chore: added GetScreenDepths * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: screenspace shadows blur direction feat: ISReflectionsRayTracing shader added. (#452) * feat: ISReflectionsRayTracing shader added. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: water parallax and improved performance (#455) fix: ISReflectionsRayTracing error fix: fixed constant indices in VR. (#453) * fix: fixed constant indices in VR. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: small ISVolumetricLightingGenerateCS fix. (#454) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: VR support for ISHDR and ISSAOComposite. (#458) * feat: VR support for ISHDR and ISSAOComposite. * style: 🎨 apply clang-format changes * fix: fix for ISApplyReflections. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix(VR): fix ctd when enabling imageshaders (#457) fix: water LOD shadows fix: ISHDR on flat (#459) * fix: ISHDR on flat * fix(VR): ISHDR fix: black screen fix: fixed black face in race menu. (#460) * fix: fixed black face in race menu. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: in-game editor for pbr land texture parameters. (#462) * feat: in-game editor for pbr land texture parameters. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: potential black screen fix (#465) * fix: potential black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: kill management thread on stop (#464) closes #296 feat(VR): add ImageSpace shaders (#463) fix: black reflections (#466) feat: linear water composite (#467) * feat: linear water composite * fix: underwater looking incorrect feat: improved contrast function (#471) * feat: improved contrast function * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix flickering of non-PBR assets (#472) Fix flickering of nonPBR assets when PBR assets are used. feat: expose skylighting dynamic cubemap to forward shaders fix(VR): fix ghosting for water (#477) perf: reduce default compilerThreads (#475) Set the default to be the max of (maxCores - 4), (maxCores * 3/4), or 1 feat: water optimisation, skylighting, fixes (#474) * feat: water optimisation, skylighting, fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: Lin2sRGB changed to LinearToGamma etc. (#478) * refactor: Lin2sRGB changed to LinearToGamma etc. * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: HDR tonemapping errors (#479) * fix: HDR tonemapping errors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr landscape scale and height blending (#461) * fix pbr land scale and blending * style: 🎨 apply clang-format changes * Only scale steps by land parallax scale to avoid artifacts * style: 🎨 apply clang-format changes * better naming and fixes for displacement adjust * style: 🎨 apply clang-format changes * Removed unneeded check, added missing check * Added a space --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix(VR): fix issues due to wrong variable name (#482) feat: removed separate SSS buffer (#483) revert: "fix: potential black screen fix" (#484) This reverts commit 27a2db2bb82d19cbceb424bd032660ad059f6d30. fix: adaptation black screen fix (#485) * fix: adaptation black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: use dynamic resolution helper (#487) fix(VR): fix utility shader shadows with upscaler (#486) closes #446 chore: enable imagespace and utility by default feat: pbr replacement for default land texture. (#489) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: material object editor and more. (#490) * feat: in-game material objects editor; glint support for material objects; mesh texture set updating during editing; subsurface and coat parameters in texture set editor. * chore: removed no longer used pbr lighting settings. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: texture set and material object configs not applying in some cases. (#492) * fix: fixes for texture set and material object configs not applying in some cases. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: less hue preservation in tonemapping (#493) feat: do tonemapping in gamma space (#494) fix: too noisy shadows (#495) fix: fixed crash on meshes with kVertexLighting flag enabled. (#496) * fix: fixed crash on meshes with kVertexLighting flag enabled. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixes for subsurface and projected material in pbr (#499) * fix: brought back PIs to subsurface and coat diffuse. * fix: proper support form projected material on top of subsurface, coat or fuzz. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixed pbr decals texture set parameters application. (#500) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix(VR): fix missing snow hook (#501) fix: Specify magic-enum port version in vcpkg.json (#503) Remove duplicate magic-enum entry under dependencies (#505) feat: Height blending toggle, parallax shadows edits (#491) * height blend toggle, extended parallax shadows * Change define to static const, disable extended shadows on vanilla landscape * style: 🎨 apply clang-format changes --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> chore: adjusted tonemapping curve fix: match vanilla shadows (#514) fix: enable all effect shaders (#515) refactor: llf use the game invprofmatrix (#508) * chore: llf use the game invprofmatrix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: rebuild shaders when editing shader defines (#512) Improves the behavior when modifying the Advanced -> Shader Defines. Shaders will be rebuilt on any change in the field when focus is lost or if enter is pressed. feat: linear space ssao (#518) * feat: linear space ssao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: shadow cascade sampling (#520) * fix: shadow cascade sampling * fix: tree LOD ambient brightness * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove 1.5 gamma refactor: rename terrain occlusion to terrain shadows refactor: rename terrain occlusion folder style: 🎨 apply clang-format changes refactor: rename other terrainocclusion folder refactor: rename terrainocclusion.hlsli refactor: finish renaming TerrainOcclusion to TerrainShadows style: 🎨 apply clang-format changes fix: fix skylighting fade and darkness (#517) * refactor: rename updateProbes * fix: skylighting fade and darkeness fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: directional skylighting chore: blur ss shadows in proj space (#522) chore: minor visual tweaks fix: screenspace shadow blur in distance (#523) docs: provide gpl exception for hardware sdks (#513) fix: fix missing directory ctd with DynamicCubeMap Creator (#511) * DynamicCubeMap Creator crash fix When a destination folder for the DynamicCubeMap Creator export does not exist then CS should not crash. Now: Create Folder if destination folder does not exist. Unable to create missing folder: log error File Object with same name exists: skips * style: 🎨 apply clang-format changes * Update DynamicCubemaps.cpp Moved Texture creation and SaveToDDSFile inside try/catch block. This removed one boolean variable that had been used . No attempt is made to save a file if that filename exists (even an incorrect file object). As there are multiple types of exceptions including OS filesystem errors the catch was left as std::exception instead of multiple catch types and specific log messages. build: introduces a windows based build container (#524) * ci: adds docker file for a build container * ci: adds separate container build script * docs: adds docker section to readme * docs: separates docker steps for slightly easier understanding * docs: adds vcvarsall.bat instructions to setup amd64 env without opening VS * fix: adds missing word for docker context and fixes path in ps1 * fix: replaces docker context switch with correct command feat: DLSSG frame generation (#504) * feat: added streamline * feat: streamline partial cmakelist * feat: streamline swapchain * style: 🎨 apply clang-format changes * feat: init streamline * fix: typo * feat: more streamline setup * style: 🎨 apply clang-format changes * feat: frame generation working but still broken * style: 🎨 apply clang-format changes * feat: functional DLSSG * style: 🎨 apply clang-format changes * chore: disable reflex sleep since not needed * chore: streamline cleanup and fixes * style: 🎨 apply clang-format changes * feat: include streamline dll files with licence * chore: cleanup streamline files, auto dlssg * style: 🎨 apply clang-format changes * fix: try to prevent memory leak * fix: remove accidentally included files * fix: detect DLSSG compatibility * style: 🎨 apply clang-format changes * fix: motion vectors when the game is paused * feat: RCAS sharpening * fix: incorrect hooking behaviour * style: 🎨 apply clang-format changes * fix: detect if the DLSSG feature is loaded before querying it further * fix: typo * style: 🎨 apply clang-format changes * fix: RCAS color space and intensity * feat: DLSS menu following guidelines * style: 🎨 apply clang-format changes * feat: FSR 2.2.1 * style: 🎨 apply clang-format changes * feat: remove FSR, separate frame generation to a feature, upscaler compat * chore: remove unused submodules * fix: do not apply d3d hooks to VR * fix: only show streamline menu on flatrim * fix: missing streamline shader * refactor: move streamline includes to forked submodule (#507) * fix: vr menu hook * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: menu compile error revert: "feat: linear space ssao" (#525) This reverts commit 8c8c2d11647e89cc61c81ab7f83781ccc86325ef. fix: fix skylighting CB alignment (#531) feat: allow features to pass define options (#528) refactor: move WStringToString to util (#532) docs: lower unknown hlsl variables to debug (#529) fix: add missing right parens (#539) refactor: explain GetVRVSOutput better (#527) feat: decouple AO/GI radius and remove unused HBAO code (#538) * refactor: remove unused hbao code * feat: decouple AO and GI thickness fix: fixed permutation buffer not resetting between frames. (#540) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: fix effect shader for ADDBLEND && VC && !TEXTURE (#544) * fix: fixed wrong look for effect shader with ADDBLEND && VC && !TEXTURE. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fix broken vr lights due to buffer alignment (#541) Fixes issue introduced by c64421048a664ffdcc33d7b3666e8ef36ef6c440 perf: pbr glint optimization (#537) * perf: smaller glint noise tex size * perf: cache glint precomputation feat: add hlsl-specific clear (#543) * feat: add hlsl-specific clear Allow clearing of all shaders linked to a specific hlsl file. This is useful for DEFINE option passing for features. * fix: fix locking scope to avoid deadlocks * fix: fix clearing shader with prior diskcache Fixes a bug where a prior saved diskcache shaders could not be cleared by filename. fix: fix undeclared TexProjNormalSampler (#547) TexProjNormalSampler is not defined if MULTI_LAYER_PARALLAX is enabled. docs: make descriptors print as hex (#546) refactor: remove redundant ifdef (#545) fix: recreate config if json parsing error (#548) closes #536 build: fix build if using defined vckpg commit (#549) chore: remove unused variable rate shading files fix: fix padding for StructuredLight (#552) fix: llf cluster errors fix: llf cluster errors missing InvProjMatrix fix: disable PBR hooks until it is fixed fix: always init clusterIndex fix: fixed llf-pbr interaction issue and re-enabled pbr. (#553) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: tree skylighting darkness (#554) feat: add gamesettings functions for features (#533) feat: tweakable pbr multiplier for better matching (#551) * feat: tweakable pbr premult for better matching * chore: premult comments refactor: change detours to use thunk syntax (#559) fix: fix vr ssgi reprojection (#557) feat(VR): enable SSR (#502) fix: llf lights fade (#560) fix: deferred multi layer parallax (#561) revert: "fix: llf lights fade" (#562) This reverts commit e43aee5f71094b6d82b743f14def0abaad0fd35b. fix: light limit fix lights missing chore: remove accumulator from LLF prepass, use constants (#563) feat: add min screen radius setting for ssgi (#564) feat: add non-time InterleavedGradientNoise (#568) feat: support INIPrefSetting and gameSetting (#566) Adds support for INIPrefSettingCollection and gameSettingCollection. Previously, only INISettingCollection was supported. refactor: reorganize defines in VR.hlsli (#567) fix: fix performance drop due to divide by 0 (#571) fix: camera data fixes (#572) * fix: camera data fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: llf fixed alignment issues (#573) * fix: llf fixed alignment issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: DLAA (#556) * feat: add dlss support WIP (#555) * feat: optional ConvertToDynamic for GetScreenDispatchCount * feat: DLAA * fix: increased sampling to fix noise with DLAA * style: 🎨 apply clang-format changes * chore: better DLAA settings * style: 🎨 apply clang-format changes * chore: removed unused motion vector hook * fix: reenable RegisterClassA_Hook * chore: removed unneeded ImagespaceTempCopy hooks * fix: AE DLAA hooks * feat: enable VR * fix: add additional checks to avoid ctds * style: 🎨 apply clang-format changes * fix: fix improper grouping on if * style: 🎨 apply clang-format changes * refactor: corrected dlss/dllsg settings * style: 🎨 apply clang-format changes * feat: earlier CS init * style: 🎨 apply clang-format changes * refactor: XSEPlugin spacing * feat: optional Streamline loading * style: 🎨 apply clang-format changes * fix: VR loading dlssg * feat: streamline settings save/load * style: 🎨 apply clang-format changes * chore: remove unneeded separator * feat: optional Streamline hooking * chore: improved Streamline menu * style: 🎨 apply clang-format changes * chore: always reset motion vectors for DLAA * chore: remove duplicate RCAS and Streamline folders * fix: streamline init issues * style: 🎨 apply clang-format changes * fix: more streamline init fixes * style: 🎨 apply clang-format changes * fix: VR DLAA * fix: disable Streamline in VR * style: 🎨 apply clang-format changes --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Alan Tse <alandtse@gmail.com> Co-authored-by: alandtse <alandtse@users.noreply.github.com> feat: improve vanilla VL (#569) * Add multipleScattering * Modify temporalContribution to account for motion vectors * Use InterleavedGradientNoise for noise generation * Add forward and backphase calculations for phase scattering * Add adaptive step size and transmittance for ray marching * Add comments and helper functions where appropriate revert: "feat: improve vanilla VL" (#574) This reverts commit b14d1445b7ebf919e3d43db89894f2201ac182ea. fix: compile and imagespace errors (#575) * fix: compile errors * style: 🎨 apply clang-format changes * fix: revert Streamline changes for init --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> build: added FSR SDK feat: shared upscaling options and fixes style: 🎨 apply clang-format changes chore: use default dlss preset chore: reduced effect shader sunlight chore: clearer upscale options fix: fix shader-specific clear (#578) Failure to clear shaderMap resulted in a cached copy being detected but not actually available in the relevant shader array. This would result in vanilla shaders being used instead. chore: menu label changes build: move fsr cmake and remove warnings (#579) feat: native FSR 3 sharpening (#580) docs: add descriptor to shader completion debug (#586) docs: add filename for shader events (#582) fix: use proper output for DEPTHBUFFER_COPY (#585) fix: dyndolod 3d trees shading (#588) * fix: dyndolod 3d trees shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: utility shader changes (#589) chore: revert skylighting foliage tweak refactor: extremely minor cleanup fix: HLT trees color feat: add Util::IsDynamicResolution (#590) fix(VR): fix incorrect shader warning (#591) feat: remove portal-strict light limit (#506) * feat: portal-strict light limit removal. * style: 🎨 apply clang-format changes * feat: shadow lights processed via llf. * style: 🎨 apply clang-format changes * fix: fixes for spotlights. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: remove unnecessary `#pragma warning` (#596) refactor: replace `Microsoft::WRL::ComPtr` with `winrt::com_ptr` (#595) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> refactor: `std::span` for safer shader defines (#594) * refactor: `std::span` for safer shader defines throws exception if we run out of macro slots * fix: add missing nullptr defines to lighting feat(VR): enable upscaling (#592) feat: sync upscaler settings with skyrim setting (#593) * feat(VR): enable upscaling * feat: sync upscaler settings with skyrim setting fix: fix broken vanilla taa (#598) fix: fix compile error (#597) feat: improve llf visualization (#604) * fix: fix LLFDEBUG compilation error * feat: recompile on llf visualization toggle * style: 🎨 apply clang-format changes * chore: fix spacing * feat: add shadowmask visualization fix(VR): fix llf eye desync (#605) fix(VR): fix ghosting in fsr (#602) fix(VR): fix ctd when upscaler present (#603) * fix(VR): fix ghosting in fsr * fix(VR): fix ctd when upscaler present When Upscaler is present, FSR, DLSS are no longer available. This will also properly disabled those options in the menu. revert: "fix(VR): fix llf eye desync" (#607) chore(UI): move all top options to the sidebar (#608) * chore: (UI) move all top options to the sidebar * chore: add missing spaces fix: skylighting hooks when disabled (#609) * fix: skylighting hooks when disabled * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore(UI): changes to fit the new layout (#610) * refactor: tidier way of adding new sidebar menu as a side effect, also fixes reset default mismatch * chore: remove singular collapse headers * chore: change hint text for new layout * refactor: i ❤ modern cpp feat(UI): create new theme (#611) fix(UI): fix font spacing (#612) fix: fixes wetness persisting across saves (#614) refactor(HLSL): create Color namespace refactor(HLSL): create VR namespace refactor(HLSL): create FrameBuffer namespace refactor(HLSL): create DeferredShared namespace refactor(HLSL): create SharedData namespace refactor(HLSL): create Random namespace refactor(HLSL): create FastMath namespace refactor(HLSL): create GBuffer namespace fix(VR): fix llf desync in eyes (#616) closes #601 fix(VR): fix VR namespace define conflict (#617) refactor: move hooks out of State (#599) * refactor: move hooks out of State Hooks should be in XSEPlugin so they can all be found. A similar refactor should be done for SetupResources and other areas where State is being piggybacked. * refactor: move d3dhooks to query fix: bad ImGui::TreePop() feat(UI): more imgui design changes (#619) chore: imgui improvements (#618) * chore: imgui improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat(VR): enable volumetric lighting (#565) * feat(VR): enable volumetric lighting * fix: fix stereo access to VLTex VLTex is still mono and causes artifacts, but this is a correct step once it is stereo. https://github.com/doodlum/Skyrim-Community-Shaders/pull/565#issuecomment-2381750427 * fix: fix stereouv access * fix: fix WindInput * feat: add initial RE for ISFullScreenVR * fix: fix previous depth calculation in dynres The depth stencil from ISDepthBufferCopy is actually full size and not scaled with dynres enabled. * feat: add dynres status to state * fix: fix dynres for volumetric lighting * chore: fix typo * fix: require vr address library 0.154.0 * fix: fix crash of shizof mods at dataloaded * revert: "feat: add dynres status to state" This reverts commit c3658ad122e62a787ef1bdeda8a3d6b33414f025. * fix: use Util::IsDynamicResolution * fix: fix improper depth size when downsampled * fix: fix bad rendering with bDepthBufferCulling With bDepthBufferCulling enabled, culling is incorrect if diskcache is on until ShaderCache is cleared. This is a stopgap until root cause is identified. * fix(VR): fix VR desync closes #601 * revert: "fix(VR): fix VR desync" This reverts commit 958bc9a94ddfda0a24e1adbc3e2b554e6b1d137a. * style: 🎨 apply clang-format changes * style: fix doxygen spacing * refactor: use new namespaces * fix: fix VR namespace define conflict * chore: remove unused vr code * refactor: fix flat compile errors feat: upscaling update (#621) * build: updated FSR * refactor: mode to method * fix: fsr memory leak * feat: updated upscaling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: reset upscaling chore: VR upscaling screen sizes (#623) * chore: VR upscaling screen sizes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: only use imgui io after init (#622) * fix: only use imgui io after init * refactor: getsingleton feat(UI): Add theme settings for menu (#625) chore: frame generation menu (#626) fix: fix crash when fsrContext not initialized (#628) chore: hide frame generation in VR (#629) fix: dynamic cubemaps slow updates (#632) * fix: dynamic cubemaps slow updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: upscaling fixes (#633) fix: foliage checkerboarding arguments chore: move Streamline to core chore: delete Dynamic Cubemaps - Metals folder chore: rename frame generation folder chore: remove terrain blending ini chore: put effect shader lighting changes behind defines (#635) * chore: put effect shader lighting changes behind defines * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> docs: add tooltips for upscaling (#630) * docs: add tooltips for upscaling * Update Upscaling.cpp * Update Upscaling.cpp --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> feat(UI): add footer with diaginfo (#637) chore: display menus open by default fix: sky motion vectors (#638) * fix: sky motion vectors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(UI): fix debug assert (#639) fix: fix errors loading and saving (#640) chore: serialize ImVec to array instead of object (#641) because: 1. it's less cloggy 2. it follows the same format as d3d vecs 3. serializations should be placed in Util fix: fix ShadowSampling warnings (#642) fix: fix Lighting.hlsl warnings (#643) * fix: fix Lighting.hlsl warnings * fix: fix missing truncation fix: fix imgui input buildup (#649) chore(UI): tighter footer (#650) - CS version moved to header - tighter footer height - no table bc you need very wide window to show all text -> they are bullet texts now chore(UI): set Keybindings header to default open (#647) refactor: use themes for remaining colors (#645) build: fix missing themeSettings (#653) refactor: use themes for remaining colors feat: add feature disabling at boot Allows any feature to be disabled at boot. Features must have their hooking within the feature and not elsewhere. Changing the setting will require a restart. fix: serialize RestartNeededColor fix: fix ctd on recompiling screenspacegi Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 fix: remove redundant themeSettings fix: fix ctd on recompiling screenspacegi (#652) Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 refactor: simpler ssgi recompile ctd fix (#656) fix: (roughly) correct specular ssgi multiplier (#661) feat: allow disabling of upscaling/framegeneration (#646) Disable special features. closes #606 fix: correct ssgi backface mult (#662) fix(VR): fix SSGI movement ghosting (#663) feat(UI): use full-fledged theme editor (#657) fix: bug for loading features due to missing keys (#654) refactor: break down `Util` into separate files (#660) refactor: fix shader warnings (#658) feat: add sky reflection fix (#665) fix: handle malformed defines pairs in Util::CompilerShader (#664) closes #300 revert: "fix: handle malformed defines pairs in Util::CompilerShader" (#668) refactor: remove unused argument of `GetTerrainShadow` (#671) docs: improve terrain height map instruction (#669) refactor: force include path to Shaders folder (#672) fix: handle malformed defines pairs in Util::CompilerShader closes #300 refactor: remove DeferredShared (#673) * refactor: force include path to Shaders folder no relative include is allowed any more * fix: prevent delete nullptr * fix: add missing sss include * refactor: remove DeferredShared replaced with SharedData fix: fix terrain shadows (#674) also fixed sign warnings feat: add core feature support (#675) chore: update to new include scheme chore: update shaders to new include scheme chore: update shaders to color namespace fix: disable HDR tonemapping due to performance issues feat: per-channel HDR tonemapping feat: automatic effect shader colours (#687) * feat: automatic effect shader colours * fix: remove testing code * style: 🎨 apply clang-format changes * style: 🎨 apply clang-format changes * fix: light vector --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: weather and shadow nif flags for effects. (#685) * feat: weather and shadow nif flags for effects. * style: 🎨 apply clang-format changes * chore: removed no longer needed flag. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: rename Constants to Math with namespace (#689) fix(VR): fix ctd on start (#690) feat: consistent backlighting (#692) * feat: consistent backlighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: unify shadercache clearing (#691) fix: probably fixed broken shadow portal-strict lights. (#677) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> chore: less aggressive tonemapping chore: add volumetric lighting to core fix: complex materials not working (#694) * fix: complex materials not working * fix: dynamic cubemap mip levels chore: remove false-positive particle lights chore: llf tweaks (#696) * chore: remove not needed hooks * chore: match light count with group size in llf build: update version numbers (#695) chore: remove cluster culling while loop (#697) fix: disable llf modifying shaders chore: llf toggling and refactoring (#698) * refactor: casing of isNewFrame * chore: properly toggle llf hooks build: update clib with portal RE and perf relocation fixes (#700) perf: optimize particle lights (#702) * chore: particle light optimisation attempt * style: 🎨 apply clang-format changes * fix: water shadow lights * chore: remove BSLightingShaderProperty_GetRenderPasses * fix: llf info * style: 🎨 apply clang-format changes * feat: particle light gpu optimisations * style: 🎨 apply clang-format changes * refactor: corrected includes in xseplugin * chore: remove ParticleLightsOptimisationClusterRadius * style: 🎨 apply clang-format changes * fix: billboard light color * feat: cleaned up queued lights and optimised * style: 🎨 apply clang-format changes * chore: remove llf testing code * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: default constant buffers to dynamic (#703) refactor: shader flags (#704) * refactor: shader flags * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: incorrect shader information fix: disable unmodified imagespace shader replacement (#705) chore: increase lights per cluster (#706) fix: light clustering issues (#708) * fix: VR light clusters * style: 🎨 apply clang-format changes * fix: light cluster race condition --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: bump required vr addresslib version (#710) fix: remove redundant calculation in terrain shadow (#714) feat: add missing pbr permutations for pre-compilation (#713) * feat: added missing pbr permutations for pre-compilation. * chore: turned BASE_OBJECT_IS_SNOW into flag. * style: 🎨 apply clang-format changes * chore: merged DO_ALPHA_TEST and ADDITIONAL_ALPHA_MASK into single permutation. * style: 🎨 apply clang-format changes * chore: true exclusion of pbr vertex permutations. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: remove VL feature from core until fixed fix: alpha testing (#715) * fix: alpha testing * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: grass updates (#716) * feat: grass updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr grass compile (#717) * fix: pbr grass compile * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor shader fixes (#718) fix(UI): change missing feature ini color (#719) feat(UI): add gpu memory usage to menu footer (#712) chore: use vanilla contrast (#720) chore: increase skylighting resolution and range (#722) refactor: fake enums for PBR (#721) * refactor: fake enums for PBR * style: 🎨 apply clang-format changes * refactor: pbr enums for extended materials * refactor: pbr file scope --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove shadow bias changes (#723) fix: remove effect shader testing logging (#724) fix: out of bounds shadow index chore: effect shader improvements (#725) * chore: effect shader improvements * style: 🎨 apply clang-format changes * fix: remove testing code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: further effect shader tweaks (#726) * chore: further effect shader tweaks * chore: remove experimental code chore: less intense ao (#727) * chore: less intense ao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: character lighting flickering (#729) fix: force disable "improved" snow shader (#728) * fix: force disable "improved" snow shader * style: 🎨 apply clang-format changes * fix: do not access setting on VR * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix rungrass not compiling with skylighting (#730) fix: lighting fixes (#731) * fix: maybe flicker fix * style: 🎨 apply clang-format changes * fix: currentExtraDescriptor not updating correctly * fix: always update permutation buffer whenever it changes * style: 🎨 apply clang-format changes * fix: particle lights with no color array * fix: remove ExtendedFlags * style: 🎨 apply clang-format changes * fix: inactive shadow lights * Update LightLimitFix.cpp * fix: typo * chore: add comment * feat: po3 light placer support * fix: shadows on loading screens * fix: incorrect casting * fix: bad cast * fix: disable replacing BSImagespaceShaderReflectionsDebugSpecMask * chore: remove Effect_Shadows * chore: removed ID3D11DeviceContext_Unmap --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: water composite rewrite (#733) * feat: water composite rewrite * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: too bright water feat: unified tree lod shading (#734) * feat: unified tree lod shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve effect shader shading fix: water brightness (#738) fix: corrupt lightFlags (#736) * fix: corrupt lightFlags * chore: remove commented lines fix: particle light radius (#739) feat: add incompatibility check for PrivateProfileRedirector < 0.6.2 (#735) fix: rain with DLAA fix: particle mask fix: bias AA against rain (#740) * fix: bias AA against rain * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: remove added tonemapping, per-channel vanilla (#737) chore: bias FSR rain more fix: grass point lights (#741) * fix: grass point lights * style: 🎨 apply clang-format changes * fix: PBR grass shading --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix eye mismatch for screenspacegi (#666) * fix(VR): use world position for eye swap over Fix a bug where the function would convert in viewspace which would not be synced between the eyes. Now the conversion goes to world space before converting to the other eye. * fix(VR): fix ConvertMonoUVToOtherEye This requires hardcoding a shift based on a q3. This may not be the scalable solution. * fix(VR): fix eye mismatch for screenspacegi * fix: use ndc matrix instead of hardcoded value * refactor: simplify eyeoffset logic fix: whiterun water flows invisible (#742) * fix: whiterun water flow invisible * style: 🎨 apply clang-format changes * chore: better water flow blending * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: update DLSS tooltip feat: effect shadows improvements (#743) * feat: effect shadows improvements * style: 🎨 apply clang-format changes * fix: shadow sampling * fix: ambient color wrong on some weathers --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: increase default sss thickness fix: effect shader lights (#746) * fix: effect shader lights * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: fixed vanilla ssr (#745) * feat: fixed vanilla ssr * style: 🎨 apply clang-format changes * fix: vr * style: 🎨 apply clang-format changes * chore: remove deltaUvDepthDR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: po3 light placer support (#747) refactor: sss menu text fix: fixes for pbr land crashes in vr. (#751) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: sky motion vectors (#752) * fix: sky smear fix attempt * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove unused llf flags (#749) fix: Effect soft fade fix(VR): grass compile when grass lighting is missing (#755) fix(VR): update clib with VR support for raindata (#757) fix(VR): water refraction (#756) * fix(VR): water refraction * chore: more refraction fix attempting * style: 🎨 apply clang-format changes * fix: depth from uv calculation i think * fix: actually fixed refraction * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor(HLSL): create namespaces for rest of hlsli (#761) feat: better rain fx (#744) * feat: better rain fx * fix: rain occlusion * style: 🎨 apply clang-format changes * fix: use rain density instead of alpha * chore: remove chaotic ripples * style: 🎨 apply clang-format changes * feat: rain fade in and out * feat: redone wetness and puddle cpu code * chore: tweak default wetness settings * style: 🎨 apply clang-format changes * chore: remove unused constants * chore: bias towards puddles * chore: chore further cleanup * chore: further bias puddles * fix: correct conversion * chore: more fixes * fix: bad bracket * chore: clamp raining amount * fix: wetness crash * fix: padding * fix: bad settings * chore: tweaked puddles buildup * fix: puddle wetness default * fix: vr raindrops * style: 🎨 apply clang-format changes * chore: fade out rain fx quicker * chore: update precipitationData access --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix deferred vs forward rendering (#760) * fix: deferred vs forward rendering fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): vl ghosting (#762) * fix(VR): vl ghosting * chore: move VL back to core fix: water parallax on angled surfaces (#763) * fix: water parallax on angled surfaces * style: 🎨 apply clang-format changes * fix: add vr eyeindex * style: 🎨 apply clang-format changes * chore: revert and simplify fix --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: disable and limit settings fix: do not modify iVolumetricLightingQuality fix: sky blending fix(GOG): fix crash with upscaling (#764) perf(VR): performance tweaks for vr (#765) * performance(VR): performance tweaks for vr * style: 🎨 apply clang-format changes * performance: ExtendShadows only affects dir light * fix: terrain shadows * fix: non pbr terrain * fix: remove extended shadows on terrain, too complex --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: ini settings saving to a random ini file (#767) * fix: fix ini settings saving to a random ini file * chore: add ini pref and relocate ini * fix: save settings fix: disable some effect shaders (#766) fix: inconsistent raindrop visibility (#769) feat: ssr improvements (#768) * feat: ssr improvements * chore: increase distance further * chore: more improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: add missing space fix: screenspace shadows on decals (#771) * fix: screenspace shadows on decals * style: 🎨 apply clang-format changes * fix: other decals * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve settings, remove PBR settings (#770) * chore: change settings files location * chore: better settings * style: 🎨 apply clang-format changes * refactor: same spacing as pre-PR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: reduce water shadow blur fix: tonemapping saturation (#772) fix: screenspace shadow weights (#773) * fix: screenspace shadow weights * fix: missing vr * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: water depth samples, sun specular (#774) * fix: water depth samples, sun specular * chore: sun fresnel * fix: bad math fix: grass compile error fix: do not modify reinhard saturation (#775) feat: no water ssr fade (#776) fix: filmic tonemapping hues (#777) * fix: filmic tonemapping hues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: better hue preservation (#778) * fix: filmic tonemapping hues * chore: less aggressive * style: 🎨 apply clang-format changes * feat: HuePreservingReinhard --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: ssr tweaks (#779) * chore: ssr tweaks * fix: actually bias feat: new SSR shader and water application chore: remove MaxIterations, SSR formatting (#780) * chore: ssr fixer upper * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: less aggressive ssr edge (#781) * chore: less aggressive ssr edge * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: particle lighting in menus (#783) * fix: particle lighting in menus * style: 🎨 apply clang-format changes * chore: remove redundant code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: more ssr tweaks (#784) fix: force create communityshaders directory (#782) * fix: always force create directories to avoid issues * chore: catch filesystem errors * chore: better messages * chore: even better messages perf: ssr optimisation (#785) * perf: ssr optimisation * style: 🎨 apply clang-format changes * chore: more tweaks * style: 🎨 apply clang-format changes * chore: even more optimisation * style: 🎨 apply clang-format changes * refactor: rename dims to coords * style: 🎨 apply clang-format changes * chore: even better * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: even more ssr tweaks (#788) refactor: ssr cleanup (#786) * refactor: ssr cleanup * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: pb shadow improvements (#789) * chore: pb shadow improvements * chore: more cleanup fix: dynamic cubemap fixes (#790) * fix: dynamic cubemap fixes * chore: improve cubemap inferrence * fix: skylighting reflecting sky * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pb shadow blur fix: dynamic res with SSR chore: use CameraDataWater instead of CameraData chore: better skyrim upscaler compat (#794) fix: incorrect water reflections (#792) * fix: incorrect water reflections * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor dynamic cubemap issues (#791) * fix: minor dynamic cubemap issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): grass distance fade (#793) chore: cleanup VL settings (#795) chore: add VL IsCore (#796) refactor: DICE to DisplayMapping (#798) * refactor: DICE to DisplayMapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: IsOutsideFrame capitalisation (#797) chore: rename screenspace shadows to match SSGI (#799) fix(VR): mismatched puddles (#801) fix: caustics and shadow fixes (#800) * fix: caustics and shadow fixes * style: 🎨 apply clang-format changes * chore: more fixing --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: rename Water Lighting (#803) * refactor: rename Water Lighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove broken Git text from Lighting.hlsl (#805) chore: remove DICETonemapper.hlsli fix: hue preservation NaN (#806) * fix: hue preservation NaN * fix: better fix chore: complex mat roughness tweaked (#807) refactor: shader bindings (#808) * refactor: shader bindings * chore: compact refactor: move FrameBuffer buffer to namespace (#809) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> chore: grass normal tweaks (#810) refactor: fully use namespaces (#811) * refactor: fully use namespaces * style: 🎨 apply clang-format changes * refactor: feature namespaces * style: 🎨 apply clang-format changes * refactor: rename copiedData to ShadowData * refactor: remove Shared suffix * style: 🎨 apply clang-format changes * refactor: terrain shadows * refactor: more features * style: 🎨 apply clang-format changes * fix: add missing fadeout factor * fix: skylighting * refactor: dynamic cubemap namespace * fix: SSGI compile --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: FlayaN <hannes.feldt@gmail.com> chore: random cleanup and fixes fix: reduce inference ramp up chore: reduce default billboard radius chore: remove parallax boost fix: subsurface scattering namespaces fix: compilation window alpha (#815) fix: blended decals with zbufferwrite (#812) * fix: blended decals with zbufferwrite * style: 🎨 apply clang-format changes * chore: tweak comments * chore: comment tweaks * chore: add AE addresses * style: 🎨 apply clang-format changes * fix(VR): fix vr offsets (#814) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: water caustics on water edge (#816) chore: tweaked contact shadows (#817) fix: imgui Display error chore: tweaked menu transparency fix: ssr lines (#818) fix: dont save vl settings to ini on flatrim (#819) refactor: adjust brackets for VL (#820) * refactor: adjust brackets in VL * refactor: more * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: use constant buffer for strictlightdata (#821) * feat: use constant buffer for strictlightdata * fix: clusters clipping on first person model * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove displaymapping (#822) * chore: remove displaymapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: move CopyShadowData (#823) fix: fix shader compile for llf debug (#825) feat: group not loaded features in UI (#824) fix: fix terrain shadow texture slot and add dlc heightmaps (#827) * fix: fix terrain shadow texture slot * chore: pack terrain heightmaps separately and add dlc heightmaps fix: fix skylighting cb padding (#828) build: remove frame generation from core (#829) fix: finish LLF refactor (#830) * fix: finish LLF refactor * chore: update fix: llf strict light array padding (#831) chore: update version to 1.0.1 fix: gog detection (#832) docs: fix terrain shadows spelling error (#833) fix: fix terrain shadow ctd (#834) * fix: fix terrain shadow ctd * refactor: to be more specific chore: bump version to 1.0.2 feat: refactor ssgi to use spherical harmonics (#837) * chore: remove ao blur * chore: random changes * feat: add SH IL * feat: add back blur * feat: add back half res * fix: ao temporal denoise fix: skylighting alpha testing (#836) * fix: skylighting alpha testing * style: 🎨 apply clang-format changes * chore: removed skylighting foliage hacks --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix clearing the wrong ssao buffer (#839) fix: fix terrain shadows ctd when texture name has less than 10 fields (#841) fix: fix ssgi vr consistency and foliage glowing (#838) * feat: add back ssgi vr eye blending * fix: misnomer * fix: float4 conversion * chore: remove redundant define * fix: fix incorrect ambient reprojection, reduce foliage glow * fix: less strict movement occlusion for vr * fix: foliage flipped normal * chore: slightly reduce specular gi chromaticity * fix: correct foliage fix chore: bump ssgi ver to 3.0, disable vanilla ao (#840) chore: bump version to 1.0.3 chore: bump version to 1.1.0 fix: change default settings to prevent ssgi feedback loop (#844) feat: add saturation slider for ssgi il, remove backface mult (#845) * feat: saturation slider for ssgi il * chore: bump ssgi ver * chore: more drastic IL bounce value chore: bump version to 1.1.1 feat: add quarter res, default settings for minimal noise (#848) * feat: add quarter res, default settings for minimal noise * fix: add recompile flag to reset default fix: clean up ssgi blur and upsample, change presets (#849) chore: hide ssgi slice & step, blur with minimum weight (#852) fix: detect lack of d3d11.1 support, TAA sharpening (#850) * fix: detect lack of d3d11.1 support * style: 🎨 apply clang-format changes * feat: sharpening for TAA * style: 🎨 apply clang-format changes * fix(VR): fix vr offset and bump address lib dependency (#851) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> chore: bump version to 1.1.2 chore: bump ssgi version to 3.0.2 chore: reduce grass sss setting fix: vr upscaling hooks (#853) chore: bump version to 1.1.3 fix: fix ssgi ambient bounce ignoring AO (#855) feat: support directly using xlodgen output in terrain shadows (#854) chore: change default frame generation mode feat: add simple specular AO and restore high accuracy specular GI (#860) * feat: add simple specular ao * feat: add back high accuracy specular gi chore: dlss tweaked menu, performance (#857) * chore: dlss tweaked menu, performance * build: move CopyDepthToSharedBufferCS.hlsl feat: add back display mapping for filmic (#864) chore: bump version to 1.1.4, ssgi to 3.0.3 (#867) fix: fix terrain shadow ctd when directory does not exist (#869) chore: bump version to 1.1.5 (#870) fix: set recompileFlag when loading ssgi settings (#872) fix: revert sampler to clamp to fix screen artifacts (#871) fix: taa sharpening fix: distant water reflections (#885) fix: skipping refract calculation for pbr landscape (#887) * Fixed fraction calculating for pbr landscape * Skip refract calculation for pbr landscape fix: detect bad dynamic cubemaps (#886) * fix: detect bad dynamic cubemaps * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hq refined dithered parallax (#877) * feat: hq refined dithered parallax * style: 🎨 apply clang-format changes * fix: pbr --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: version bumps fix: cloud shadows issues (#893) * fix: cloud shadows issues * style: 🎨 apply clang-format changes * chore: us…
alandtse
pushed a commit
to alandtse/open-shaders
that referenced
this pull request
Jul 20, 2025
* feat: better rain fx * fix: rain occlusion * style: 🎨 apply clang-format changes * fix: use rain density instead of alpha * chore: remove chaotic ripples * style: 🎨 apply clang-format changes * feat: rain fade in and out * feat: redone wetness and puddle cpu code * chore: tweak default wetness settings * style: 🎨 apply clang-format changes * chore: remove unused constants * chore: bias towards puddles * chore: chore further cleanup * chore: further bias puddles * fix: correct conversion * chore: more fixes * fix: bad bracket * chore: clamp raining amount * fix: wetness crash * fix: padding * fix: bad settings * chore: tweaked puddles buildup * fix: puddle wetness default * fix: vr raindrops * style: 🎨 apply clang-format changes * chore: fade out rain fx quicker * chore: update precipitationData access --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com>
tssge
pushed a commit
to tssge/skyrim-community-shaders
that referenced
this pull request
Sep 6, 2025
chore: ui changes feat: add icons font feat: more fleshed out feature interface feat: features reordering and removal chore: square button and hint text feat: preprocess hooks feat: port COD bloom chore: remove test feature feat: lut baker ui placeholder feat: port auto exposure chore: def settings feat: port tonemapper chore: default settings and bypass vanilla tonemap chore: default set of effects feat: more tonemapping operators fix: post load Load Settings crash fix feat: added Aldridge filmic feat: Lottes & Day & Uchimura curves refactor: rename math tonemapper to colour transforms, flexible funcs fix: minor fixes style: 🎨 apply clang-format changes feat: bogey items as separators in ColourTransforms feat: add ASC_CDL feat: add clamp, exposure/contrast, asc cdl, saturation feat: shift slider feat: log space conversion, halfres histogram, 64bit support feat: add gamma, and rgb gamut conversion feat: LiftGammaGain, SaturationHue, DCI-P3 fix: fixes fix: shader nullptr issue feat: exposure option for agx fix: potential id conflict, wrong number fix: exposure typo feat: add vignette feat: add bypass, buttons to list chore: change default settings chore: ui chore: default the whole thing instead of each fx fix: alt+tab input sticking (#403) chore: disable temporal denoiser on diffuse AO (#404) it doesn't need it and only introduces ghosting chore: ui refactor: commonise fix: Fix zero weight on pbr landscape without displacement (#408) * Fix zero weight on pbr landscape without displacement * style: 🎨 apply clang-format changes --------- Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix: specular gi affecting diffuse gi, revert disable temporal denoiser on diffuse AO (#407) * fix: disabling AO temporal filter breaks half-rate * fix: specular gi affecting diffuse gi * Revert "fix: disabling AO temporal filter breaks half-rate" This reverts commit 47d89016d452bcc409dfd7badc3ea5f00c6c54b1. * Revert "chore: disable temporal denoiser on diffuse AO (#404)" This reverts commit 2fadbeea752eb21aaa6a6c7b3422a41231c52b79. fix: fixes for ISRefraction and ISSAOBlur. (#406) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: missing `InterleavedGradientNoise` change (#405) fix: switched to using in-game imagespace shader defines. (#409) * fix: switched to using in-game imagespace shader defines. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: black reflections + InWorld flag (#399) * fix: black reflections + InWorld flag * style: 🎨 apply clang-format changes * refactor: InWorld comment * fix: shader logic * style: 🎨 apply clang-format changes * fix: world map and 3d menu objects features * style: 🎨 apply clang-format changes * refactor: cleaner conditional shadow sampling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: gi attenuation, remove back face option (#410) feat: add melon tonemapper feat: add kajiya tonemapepr, oklch saturation fix: default settings feat: add colour mixing, bypass serialisation chore: better colour mixer ui, remove logspace transofrms chore: def settings feat: LUT feat: tracy profiler integration (#365) * feat: add tracy profiler * chore: update VR offset * chore: force tracy 0.11.0 * chore: add TRACY_ENABLE as cmake option, remove redundant include * build: add TRACY_SUPPORT cmake option and fix vcpkg baseline * chore: update to dev * Update CMakePresets.json * build: add `ALL-TRACY` preset Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> * Update CMakePresets.json Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: Flayan <964655+flayan@users.noreply.github.com> fix: more specular gi attenuation fix (#412) feat: Interior bool in shared constant buffer fix: PBR directional light specular fix and llf compile fixes (#415) * feat: lighting fixes * chore: comment added to Interior boolean * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: unlocked HDR range of game buffers (#416) fix: added padding for pbr settings struct (#414) * fix: added padding for pbr settings struct * chore: unify padding naming --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> fix: ssgi: limit min roughness, remove luminance weight (#417) fix: offset fix: ssgi use perceptual roughness instead of linear (#418) fix: remove all linear/srgb conversion, save for pbr albedo (#420) fix: remove tpbr albedo lin2srgb (#421) fix: pbr parallax and terrain parallax intensity (#423) feat: glint for PBR (#413) * fix: switched to using in-game imagespace shader defines. * feat: support for glint parameters in pbr meshes and texture sets. * style: 🎨 apply clang-format changes * fix: trying to fix * style: 🎨 apply clang-format changes * fix: use local H * fix: fixed shader compilation with glint. Reworked pbr parameters serialization. Hidden glint under define. * style: 🎨 apply clang-format changes * fix: trying to fix glints * fix: fixed blowing up specular when blending pbr and non-pbr landscape. * fix: prevent glazing angle flashes, correct tbnTr * fix: blending, more suppression on edgy glints, optimisation * chore: remove redundant context check --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> Co-authored-by: Pentalimbed <pentalimbed@gmail.com> Co-authored-by: Pentalimbed <Pentalimbed@users.noreply.github.com> chore: updated feature settings for correct color space (#424) Revert "chore: updated feature settings for correct color space" (#425) This reverts commit 16bf0b60b6c999147aa5590fc81748de8288cfa2. Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. chore: 1.5 for everything chore: def settings revert: revert linearisation attempts (#426) * Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. * Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. fix: fixes for effect shader; effect shader enabled fully. (#427) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: llf cleanup and optimisations, plus shadow improvements (#419) * feat: llf cleanup and optimisations * style: 🎨 apply clang-format changes * fix: added missing water shader changes * fix: grass compile error * feat: more shadow optimisations * feat: shadows on transparent lighting shaders * fix: shadows too sharp * style: 🎨 apply clang-format changes * fix: too aggressive shadow bias adjustment * performance: store contact shadow steps function * chore: removed contact shadows from grass * style: 🎨 apply clang-format changes * revert: back to vanilla shadow blurriness * feat: improved shadow sampling * style: 🎨 apply clang-format changes * feat: blurred contact shadows * style: 🎨 apply clang-format changes * fix: clamp shadow sampling uvs, stochastic sampling * style: 🎨 apply clang-format changes * performance: shared 3D noise outside of contact shadows * style: 🎨 apply clang-format changes * chore: cleanup water vl sampling code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: pbr diffuse lighting in srgb. (#429) * feat: PBR diffuse calculated in sRGB. * style: 🎨 apply clang-format changes * feat: slider for base color gamma. * feat: transform for other PBR diffuse colors. * style: 🎨 apply clang-format changes * fix: fix for pbr-non-pbr land blending. * fix: default base color gamma set to 1.9. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: effect lighting (#430) * feat: effect lighting * style: 🎨 apply clang-format changes * performance: scale shadow sample count with distance * chore: removed skylighting include from Effect * fix: light limit fix include in Effect * chore: removed unneeded undef from Effect --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "fix: alt+tab input sticking" (#434) This reverts commit 6277a6c41cd3e1779e86fd900e8349189d765305. fix: black terrain (#435) fix: glowing objects with wetness feature fix: probable fix for skylighting interior crashes (#432) * fix: probable fix for skylighting interior crashes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: add namespaces for features (#431) * fix: fix shader warnings * refactor: add namespace for WetnessEffects * refactor: add namespace for TerrainOcclusion * refactor: add namespace for TerrainBlending * refactor: add namespace for ScreenSpaceShadows * refactor: add namespace for LightLimitFix * refactor: add namespace for GrassCollision * refactor: add namespace for ExtendedMaterials * refactor: add namespace for DynamicCubemaps * refactor: add namespace for CloudShadows chore: set default pbr gamma to 2.2 (#436) chore: slightly improved directional shadow bias fix: too aggressive dir shadow bias fix: glowmap brightness (#439) * fix: glowmap brightness * fix: effect shadows not working fix: missing LLF lights fix: disable effect shadows on world map (#442) * fix: disable effect shadows on world map * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: complete skylighting during loadscreen (#433) * feat: complete skylighting during loadscreen * style: 🎨 apply clang-format changes * fix: forceFrames subtraction * chore: removed doPrecip since unused * style: 🎨 apply clang-format changes * fix: fadein set to 64 * fix: force skylighting frames correct values * style: 🎨 apply clang-format changes * fix: reduce skylighting max zenith to fix inconsistency * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: volumetric lighting RE. (#437) * feat: compute shaders support for shader cache. ISVolumetricLightingRaymarchCS added. * style: 🎨 apply clang-format changes * feat: added ISApplyVolumetricLighting and ISVolumetricLightingGenerateCS shaders. * style: 🎨 apply clang-format changes * chore: updated clib. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: grass shadows in interiors (#443) fix: add skylighting shadow bias (#444) perf: removed snow mask, do all diffuse specular addition in linear (#445) * chore: removed snow mask, do all diffuse specular addition in linear * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "perf: removed snow mask, do all diffuse specular addition in linear" (#447) This reverts commit 9b45c228d678f0d479afcae2ff54cb3e0d149b01. fix: SSR on LOD water bugs fix: black screen fix: skylighting skin artifacts + unroll (#449) * fix: skylighting skin artifacts + unroll * style: 🎨 apply clang-format changes * perf: tangentWeight math --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hdr tonemapping (#438) * feat: hdr tonemapping * style: 🎨 apply clang-format changes * feat: brightness slider controls tonemapping * chore: remove unused bloom conversion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: PBR asset matching (#448) * fix: PBR linear lighting, intensity * style: 🎨 apply clang-format changes * fix: AmbientComposite in linear for PBR * fix: PBR lod blending * fix: horizon occlusion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fixes for pbr land seams. (#450) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> perf: blur ss shadows in parallel (#451) * perf: blur ss shadows in parallel * chore: added GetScreenDepths * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: screenspace shadows blur direction feat: ISReflectionsRayTracing shader added. (#452) * feat: ISReflectionsRayTracing shader added. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: water parallax and improved performance (#455) fix: ISReflectionsRayTracing error fix: fixed constant indices in VR. (#453) * fix: fixed constant indices in VR. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: small ISVolumetricLightingGenerateCS fix. (#454) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: VR support for ISHDR and ISSAOComposite. (#458) * feat: VR support for ISHDR and ISSAOComposite. * style: 🎨 apply clang-format changes * fix: fix for ISApplyReflections. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix(VR): fix ctd when enabling imageshaders (#457) fix: water LOD shadows fix: ISHDR on flat (#459) * fix: ISHDR on flat * fix(VR): ISHDR fix: black screen fix: fixed black face in race menu. (#460) * fix: fixed black face in race menu. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: in-game editor for pbr land texture parameters. (#462) * feat: in-game editor for pbr land texture parameters. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: potential black screen fix (#465) * fix: potential black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: kill management thread on stop (#464) closes #296 feat(VR): add ImageSpace shaders (#463) fix: black reflections (#466) feat: linear water composite (#467) * feat: linear water composite * fix: underwater looking incorrect feat: improved contrast function (#471) * feat: improved contrast function * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix flickering of non-PBR assets (#472) Fix flickering of nonPBR assets when PBR assets are used. feat: expose skylighting dynamic cubemap to forward shaders fix(VR): fix ghosting for water (#477) perf: reduce default compilerThreads (#475) Set the default to be the max of (maxCores - 4), (maxCores * 3/4), or 1 feat: water optimisation, skylighting, fixes (#474) * feat: water optimisation, skylighting, fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: Lin2sRGB changed to LinearToGamma etc. (#478) * refactor: Lin2sRGB changed to LinearToGamma etc. * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: HDR tonemapping errors (#479) * fix: HDR tonemapping errors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr landscape scale and height blending (#461) * fix pbr land scale and blending * style: 🎨 apply clang-format changes * Only scale steps by land parallax scale to avoid artifacts * style: 🎨 apply clang-format changes * better naming and fixes for displacement adjust * style: 🎨 apply clang-format changes * Removed unneeded check, added missing check * Added a space --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix(VR): fix issues due to wrong variable name (#482) feat: removed separate SSS buffer (#483) revert: "fix: potential black screen fix" (#484) This reverts commit 27a2db2bb82d19cbceb424bd032660ad059f6d30. fix: adaptation black screen fix (#485) * fix: adaptation black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: use dynamic resolution helper (#487) fix(VR): fix utility shader shadows with upscaler (#486) closes #446 chore: enable imagespace and utility by default feat: pbr replacement for default land texture. (#489) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: material object editor and more. (#490) * feat: in-game material objects editor; glint support for material objects; mesh texture set updating during editing; subsurface and coat parameters in texture set editor. * chore: removed no longer used pbr lighting settings. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: texture set and material object configs not applying in some cases. (#492) * fix: fixes for texture set and material object configs not applying in some cases. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: less hue preservation in tonemapping (#493) feat: do tonemapping in gamma space (#494) fix: too noisy shadows (#495) fix: fixed crash on meshes with kVertexLighting flag enabled. (#496) * fix: fixed crash on meshes with kVertexLighting flag enabled. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixes for subsurface and projected material in pbr (#499) * fix: brought back PIs to subsurface and coat diffuse. * fix: proper support form projected material on top of subsurface, coat or fuzz. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixed pbr decals texture set parameters application. (#500) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix(VR): fix missing snow hook (#501) fix: Specify magic-enum port version in vcpkg.json (#503) Remove duplicate magic-enum entry under dependencies (#505) feat: Height blending toggle, parallax shadows edits (#491) * height blend toggle, extended parallax shadows * Change define to static const, disable extended shadows on vanilla landscape * style: 🎨 apply clang-format changes --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> chore: adjusted tonemapping curve fix: match vanilla shadows (#514) fix: enable all effect shaders (#515) refactor: llf use the game invprofmatrix (#508) * chore: llf use the game invprofmatrix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: rebuild shaders when editing shader defines (#512) Improves the behavior when modifying the Advanced -> Shader Defines. Shaders will be rebuilt on any change in the field when focus is lost or if enter is pressed. feat: linear space ssao (#518) * feat: linear space ssao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: shadow cascade sampling (#520) * fix: shadow cascade sampling * fix: tree LOD ambient brightness * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove 1.5 gamma refactor: rename terrain occlusion to terrain shadows refactor: rename terrain occlusion folder style: 🎨 apply clang-format changes refactor: rename other terrainocclusion folder refactor: rename terrainocclusion.hlsli refactor: finish renaming TerrainOcclusion to TerrainShadows style: 🎨 apply clang-format changes fix: fix skylighting fade and darkness (#517) * refactor: rename updateProbes * fix: skylighting fade and darkeness fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: directional skylighting chore: blur ss shadows in proj space (#522) chore: minor visual tweaks fix: screenspace shadow blur in distance (#523) docs: provide gpl exception for hardware sdks (#513) fix: fix missing directory ctd with DynamicCubeMap Creator (#511) * DynamicCubeMap Creator crash fix When a destination folder for the DynamicCubeMap Creator export does not exist then CS should not crash. Now: Create Folder if destination folder does not exist. Unable to create missing folder: log error File Object with same name exists: skips * style: 🎨 apply clang-format changes * Update DynamicCubemaps.cpp Moved Texture creation and SaveToDDSFile inside try/catch block. This removed one boolean variable that had been used . No attempt is made to save a file if that filename exists (even an incorrect file object). As there are multiple types of exceptions including OS filesystem errors the catch was left as std::exception instead of multiple catch types and specific log messages. build: introduces a windows based build container (#524) * ci: adds docker file for a build container * ci: adds separate container build script * docs: adds docker section to readme * docs: separates docker steps for slightly easier understanding * docs: adds vcvarsall.bat instructions to setup amd64 env without opening VS * fix: adds missing word for docker context and fixes path in ps1 * fix: replaces docker context switch with correct command feat: DLSSG frame generation (#504) * feat: added streamline * feat: streamline partial cmakelist * feat: streamline swapchain * style: 🎨 apply clang-format changes * feat: init streamline * fix: typo * feat: more streamline setup * style: 🎨 apply clang-format changes * feat: frame generation working but still broken * style: 🎨 apply clang-format changes * feat: functional DLSSG * style: 🎨 apply clang-format changes * chore: disable reflex sleep since not needed * chore: streamline cleanup and fixes * style: 🎨 apply clang-format changes * feat: include streamline dll files with licence * chore: cleanup streamline files, auto dlssg * style: 🎨 apply clang-format changes * fix: try to prevent memory leak * fix: remove accidentally included files * fix: detect DLSSG compatibility * style: 🎨 apply clang-format changes * fix: motion vectors when the game is paused * feat: RCAS sharpening * fix: incorrect hooking behaviour * style: 🎨 apply clang-format changes * fix: detect if the DLSSG feature is loaded before querying it further * fix: typo * style: 🎨 apply clang-format changes * fix: RCAS color space and intensity * feat: DLSS menu following guidelines * style: 🎨 apply clang-format changes * feat: FSR 2.2.1 * style: 🎨 apply clang-format changes * feat: remove FSR, separate frame generation to a feature, upscaler compat * chore: remove unused submodules * fix: do not apply d3d hooks to VR * fix: only show streamline menu on flatrim * fix: missing streamline shader * refactor: move streamline includes to forked submodule (#507) * fix: vr menu hook * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: menu compile error revert: "feat: linear space ssao" (#525) This reverts commit 8c8c2d11647e89cc61c81ab7f83781ccc86325ef. fix: fix skylighting CB alignment (#531) feat: allow features to pass define options (#528) refactor: move WStringToString to util (#532) docs: lower unknown hlsl variables to debug (#529) fix: add missing right parens (#539) refactor: explain GetVRVSOutput better (#527) feat: decouple AO/GI radius and remove unused HBAO code (#538) * refactor: remove unused hbao code * feat: decouple AO and GI thickness fix: fixed permutation buffer not resetting between frames. (#540) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: fix effect shader for ADDBLEND && VC && !TEXTURE (#544) * fix: fixed wrong look for effect shader with ADDBLEND && VC && !TEXTURE. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fix broken vr lights due to buffer alignment (#541) Fixes issue introduced by c64421048a664ffdcc33d7b3666e8ef36ef6c440 perf: pbr glint optimization (#537) * perf: smaller glint noise tex size * perf: cache glint precomputation feat: add hlsl-specific clear (#543) * feat: add hlsl-specific clear Allow clearing of all shaders linked to a specific hlsl file. This is useful for DEFINE option passing for features. * fix: fix locking scope to avoid deadlocks * fix: fix clearing shader with prior diskcache Fixes a bug where a prior saved diskcache shaders could not be cleared by filename. fix: fix undeclared TexProjNormalSampler (#547) TexProjNormalSampler is not defined if MULTI_LAYER_PARALLAX is enabled. docs: make descriptors print as hex (#546) refactor: remove redundant ifdef (#545) fix: recreate config if json parsing error (#548) closes #536 build: fix build if using defined vckpg commit (#549) chore: remove unused variable rate shading files fix: fix padding for StructuredLight (#552) fix: llf cluster errors fix: llf cluster errors missing InvProjMatrix fix: disable PBR hooks until it is fixed fix: always init clusterIndex fix: fixed llf-pbr interaction issue and re-enabled pbr. (#553) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: tree skylighting darkness (#554) feat: add gamesettings functions for features (#533) feat: tweakable pbr multiplier for better matching (#551) * feat: tweakable pbr premult for better matching * chore: premult comments refactor: change detours to use thunk syntax (#559) fix: fix vr ssgi reprojection (#557) feat(VR): enable SSR (#502) fix: llf lights fade (#560) fix: deferred multi layer parallax (#561) revert: "fix: llf lights fade" (#562) This reverts commit e43aee5f71094b6d82b743f14def0abaad0fd35b. fix: light limit fix lights missing chore: remove accumulator from LLF prepass, use constants (#563) feat: add min screen radius setting for ssgi (#564) feat: add non-time InterleavedGradientNoise (#568) feat: support INIPrefSetting and gameSetting (#566) Adds support for INIPrefSettingCollection and gameSettingCollection. Previously, only INISettingCollection was supported. refactor: reorganize defines in VR.hlsli (#567) fix: fix performance drop due to divide by 0 (#571) fix: camera data fixes (#572) * fix: camera data fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: llf fixed alignment issues (#573) * fix: llf fixed alignment issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: DLAA (#556) * feat: add dlss support WIP (#555) * feat: optional ConvertToDynamic for GetScreenDispatchCount * feat: DLAA * fix: increased sampling to fix noise with DLAA * style: 🎨 apply clang-format changes * chore: better DLAA settings * style: 🎨 apply clang-format changes * chore: removed unused motion vector hook * fix: reenable RegisterClassA_Hook * chore: removed unneeded ImagespaceTempCopy hooks * fix: AE DLAA hooks * feat: enable VR * fix: add additional checks to avoid ctds * style: 🎨 apply clang-format changes * fix: fix improper grouping on if * style: 🎨 apply clang-format changes * refactor: corrected dlss/dllsg settings * style: 🎨 apply clang-format changes * feat: earlier CS init * style: 🎨 apply clang-format changes * refactor: XSEPlugin spacing * feat: optional Streamline loading * style: 🎨 apply clang-format changes * fix: VR loading dlssg * feat: streamline settings save/load * style: 🎨 apply clang-format changes * chore: remove unneeded separator * feat: optional Streamline hooking * chore: improved Streamline menu * style: 🎨 apply clang-format changes * chore: always reset motion vectors for DLAA * chore: remove duplicate RCAS and Streamline folders * fix: streamline init issues * style: 🎨 apply clang-format changes * fix: more streamline init fixes * style: 🎨 apply clang-format changes * fix: VR DLAA * fix: disable Streamline in VR * style: 🎨 apply clang-format changes --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Alan Tse <alandtse@gmail.com> Co-authored-by: alandtse <alandtse@users.noreply.github.com> feat: improve vanilla VL (#569) * Add multipleScattering * Modify temporalContribution to account for motion vectors * Use InterleavedGradientNoise for noise generation * Add forward and backphase calculations for phase scattering * Add adaptive step size and transmittance for ray marching * Add comments and helper functions where appropriate revert: "feat: improve vanilla VL" (#574) This reverts commit b14d1445b7ebf919e3d43db89894f2201ac182ea. fix: compile and imagespace errors (#575) * fix: compile errors * style: 🎨 apply clang-format changes * fix: revert Streamline changes for init --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> build: added FSR SDK feat: shared upscaling options and fixes style: 🎨 apply clang-format changes chore: use default dlss preset chore: reduced effect shader sunlight chore: clearer upscale options fix: fix shader-specific clear (#578) Failure to clear shaderMap resulted in a cached copy being detected but not actually available in the relevant shader array. This would result in vanilla shaders being used instead. chore: menu label changes build: move fsr cmake and remove warnings (#579) feat: native FSR 3 sharpening (#580) docs: add descriptor to shader completion debug (#586) docs: add filename for shader events (#582) fix: use proper output for DEPTHBUFFER_COPY (#585) fix: dyndolod 3d trees shading (#588) * fix: dyndolod 3d trees shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: utility shader changes (#589) chore: revert skylighting foliage tweak refactor: extremely minor cleanup fix: HLT trees color feat: add Util::IsDynamicResolution (#590) fix(VR): fix incorrect shader warning (#591) feat: remove portal-strict light limit (#506) * feat: portal-strict light limit removal. * style: 🎨 apply clang-format changes * feat: shadow lights processed via llf. * style: 🎨 apply clang-format changes * fix: fixes for spotlights. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: remove unnecessary `#pragma warning` (#596) refactor: replace `Microsoft::WRL::ComPtr` with `winrt::com_ptr` (#595) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> refactor: `std::span` for safer shader defines (#594) * refactor: `std::span` for safer shader defines throws exception if we run out of macro slots * fix: add missing nullptr defines to lighting feat(VR): enable upscaling (#592) feat: sync upscaler settings with skyrim setting (#593) * feat(VR): enable upscaling * feat: sync upscaler settings with skyrim setting fix: fix broken vanilla taa (#598) fix: fix compile error (#597) feat: improve llf visualization (#604) * fix: fix LLFDEBUG compilation error * feat: recompile on llf visualization toggle * style: 🎨 apply clang-format changes * chore: fix spacing * feat: add shadowmask visualization fix(VR): fix llf eye desync (#605) fix(VR): fix ghosting in fsr (#602) fix(VR): fix ctd when upscaler present (#603) * fix(VR): fix ghosting in fsr * fix(VR): fix ctd when upscaler present When Upscaler is present, FSR, DLSS are no longer available. This will also properly disabled those options in the menu. revert: "fix(VR): fix llf eye desync" (#607) chore(UI): move all top options to the sidebar (#608) * chore: (UI) move all top options to the sidebar * chore: add missing spaces fix: skylighting hooks when disabled (#609) * fix: skylighting hooks when disabled * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore(UI): changes to fit the new layout (#610) * refactor: tidier way of adding new sidebar menu as a side effect, also fixes reset default mismatch * chore: remove singular collapse headers * chore: change hint text for new layout * refactor: i ❤ modern cpp feat(UI): create new theme (#611) fix(UI): fix font spacing (#612) fix: fixes wetness persisting across saves (#614) refactor(HLSL): create Color namespace refactor(HLSL): create VR namespace refactor(HLSL): create FrameBuffer namespace refactor(HLSL): create DeferredShared namespace refactor(HLSL): create SharedData namespace refactor(HLSL): create Random namespace refactor(HLSL): create FastMath namespace refactor(HLSL): create GBuffer namespace fix(VR): fix llf desync in eyes (#616) closes #601 fix(VR): fix VR namespace define conflict (#617) refactor: move hooks out of State (#599) * refactor: move hooks out of State Hooks should be in XSEPlugin so they can all be found. A similar refactor should be done for SetupResources and other areas where State is being piggybacked. * refactor: move d3dhooks to query fix: bad ImGui::TreePop() feat(UI): more imgui design changes (#619) chore: imgui improvements (#618) * chore: imgui improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat(VR): enable volumetric lighting (#565) * feat(VR): enable volumetric lighting * fix: fix stereo access to VLTex VLTex is still mono and causes artifacts, but this is a correct step once it is stereo. https://github.com/doodlum/Skyrim-Community-Shaders/pull/565#issuecomment-2381750427 * fix: fix stereouv access * fix: fix WindInput * feat: add initial RE for ISFullScreenVR * fix: fix previous depth calculation in dynres The depth stencil from ISDepthBufferCopy is actually full size and not scaled with dynres enabled. * feat: add dynres status to state * fix: fix dynres for volumetric lighting * chore: fix typo * fix: require vr address library 0.154.0 * fix: fix crash of shizof mods at dataloaded * revert: "feat: add dynres status to state" This reverts commit c3658ad122e62a787ef1bdeda8a3d6b33414f025. * fix: use Util::IsDynamicResolution * fix: fix improper depth size when downsampled * fix: fix bad rendering with bDepthBufferCulling With bDepthBufferCulling enabled, culling is incorrect if diskcache is on until ShaderCache is cleared. This is a stopgap until root cause is identified. * fix(VR): fix VR desync closes #601 * revert: "fix(VR): fix VR desync" This reverts commit 958bc9a94ddfda0a24e1adbc3e2b554e6b1d137a. * style: 🎨 apply clang-format changes * style: fix doxygen spacing * refactor: use new namespaces * fix: fix VR namespace define conflict * chore: remove unused vr code * refactor: fix flat compile errors feat: upscaling update (#621) * build: updated FSR * refactor: mode to method * fix: fsr memory leak * feat: updated upscaling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: reset upscaling chore: VR upscaling screen sizes (#623) * chore: VR upscaling screen sizes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: only use imgui io after init (#622) * fix: only use imgui io after init * refactor: getsingleton feat(UI): Add theme settings for menu (#625) chore: frame generation menu (#626) fix: fix crash when fsrContext not initialized (#628) chore: hide frame generation in VR (#629) fix: dynamic cubemaps slow updates (#632) * fix: dynamic cubemaps slow updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: upscaling fixes (#633) fix: foliage checkerboarding arguments chore: move Streamline to core chore: delete Dynamic Cubemaps - Metals folder chore: rename frame generation folder chore: remove terrain blending ini chore: put effect shader lighting changes behind defines (#635) * chore: put effect shader lighting changes behind defines * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> docs: add tooltips for upscaling (#630) * docs: add tooltips for upscaling * Update Upscaling.cpp * Update Upscaling.cpp --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> feat(UI): add footer with diaginfo (#637) chore: display menus open by default fix: sky motion vectors (#638) * fix: sky motion vectors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(UI): fix debug assert (#639) fix: fix errors loading and saving (#640) chore: serialize ImVec to array instead of object (#641) because: 1. it's less cloggy 2. it follows the same format as d3d vecs 3. serializations should be placed in Util fix: fix ShadowSampling warnings (#642) fix: fix Lighting.hlsl warnings (#643) * fix: fix Lighting.hlsl warnings * fix: fix missing truncation fix: fix imgui input buildup (#649) chore(UI): tighter footer (#650) - CS version moved to header - tighter footer height - no table bc you need very wide window to show all text -> they are bullet texts now chore(UI): set Keybindings header to default open (#647) refactor: use themes for remaining colors (#645) build: fix missing themeSettings (#653) refactor: use themes for remaining colors feat: add feature disabling at boot Allows any feature to be disabled at boot. Features must have their hooking within the feature and not elsewhere. Changing the setting will require a restart. fix: serialize RestartNeededColor fix: fix ctd on recompiling screenspacegi Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 fix: remove redundant themeSettings fix: fix ctd on recompiling screenspacegi (#652) Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 refactor: simpler ssgi recompile ctd fix (#656) fix: (roughly) correct specular ssgi multiplier (#661) feat: allow disabling of upscaling/framegeneration (#646) Disable special features. closes #606 fix: correct ssgi backface mult (#662) fix(VR): fix SSGI movement ghosting (#663) feat(UI): use full-fledged theme editor (#657) fix: bug for loading features due to missing keys (#654) refactor: break down `Util` into separate files (#660) refactor: fix shader warnings (#658) feat: add sky reflection fix (#665) fix: handle malformed defines pairs in Util::CompilerShader (#664) closes #300 revert: "fix: handle malformed defines pairs in Util::CompilerShader" (#668) refactor: remove unused argument of `GetTerrainShadow` (#671) docs: improve terrain height map instruction (#669) refactor: force include path to Shaders folder (#672) fix: handle malformed defines pairs in Util::CompilerShader closes #300 refactor: remove DeferredShared (#673) * refactor: force include path to Shaders folder no relative include is allowed any more * fix: prevent delete nullptr * fix: add missing sss include * refactor: remove DeferredShared replaced with SharedData fix: fix terrain shadows (#674) also fixed sign warnings feat: add core feature support (#675) chore: update to new include scheme chore: update shaders to new include scheme chore: update shaders to color namespace fix: disable HDR tonemapping due to performance issues feat: per-channel HDR tonemapping feat: automatic effect shader colours (#687) * feat: automatic effect shader colours * fix: remove testing code * style: 🎨 apply clang-format changes * style: 🎨 apply clang-format changes * fix: light vector --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: weather and shadow nif flags for effects. (#685) * feat: weather and shadow nif flags for effects. * style: 🎨 apply clang-format changes * chore: removed no longer needed flag. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: rename Constants to Math with namespace (#689) fix(VR): fix ctd on start (#690) feat: consistent backlighting (#692) * feat: consistent backlighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: unify shadercache clearing (#691) fix: probably fixed broken shadow portal-strict lights. (#677) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> chore: less aggressive tonemapping chore: add volumetric lighting to core fix: complex materials not working (#694) * fix: complex materials not working * fix: dynamic cubemap mip levels chore: remove false-positive particle lights chore: llf tweaks (#696) * chore: remove not needed hooks * chore: match light count with group size in llf build: update version numbers (#695) chore: remove cluster culling while loop (#697) fix: disable llf modifying shaders chore: llf toggling and refactoring (#698) * refactor: casing of isNewFrame * chore: properly toggle llf hooks build: update clib with portal RE and perf relocation fixes (#700) perf: optimize particle lights (#702) * chore: particle light optimisation attempt * style: 🎨 apply clang-format changes * fix: water shadow lights * chore: remove BSLightingShaderProperty_GetRenderPasses * fix: llf info * style: 🎨 apply clang-format changes * feat: particle light gpu optimisations * style: 🎨 apply clang-format changes * refactor: corrected includes in xseplugin * chore: remove ParticleLightsOptimisationClusterRadius * style: 🎨 apply clang-format changes * fix: billboard light color * feat: cleaned up queued lights and optimised * style: 🎨 apply clang-format changes * chore: remove llf testing code * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: default constant buffers to dynamic (#703) refactor: shader flags (#704) * refactor: shader flags * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: incorrect shader information fix: disable unmodified imagespace shader replacement (#705) chore: increase lights per cluster (#706) fix: light clustering issues (#708) * fix: VR light clusters * style: 🎨 apply clang-format changes * fix: light cluster race condition --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: bump required vr addresslib version (#710) fix: remove redundant calculation in terrain shadow (#714) feat: add missing pbr permutations for pre-compilation (#713) * feat: added missing pbr permutations for pre-compilation. * chore: turned BASE_OBJECT_IS_SNOW into flag. * style: 🎨 apply clang-format changes * chore: merged DO_ALPHA_TEST and ADDITIONAL_ALPHA_MASK into single permutation. * style: 🎨 apply clang-format changes * chore: true exclusion of pbr vertex permutations. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: remove VL feature from core until fixed fix: alpha testing (#715) * fix: alpha testing * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: grass updates (#716) * feat: grass updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr grass compile (#717) * fix: pbr grass compile * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor shader fixes (#718) fix(UI): change missing feature ini color (#719) feat(UI): add gpu memory usage to menu footer (#712) chore: use vanilla contrast (#720) chore: increase skylighting resolution and range (#722) refactor: fake enums for PBR (#721) * refactor: fake enums for PBR * style: 🎨 apply clang-format changes * refactor: pbr enums for extended materials * refactor: pbr file scope --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove shadow bias changes (#723) fix: remove effect shader testing logging (#724) fix: out of bounds shadow index chore: effect shader improvements (#725) * chore: effect shader improvements * style: 🎨 apply clang-format changes * fix: remove testing code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: further effect shader tweaks (#726) * chore: further effect shader tweaks * chore: remove experimental code chore: less intense ao (#727) * chore: less intense ao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: character lighting flickering (#729) fix: force disable "improved" snow shader (#728) * fix: force disable "improved" snow shader * style: 🎨 apply clang-format changes * fix: do not access setting on VR * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix rungrass not compiling with skylighting (#730) fix: lighting fixes (#731) * fix: maybe flicker fix * style: 🎨 apply clang-format changes * fix: currentExtraDescriptor not updating correctly * fix: always update permutation buffer whenever it changes * style: 🎨 apply clang-format changes * fix: particle lights with no color array * fix: remove ExtendedFlags * style: 🎨 apply clang-format changes * fix: inactive shadow lights * Update LightLimitFix.cpp * fix: typo * chore: add comment * feat: po3 light placer support * fix: shadows on loading screens * fix: incorrect casting * fix: bad cast * fix: disable replacing BSImagespaceShaderReflectionsDebugSpecMask * chore: remove Effect_Shadows * chore: removed ID3D11DeviceContext_Unmap --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: water composite rewrite (#733) * feat: water composite rewrite * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: too bright water feat: unified tree lod shading (#734) * feat: unified tree lod shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve effect shader shading fix: water brightness (#738) fix: corrupt lightFlags (#736) * fix: corrupt lightFlags * chore: remove commented lines fix: particle light radius (#739) feat: add incompatibility check for PrivateProfileRedirector < 0.6.2 (#735) fix: rain with DLAA fix: particle mask fix: bias AA against rain (#740) * fix: bias AA against rain * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: remove added tonemapping, per-channel vanilla (#737) chore: bias FSR rain more fix: grass point lights (#741) * fix: grass point lights * style: 🎨 apply clang-format changes * fix: PBR grass shading --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix eye mismatch for screenspacegi (#666) * fix(VR): use world position for eye swap over Fix a bug where the function would convert in viewspace which would not be synced between the eyes. Now the conversion goes to world space before converting to the other eye. * fix(VR): fix ConvertMonoUVToOtherEye This requires hardcoding a shift based on a q3. This may not be the scalable solution. * fix(VR): fix eye mismatch for screenspacegi * fix: use ndc matrix instead of hardcoded value * refactor: simplify eyeoffset logic fix: whiterun water flows invisible (#742) * fix: whiterun water flow invisible * style: 🎨 apply clang-format changes * chore: better water flow blending * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: update DLSS tooltip feat: effect shadows improvements (#743) * feat: effect shadows improvements * style: 🎨 apply clang-format changes * fix: shadow sampling * fix: ambient color wrong on some weathers --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: increase default sss thickness fix: effect shader lights (#746) * fix: effect shader lights * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: fixed vanilla ssr (#745) * feat: fixed vanilla ssr * style: 🎨 apply clang-format changes * fix: vr * style: 🎨 apply clang-format changes * chore: remove deltaUvDepthDR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: po3 light placer support (#747) refactor: sss menu text fix: fixes for pbr land crashes in vr. (#751) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: sky motion vectors (#752) * fix: sky smear fix attempt * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove unused llf flags (#749) fix: Effect soft fade fix(VR): grass compile when grass lighting is missing (#755) fix(VR): update clib with VR support for raindata (#757) fix(VR): water refraction (#756) * fix(VR): water refraction * chore: more refraction fix attempting * style: 🎨 apply clang-format changes * fix: depth from uv calculation i think * fix: actually fixed refraction * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor(HLSL): create namespaces for rest of hlsli (#761) feat: better rain fx (#744) * feat: better rain fx * fix: rain occlusion * style: 🎨 apply clang-format changes * fix: use rain density instead of alpha * chore: remove chaotic ripples * style: 🎨 apply clang-format changes * feat: rain fade in and out * feat: redone wetness and puddle cpu code * chore: tweak default wetness settings * style: 🎨 apply clang-format changes * chore: remove unused constants * chore: bias towards puddles * chore: chore further cleanup * chore: further bias puddles * fix: correct conversion * chore: more fixes * fix: bad bracket * chore: clamp raining amount * fix: wetness crash * fix: padding * fix: bad settings * chore: tweaked puddles buildup * fix: puddle wetness default * fix: vr raindrops * style: 🎨 apply clang-format changes * chore: fade out rain fx quicker * chore: update precipitationData access --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix deferred vs forward rendering (#760) * fix: deferred vs forward rendering fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): vl ghosting (#762) * fix(VR): vl ghosting * chore: move VL back to core fix: water parallax on angled surfaces (#763) * fix: water parallax on angled surfaces * style: 🎨 apply clang-format changes * fix: add vr eyeindex * style: 🎨 apply clang-format changes * chore: revert and simplify fix --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: disable and limit settings fix: do not modify iVolumetricLightingQuality fix: sky blending fix(GOG): fix crash with upscaling (#764) perf(VR): performance tweaks for vr (#765) * performance(VR): performance tweaks for vr * style: 🎨 apply clang-format changes * performance: ExtendShadows only affects dir light * fix: terrain shadows * fix: non pbr terrain * fix: remove extended shadows on terrain, too complex --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: ini settings saving to a random ini file (#767) * fix: fix ini settings saving to a random ini file * chore: add ini pref and relocate ini * fix: save settings fix: disable some effect shaders (#766) fix: inconsistent raindrop visibility (#769) feat: ssr improvements (#768) * feat: ssr improvements * chore: increase distance further * chore: more improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: add missing space fix: screenspace shadows on decals (#771) * fix: screenspace shadows on decals * style: 🎨 apply clang-format changes * fix: other decals * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve settings, remove PBR settings (#770) * chore: change settings files location * chore: better settings * style: 🎨 apply clang-format changes * refactor: same spacing as pre-PR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: reduce water shadow blur fix: tonemapping saturation (#772) fix: screenspace shadow weights (#773) * fix: screenspace shadow weights * fix: missing vr * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: water depth samples, sun specular (#774) * fix: water depth samples, sun specular * chore: sun fresnel * fix: bad math fix: grass compile error fix: do not modify reinhard saturation (#775) feat: no water ssr fade (#776) fix: filmic tonemapping hues (#777) * fix: filmic tonemapping hues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: better hue preservation (#778) * fix: filmic tonemapping hues * chore: less aggressive * style: 🎨 apply clang-format changes * feat: HuePreservingReinhard --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: ssr tweaks (#779) * chore: ssr tweaks * fix: actually bias feat: new SSR shader and water application chore: remove MaxIterations, SSR formatting (#780) * chore: ssr fixer upper * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: less aggressive ssr edge (#781) * chore: less aggressive ssr edge * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: particle lighting in menus (#783) * fix: particle lighting in menus * style: 🎨 apply clang-format changes * chore: remove redundant code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: more ssr tweaks (#784) fix: force create communityshaders directory (#782) * fix: always force create directories to avoid issues * chore: catch filesystem errors * chore: better messages * chore: even better messages perf: ssr optimisation (#785) * perf: ssr optimisation * style: 🎨 apply clang-format changes * chore: more tweaks * style: 🎨 apply clang-format changes * chore: even more optimisation * style: 🎨 apply clang-format changes * refactor: rename dims to coords * style: 🎨 apply clang-format changes * chore: even better * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: even more ssr tweaks (#788) refactor: ssr cleanup (#786) * refactor: ssr cleanup * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: pb shadow improvements (#789) * chore: pb shadow improvements * chore: more cleanup fix: dynamic cubemap fixes (#790) * fix: dynamic cubemap fixes * chore: improve cubemap inferrence * fix: skylighting reflecting sky * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pb shadow blur fix: dynamic res with SSR chore: use CameraDataWater instead of CameraData chore: better skyrim upscaler compat (#794) fix: incorrect water reflections (#792) * fix: incorrect water reflections * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor dynamic cubemap issues (#791) * fix: minor dynamic cubemap issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): grass distance fade (#793) chore: cleanup VL settings (#795) chore: add VL IsCore (#796) refactor: DICE to DisplayMapping (#798) * refactor: DICE to DisplayMapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: IsOutsideFrame capitalisation (#797) chore: rename screenspace shadows to match SSGI (#799) fix(VR): mismatched puddles (#801) fix: caustics and shadow fixes (#800) * fix: caustics and shadow fixes * style: 🎨 apply clang-format changes * chore: more fixing --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: rename Water Lighting (#803) * refactor: rename Water Lighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove broken Git text from Lighting.hlsl (#805) chore: remove DICETonemapper.hlsli fix: hue preservation NaN (#806) * fix: hue preservation NaN * fix: better fix chore: complex mat roughness tweaked (#807) refactor: shader bindings (#808) * refactor: shader bindings * chore: compact refactor: move FrameBuffer buffer to namespace (#809) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> chore: grass normal tweaks (#810) refactor: fully use namespaces (#811) * refactor: fully use namespaces * style: 🎨 apply clang-format changes * refactor: feature namespaces * style: 🎨 apply clang-format changes * refactor: rename copiedData to ShadowData * refactor: remove Shared suffix * style: 🎨 apply clang-format changes * refactor: terrain shadows * refactor: more features * style: 🎨 apply clang-format changes * fix: add missing fadeout factor * fix: skylighting * refactor: dynamic cubemap namespace * fix: SSGI compile --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: FlayaN <hannes.feldt@gmail.com> chore: random cleanup and fixes fix: reduce inference ramp up chore: reduce default billboard radius chore: remove parallax boost fix: subsurface scattering namespaces fix: compilation window alpha (#815) fix: blended decals with zbufferwrite (#812) * fix: blended decals with zbufferwrite * style: 🎨 apply clang-format changes * chore: tweak comments * chore: comment tweaks * chore: add AE addresses * style: 🎨 apply clang-format changes * fix(VR): fix vr offsets (#814) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: water caustics on water edge (#816) chore: tweaked contact shadows (#817) fix: imgui Display error chore: tweaked menu transparency fix: ssr lines (#818) fix: dont save vl settings to ini on flatrim (#819) refactor: adjust brackets for VL (#820) * refactor: adjust brackets in VL * refactor: more * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: use constant buffer for strictlightdata (#821) * feat: use constant buffer for strictlightdata * fix: clusters clipping on first person model * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove displaymapping (#822) * chore: remove displaymapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: move CopyShadowData (#823) fix: fix shader compile for llf debug (#825) feat: group not loaded features in UI (#824) fix: fix terrain shadow texture slot and add dlc heightmaps (#827) * fix: fix terrain shadow texture slot * chore: pack terrain heightmaps separately and add dlc heightmaps fix: fix skylighting cb padding (#828) build: remove frame generation from core (#829) fix: finish LLF refactor (#830) * fix: finish LLF refactor * chore: update fix: llf strict light array padding (#831) chore: update version to 1.0.1 fix: gog detection (#832) docs: fix terrain shadows spelling error (#833) fix: fix terrain shadow ctd (#834) * fix: fix terrain shadow ctd * refactor: to be more specific chore: bump version to 1.0.2 feat: refactor ssgi to use spherical harmonics (#837) * chore: remove ao blur * chore: random changes * feat: add SH IL * feat: add back blur * feat: add back half res * fix: ao temporal denoise fix: skylighting alpha testing (#836) * fix: skylighting alpha testing * style: 🎨 apply clang-format changes * chore: removed skylighting foliage hacks --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix clearing the wrong ssao buffer (#839) fix: fix terrain shadows ctd when texture name has less than 10 fields (#841) fix: fix ssgi vr consistency and foliage glowing (#838) * feat: add back ssgi vr eye blending * fix: misnomer * fix: float4 conversion * chore: remove redundant define * fix: fix incorrect ambient reprojection, reduce foliage glow * fix: less strict movement occlusion for vr * fix: foliage flipped normal * chore: slightly reduce specular gi chromaticity * fix: correct foliage fix chore: bump ssgi ver to 3.0, disable vanilla ao (#840) chore: bump version to 1.0.3 chore: bump version to 1.1.0 fix: change default settings to prevent ssgi feedback loop (#844) feat: add saturation slider for ssgi il, remove backface mult (#845) * feat: saturation slider for ssgi il * chore: bump ssgi ver * chore: more drastic IL bounce value chore: bump version to 1.1.1 feat: add quarter res, default settings for minimal noise (#848) * feat: add quarter res, default settings for minimal noise * fix: add recompile flag to reset default fix: clean up ssgi blur and upsample, change presets (#849) chore: hide ssgi slice & step, blur with minimum weight (#852) fix: detect lack of d3d11.1 support, TAA sharpening (#850) * fix: detect lack of d3d11.1 support * style: 🎨 apply clang-format changes * feat: sharpening for TAA * style: 🎨 apply clang-format changes * fix(VR): fix vr offset and bump address lib dependency (#851) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> chore: bump version to 1.1.2 chore: bump ssgi version to 3.0.2 chore: reduce grass sss setting fix: vr upscaling hooks (#853) chore: bump version to 1.1.3 fix: fix ssgi ambient bounce ignoring AO (#855) feat: support directly using xlodgen output in terrain shadows (#854) chore: change default frame generation mode feat: add simple specular AO and restore high accuracy specular GI (#860) * feat: add simple specular ao * feat: add back high accuracy specular gi chore: dlss tweaked menu, performance (#857) * chore: dlss tweaked menu, performance * build: move CopyDepthToSharedBufferCS.hlsl feat: add back display mapping for filmic (#864) chore: bump version to 1.1.4, ssgi to 3.0.3 (#867) fix: fix terrain shadow ctd when directory does not exist (#869) chore: bump version to 1.1.5 (#870) fix: set recompileFlag when loading ssgi settings (#872) fix: revert sampler to clamp to fix screen artifacts (#871) fix: taa sharpening fix: distant water reflections (#885) fix: skipping refract calculation for pbr landscape (#887) * Fixed fraction calculating for pbr landscape * Skip refract calculation for pbr landscape fix: detect bad dynamic cubemaps (#886) * fix: detect bad dynamic cubemaps * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hq refined dithered parallax (#877) * feat: hq refined dithered parallax * style: 🎨 apply clang-format changes * fix: pbr --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: version bumps fix: cloud shadows issues (#893) * fix: cloud shadows issues * style: 🎨 apply clang-format changes * chore: us…
tssge
pushed a commit
to tssge/skyrim-community-shaders
that referenced
this pull request
Sep 6, 2025
chore: ui changes feat: add icons font feat: more fleshed out feature interface feat: features reordering and removal chore: square button and hint text feat: preprocess hooks feat: port COD bloom chore: remove test feature feat: lut baker ui placeholder feat: port auto exposure chore: def settings feat: port tonemapper chore: default settings and bypass vanilla tonemap chore: default set of effects feat: more tonemapping operators fix: post load Load Settings crash fix feat: added Aldridge filmic feat: Lottes & Day & Uchimura curves refactor: rename math tonemapper to colour transforms, flexible funcs fix: minor fixes style: 🎨 apply clang-format changes feat: bogey items as separators in ColourTransforms feat: add ASC_CDL feat: add clamp, exposure/contrast, asc cdl, saturation feat: shift slider feat: log space conversion, halfres histogram, 64bit support feat: add gamma, and rgb gamut conversion feat: LiftGammaGain, SaturationHue, DCI-P3 fix: fixes fix: shader nullptr issue feat: exposure option for agx fix: potential id conflict, wrong number fix: exposure typo feat: add vignette feat: add bypass, buttons to list chore: change default settings chore: ui chore: default the whole thing instead of each fx fix: alt+tab input sticking (#403) chore: disable temporal denoiser on diffuse AO (#404) it doesn't need it and only introduces ghosting chore: ui refactor: commonise fix: Fix zero weight on pbr landscape without displacement (#408) * Fix zero weight on pbr landscape without displacement * style: 🎨 apply clang-format changes --------- Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix: specular gi affecting diffuse gi, revert disable temporal denoiser on diffuse AO (#407) * fix: disabling AO temporal filter breaks half-rate * fix: specular gi affecting diffuse gi * Revert "fix: disabling AO temporal filter breaks half-rate" This reverts commit 47d89016d452bcc409dfd7badc3ea5f00c6c54b1. * Revert "chore: disable temporal denoiser on diffuse AO (#404)" This reverts commit 2fadbeea752eb21aaa6a6c7b3422a41231c52b79. fix: fixes for ISRefraction and ISSAOBlur. (#406) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: missing `InterleavedGradientNoise` change (#405) fix: switched to using in-game imagespace shader defines. (#409) * fix: switched to using in-game imagespace shader defines. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: black reflections + InWorld flag (#399) * fix: black reflections + InWorld flag * style: 🎨 apply clang-format changes * refactor: InWorld comment * fix: shader logic * style: 🎨 apply clang-format changes * fix: world map and 3d menu objects features * style: 🎨 apply clang-format changes * refactor: cleaner conditional shadow sampling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: gi attenuation, remove back face option (#410) feat: add melon tonemapper feat: add kajiya tonemapepr, oklch saturation fix: default settings feat: add colour mixing, bypass serialisation chore: better colour mixer ui, remove logspace transofrms chore: def settings feat: LUT feat: tracy profiler integration (#365) * feat: add tracy profiler * chore: update VR offset * chore: force tracy 0.11.0 * chore: add TRACY_ENABLE as cmake option, remove redundant include * build: add TRACY_SUPPORT cmake option and fix vcpkg baseline * chore: update to dev * Update CMakePresets.json * build: add `ALL-TRACY` preset Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> * Update CMakePresets.json Co-Authored-By: Flayan <964655+flayan@users.noreply.github.com> --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: Flayan <964655+flayan@users.noreply.github.com> fix: more specular gi attenuation fix (#412) feat: Interior bool in shared constant buffer fix: PBR directional light specular fix and llf compile fixes (#415) * feat: lighting fixes * chore: comment added to Interior boolean * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: unlocked HDR range of game buffers (#416) fix: added padding for pbr settings struct (#414) * fix: added padding for pbr settings struct * chore: unify padding naming --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> fix: ssgi: limit min roughness, remove luminance weight (#417) fix: offset fix: ssgi use perceptual roughness instead of linear (#418) fix: remove all linear/srgb conversion, save for pbr albedo (#420) fix: remove tpbr albedo lin2srgb (#421) fix: pbr parallax and terrain parallax intensity (#423) feat: glint for PBR (#413) * fix: switched to using in-game imagespace shader defines. * feat: support for glint parameters in pbr meshes and texture sets. * style: 🎨 apply clang-format changes * fix: trying to fix * style: 🎨 apply clang-format changes * fix: use local H * fix: fixed shader compilation with glint. Reworked pbr parameters serialization. Hidden glint under define. * style: 🎨 apply clang-format changes * fix: trying to fix glints * fix: fixed blowing up specular when blending pbr and non-pbr landscape. * fix: prevent glazing angle flashes, correct tbnTr * fix: blending, more suppression on edgy glints, optimisation * chore: remove redundant context check --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> Co-authored-by: Pentalimbed <pentalimbed@gmail.com> Co-authored-by: Pentalimbed <Pentalimbed@users.noreply.github.com> chore: updated feature settings for correct color space (#424) Revert "chore: updated feature settings for correct color space" (#425) This reverts commit 16bf0b60b6c999147aa5590fc81748de8288cfa2. Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. chore: 1.5 for everything chore: def settings revert: revert linearisation attempts (#426) * Revert "fix: remove tpbr albedo lin2srgb (#421)" This reverts commit 605b68bb3f1564b35489b464165ef2e11195d29e. * Revert "fix: remove all linear/srgb conversion, save for pbr albedo (#420)" This reverts commit 0eb554bf44daa6c501c346089df7865131b9e022. fix: fixes for effect shader; effect shader enabled fully. (#427) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: llf cleanup and optimisations, plus shadow improvements (#419) * feat: llf cleanup and optimisations * style: 🎨 apply clang-format changes * fix: added missing water shader changes * fix: grass compile error * feat: more shadow optimisations * feat: shadows on transparent lighting shaders * fix: shadows too sharp * style: 🎨 apply clang-format changes * fix: too aggressive shadow bias adjustment * performance: store contact shadow steps function * chore: removed contact shadows from grass * style: 🎨 apply clang-format changes * revert: back to vanilla shadow blurriness * feat: improved shadow sampling * style: 🎨 apply clang-format changes * feat: blurred contact shadows * style: 🎨 apply clang-format changes * fix: clamp shadow sampling uvs, stochastic sampling * style: 🎨 apply clang-format changes * performance: shared 3D noise outside of contact shadows * style: 🎨 apply clang-format changes * chore: cleanup water vl sampling code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: pbr diffuse lighting in srgb. (#429) * feat: PBR diffuse calculated in sRGB. * style: 🎨 apply clang-format changes * feat: slider for base color gamma. * feat: transform for other PBR diffuse colors. * style: 🎨 apply clang-format changes * fix: fix for pbr-non-pbr land blending. * fix: default base color gamma set to 1.9. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: effect lighting (#430) * feat: effect lighting * style: 🎨 apply clang-format changes * performance: scale shadow sample count with distance * chore: removed skylighting include from Effect * fix: light limit fix include in Effect * chore: removed unneeded undef from Effect --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "fix: alt+tab input sticking" (#434) This reverts commit 6277a6c41cd3e1779e86fd900e8349189d765305. fix: black terrain (#435) fix: glowing objects with wetness feature fix: probable fix for skylighting interior crashes (#432) * fix: probable fix for skylighting interior crashes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: add namespaces for features (#431) * fix: fix shader warnings * refactor: add namespace for WetnessEffects * refactor: add namespace for TerrainOcclusion * refactor: add namespace for TerrainBlending * refactor: add namespace for ScreenSpaceShadows * refactor: add namespace for LightLimitFix * refactor: add namespace for GrassCollision * refactor: add namespace for ExtendedMaterials * refactor: add namespace for DynamicCubemaps * refactor: add namespace for CloudShadows chore: set default pbr gamma to 2.2 (#436) chore: slightly improved directional shadow bias fix: too aggressive dir shadow bias fix: glowmap brightness (#439) * fix: glowmap brightness * fix: effect shadows not working fix: missing LLF lights fix: disable effect shadows on world map (#442) * fix: disable effect shadows on world map * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: complete skylighting during loadscreen (#433) * feat: complete skylighting during loadscreen * style: 🎨 apply clang-format changes * fix: forceFrames subtraction * chore: removed doPrecip since unused * style: 🎨 apply clang-format changes * fix: fadein set to 64 * fix: force skylighting frames correct values * style: 🎨 apply clang-format changes * fix: reduce skylighting max zenith to fix inconsistency * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: volumetric lighting RE. (#437) * feat: compute shaders support for shader cache. ISVolumetricLightingRaymarchCS added. * style: 🎨 apply clang-format changes * feat: added ISApplyVolumetricLighting and ISVolumetricLightingGenerateCS shaders. * style: 🎨 apply clang-format changes * chore: updated clib. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: grass shadows in interiors (#443) fix: add skylighting shadow bias (#444) perf: removed snow mask, do all diffuse specular addition in linear (#445) * chore: removed snow mask, do all diffuse specular addition in linear * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Revert "perf: removed snow mask, do all diffuse specular addition in linear" (#447) This reverts commit 9b45c228d678f0d479afcae2ff54cb3e0d149b01. fix: SSR on LOD water bugs fix: black screen fix: skylighting skin artifacts + unroll (#449) * fix: skylighting skin artifacts + unroll * style: 🎨 apply clang-format changes * perf: tangentWeight math --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hdr tonemapping (#438) * feat: hdr tonemapping * style: 🎨 apply clang-format changes * feat: brightness slider controls tonemapping * chore: remove unused bloom conversion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: PBR asset matching (#448) * fix: PBR linear lighting, intensity * style: 🎨 apply clang-format changes * fix: AmbientComposite in linear for PBR * fix: PBR lod blending * fix: horizon occlusion --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fixes for pbr land seams. (#450) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> perf: blur ss shadows in parallel (#451) * perf: blur ss shadows in parallel * chore: added GetScreenDepths * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: screenspace shadows blur direction feat: ISReflectionsRayTracing shader added. (#452) * feat: ISReflectionsRayTracing shader added. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: water parallax and improved performance (#455) fix: ISReflectionsRayTracing error fix: fixed constant indices in VR. (#453) * fix: fixed constant indices in VR. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: small ISVolumetricLightingGenerateCS fix. (#454) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: VR support for ISHDR and ISSAOComposite. (#458) * feat: VR support for ISHDR and ISSAOComposite. * style: 🎨 apply clang-format changes * fix: fix for ISApplyReflections. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix(VR): fix ctd when enabling imageshaders (#457) fix: water LOD shadows fix: ISHDR on flat (#459) * fix: ISHDR on flat * fix(VR): ISHDR fix: black screen fix: fixed black face in race menu. (#460) * fix: fixed black face in race menu. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> feat: in-game editor for pbr land texture parameters. (#462) * feat: in-game editor for pbr land texture parameters. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: potential black screen fix (#465) * fix: potential black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: kill management thread on stop (#464) closes #296 feat(VR): add ImageSpace shaders (#463) fix: black reflections (#466) feat: linear water composite (#467) * feat: linear water composite * fix: underwater looking incorrect feat: improved contrast function (#471) * feat: improved contrast function * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix flickering of non-PBR assets (#472) Fix flickering of nonPBR assets when PBR assets are used. feat: expose skylighting dynamic cubemap to forward shaders fix(VR): fix ghosting for water (#477) perf: reduce default compilerThreads (#475) Set the default to be the max of (maxCores - 4), (maxCores * 3/4), or 1 feat: water optimisation, skylighting, fixes (#474) * feat: water optimisation, skylighting, fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: Lin2sRGB changed to LinearToGamma etc. (#478) * refactor: Lin2sRGB changed to LinearToGamma etc. * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: HDR tonemapping errors (#479) * fix: HDR tonemapping errors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr landscape scale and height blending (#461) * fix pbr land scale and blending * style: 🎨 apply clang-format changes * Only scale steps by land parallax scale to avoid artifacts * style: 🎨 apply clang-format changes * better naming and fixes for displacement adjust * style: 🎨 apply clang-format changes * Removed unneeded check, added missing check * Added a space --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> fix(VR): fix issues due to wrong variable name (#482) feat: removed separate SSS buffer (#483) revert: "fix: potential black screen fix" (#484) This reverts commit 27a2db2bb82d19cbceb424bd032660ad059f6d30. fix: adaptation black screen fix (#485) * fix: adaptation black screen fix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: use dynamic resolution helper (#487) fix(VR): fix utility shader shadows with upscaler (#486) closes #446 chore: enable imagespace and utility by default feat: pbr replacement for default land texture. (#489) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> feat: material object editor and more. (#490) * feat: in-game material objects editor; glint support for material objects; mesh texture set updating during editing; subsurface and coat parameters in texture set editor. * chore: removed no longer used pbr lighting settings. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: texture set and material object configs not applying in some cases. (#492) * fix: fixes for texture set and material object configs not applying in some cases. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: less hue preservation in tonemapping (#493) feat: do tonemapping in gamma space (#494) fix: too noisy shadows (#495) fix: fixed crash on meshes with kVertexLighting flag enabled. (#496) * fix: fixed crash on meshes with kVertexLighting flag enabled. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixes for subsurface and projected material in pbr (#499) * fix: brought back PIs to subsurface and coat diffuse. * fix: proper support form projected material on top of subsurface, coat or fuzz. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fixed pbr decals texture set parameters application. (#500) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix(VR): fix missing snow hook (#501) fix: Specify magic-enum port version in vcpkg.json (#503) Remove duplicate magic-enum entry under dependencies (#505) feat: Height blending toggle, parallax shadows edits (#491) * height blend toggle, extended parallax shadows * Change define to static const, disable extended shadows on vanilla landscape * style: 🎨 apply clang-format changes --------- Co-authored-by: Exist <Exist@Yes> Co-authored-by: ThePagi <ThePagi@users.noreply.github.com> chore: adjusted tonemapping curve fix: match vanilla shadows (#514) fix: enable all effect shaders (#515) refactor: llf use the game invprofmatrix (#508) * chore: llf use the game invprofmatrix * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: rebuild shaders when editing shader defines (#512) Improves the behavior when modifying the Advanced -> Shader Defines. Shaders will be rebuilt on any change in the field when focus is lost or if enter is pressed. feat: linear space ssao (#518) * feat: linear space ssao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: shadow cascade sampling (#520) * fix: shadow cascade sampling * fix: tree LOD ambient brightness * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove 1.5 gamma refactor: rename terrain occlusion to terrain shadows refactor: rename terrain occlusion folder style: 🎨 apply clang-format changes refactor: rename other terrainocclusion folder refactor: rename terrainocclusion.hlsli refactor: finish renaming TerrainOcclusion to TerrainShadows style: 🎨 apply clang-format changes fix: fix skylighting fade and darkness (#517) * refactor: rename updateProbes * fix: skylighting fade and darkeness fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: directional skylighting chore: blur ss shadows in proj space (#522) chore: minor visual tweaks fix: screenspace shadow blur in distance (#523) docs: provide gpl exception for hardware sdks (#513) fix: fix missing directory ctd with DynamicCubeMap Creator (#511) * DynamicCubeMap Creator crash fix When a destination folder for the DynamicCubeMap Creator export does not exist then CS should not crash. Now: Create Folder if destination folder does not exist. Unable to create missing folder: log error File Object with same name exists: skips * style: 🎨 apply clang-format changes * Update DynamicCubemaps.cpp Moved Texture creation and SaveToDDSFile inside try/catch block. This removed one boolean variable that had been used . No attempt is made to save a file if that filename exists (even an incorrect file object). As there are multiple types of exceptions including OS filesystem errors the catch was left as std::exception instead of multiple catch types and specific log messages. build: introduces a windows based build container (#524) * ci: adds docker file for a build container * ci: adds separate container build script * docs: adds docker section to readme * docs: separates docker steps for slightly easier understanding * docs: adds vcvarsall.bat instructions to setup amd64 env without opening VS * fix: adds missing word for docker context and fixes path in ps1 * fix: replaces docker context switch with correct command feat: DLSSG frame generation (#504) * feat: added streamline * feat: streamline partial cmakelist * feat: streamline swapchain * style: 🎨 apply clang-format changes * feat: init streamline * fix: typo * feat: more streamline setup * style: 🎨 apply clang-format changes * feat: frame generation working but still broken * style: 🎨 apply clang-format changes * feat: functional DLSSG * style: 🎨 apply clang-format changes * chore: disable reflex sleep since not needed * chore: streamline cleanup and fixes * style: 🎨 apply clang-format changes * feat: include streamline dll files with licence * chore: cleanup streamline files, auto dlssg * style: 🎨 apply clang-format changes * fix: try to prevent memory leak * fix: remove accidentally included files * fix: detect DLSSG compatibility * style: 🎨 apply clang-format changes * fix: motion vectors when the game is paused * feat: RCAS sharpening * fix: incorrect hooking behaviour * style: 🎨 apply clang-format changes * fix: detect if the DLSSG feature is loaded before querying it further * fix: typo * style: 🎨 apply clang-format changes * fix: RCAS color space and intensity * feat: DLSS menu following guidelines * style: 🎨 apply clang-format changes * feat: FSR 2.2.1 * style: 🎨 apply clang-format changes * feat: remove FSR, separate frame generation to a feature, upscaler compat * chore: remove unused submodules * fix: do not apply d3d hooks to VR * fix: only show streamline menu on flatrim * fix: missing streamline shader * refactor: move streamline includes to forked submodule (#507) * fix: vr menu hook * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: menu compile error revert: "feat: linear space ssao" (#525) This reverts commit 8c8c2d11647e89cc61c81ab7f83781ccc86325ef. fix: fix skylighting CB alignment (#531) feat: allow features to pass define options (#528) refactor: move WStringToString to util (#532) docs: lower unknown hlsl variables to debug (#529) fix: add missing right parens (#539) refactor: explain GetVRVSOutput better (#527) feat: decouple AO/GI radius and remove unused HBAO code (#538) * refactor: remove unused hbao code * feat: decouple AO and GI thickness fix: fixed permutation buffer not resetting between frames. (#540) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: fix effect shader for ADDBLEND && VC && !TEXTURE (#544) * fix: fixed wrong look for effect shader with ADDBLEND && VC && !TEXTURE. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> fix: fix broken vr lights due to buffer alignment (#541) Fixes issue introduced by c64421048a664ffdcc33d7b3666e8ef36ef6c440 perf: pbr glint optimization (#537) * perf: smaller glint noise tex size * perf: cache glint precomputation feat: add hlsl-specific clear (#543) * feat: add hlsl-specific clear Allow clearing of all shaders linked to a specific hlsl file. This is useful for DEFINE option passing for features. * fix: fix locking scope to avoid deadlocks * fix: fix clearing shader with prior diskcache Fixes a bug where a prior saved diskcache shaders could not be cleared by filename. fix: fix undeclared TexProjNormalSampler (#547) TexProjNormalSampler is not defined if MULTI_LAYER_PARALLAX is enabled. docs: make descriptors print as hex (#546) refactor: remove redundant ifdef (#545) fix: recreate config if json parsing error (#548) closes #536 build: fix build if using defined vckpg commit (#549) chore: remove unused variable rate shading files fix: fix padding for StructuredLight (#552) fix: llf cluster errors fix: llf cluster errors missing InvProjMatrix fix: disable PBR hooks until it is fixed fix: always init clusterIndex fix: fixed llf-pbr interaction issue and re-enabled pbr. (#553) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: tree skylighting darkness (#554) feat: add gamesettings functions for features (#533) feat: tweakable pbr multiplier for better matching (#551) * feat: tweakable pbr premult for better matching * chore: premult comments refactor: change detours to use thunk syntax (#559) fix: fix vr ssgi reprojection (#557) feat(VR): enable SSR (#502) fix: llf lights fade (#560) fix: deferred multi layer parallax (#561) revert: "fix: llf lights fade" (#562) This reverts commit e43aee5f71094b6d82b743f14def0abaad0fd35b. fix: light limit fix lights missing chore: remove accumulator from LLF prepass, use constants (#563) feat: add min screen radius setting for ssgi (#564) feat: add non-time InterleavedGradientNoise (#568) feat: support INIPrefSetting and gameSetting (#566) Adds support for INIPrefSettingCollection and gameSettingCollection. Previously, only INISettingCollection was supported. refactor: reorganize defines in VR.hlsli (#567) fix: fix performance drop due to divide by 0 (#571) fix: camera data fixes (#572) * fix: camera data fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: llf fixed alignment issues (#573) * fix: llf fixed alignment issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: DLAA (#556) * feat: add dlss support WIP (#555) * feat: optional ConvertToDynamic for GetScreenDispatchCount * feat: DLAA * fix: increased sampling to fix noise with DLAA * style: 🎨 apply clang-format changes * chore: better DLAA settings * style: 🎨 apply clang-format changes * chore: removed unused motion vector hook * fix: reenable RegisterClassA_Hook * chore: removed unneeded ImagespaceTempCopy hooks * fix: AE DLAA hooks * feat: enable VR * fix: add additional checks to avoid ctds * style: 🎨 apply clang-format changes * fix: fix improper grouping on if * style: 🎨 apply clang-format changes * refactor: corrected dlss/dllsg settings * style: 🎨 apply clang-format changes * feat: earlier CS init * style: 🎨 apply clang-format changes * refactor: XSEPlugin spacing * feat: optional Streamline loading * style: 🎨 apply clang-format changes * fix: VR loading dlssg * feat: streamline settings save/load * style: 🎨 apply clang-format changes * chore: remove unneeded separator * feat: optional Streamline hooking * chore: improved Streamline menu * style: 🎨 apply clang-format changes * chore: always reset motion vectors for DLAA * chore: remove duplicate RCAS and Streamline folders * fix: streamline init issues * style: 🎨 apply clang-format changes * fix: more streamline init fixes * style: 🎨 apply clang-format changes * fix: VR DLAA * fix: disable Streamline in VR * style: 🎨 apply clang-format changes --------- Co-authored-by: Flayan <hannes.feldt@gmail.com> Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Alan Tse <alandtse@gmail.com> Co-authored-by: alandtse <alandtse@users.noreply.github.com> feat: improve vanilla VL (#569) * Add multipleScattering * Modify temporalContribution to account for motion vectors * Use InterleavedGradientNoise for noise generation * Add forward and backphase calculations for phase scattering * Add adaptive step size and transmittance for ray marching * Add comments and helper functions where appropriate revert: "feat: improve vanilla VL" (#574) This reverts commit b14d1445b7ebf919e3d43db89894f2201ac182ea. fix: compile and imagespace errors (#575) * fix: compile errors * style: 🎨 apply clang-format changes * fix: revert Streamline changes for init --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> build: added FSR SDK feat: shared upscaling options and fixes style: 🎨 apply clang-format changes chore: use default dlss preset chore: reduced effect shader sunlight chore: clearer upscale options fix: fix shader-specific clear (#578) Failure to clear shaderMap resulted in a cached copy being detected but not actually available in the relevant shader array. This would result in vanilla shaders being used instead. chore: menu label changes build: move fsr cmake and remove warnings (#579) feat: native FSR 3 sharpening (#580) docs: add descriptor to shader completion debug (#586) docs: add filename for shader events (#582) fix: use proper output for DEPTHBUFFER_COPY (#585) fix: dyndolod 3d trees shading (#588) * fix: dyndolod 3d trees shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: utility shader changes (#589) chore: revert skylighting foliage tweak refactor: extremely minor cleanup fix: HLT trees color feat: add Util::IsDynamicResolution (#590) fix(VR): fix incorrect shader warning (#591) feat: remove portal-strict light limit (#506) * feat: portal-strict light limit removal. * style: 🎨 apply clang-format changes * feat: shadow lights processed via llf. * style: 🎨 apply clang-format changes * fix: fixes for spotlights. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: remove unnecessary `#pragma warning` (#596) refactor: replace `Microsoft::WRL::ComPtr` with `winrt::com_ptr` (#595) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> refactor: `std::span` for safer shader defines (#594) * refactor: `std::span` for safer shader defines throws exception if we run out of macro slots * fix: add missing nullptr defines to lighting feat(VR): enable upscaling (#592) feat: sync upscaler settings with skyrim setting (#593) * feat(VR): enable upscaling * feat: sync upscaler settings with skyrim setting fix: fix broken vanilla taa (#598) fix: fix compile error (#597) feat: improve llf visualization (#604) * fix: fix LLFDEBUG compilation error * feat: recompile on llf visualization toggle * style: 🎨 apply clang-format changes * chore: fix spacing * feat: add shadowmask visualization fix(VR): fix llf eye desync (#605) fix(VR): fix ghosting in fsr (#602) fix(VR): fix ctd when upscaler present (#603) * fix(VR): fix ghosting in fsr * fix(VR): fix ctd when upscaler present When Upscaler is present, FSR, DLSS are no longer available. This will also properly disabled those options in the menu. revert: "fix(VR): fix llf eye desync" (#607) chore(UI): move all top options to the sidebar (#608) * chore: (UI) move all top options to the sidebar * chore: add missing spaces fix: skylighting hooks when disabled (#609) * fix: skylighting hooks when disabled * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore(UI): changes to fit the new layout (#610) * refactor: tidier way of adding new sidebar menu as a side effect, also fixes reset default mismatch * chore: remove singular collapse headers * chore: change hint text for new layout * refactor: i ❤ modern cpp feat(UI): create new theme (#611) fix(UI): fix font spacing (#612) fix: fixes wetness persisting across saves (#614) refactor(HLSL): create Color namespace refactor(HLSL): create VR namespace refactor(HLSL): create FrameBuffer namespace refactor(HLSL): create DeferredShared namespace refactor(HLSL): create SharedData namespace refactor(HLSL): create Random namespace refactor(HLSL): create FastMath namespace refactor(HLSL): create GBuffer namespace fix(VR): fix llf desync in eyes (#616) closes #601 fix(VR): fix VR namespace define conflict (#617) refactor: move hooks out of State (#599) * refactor: move hooks out of State Hooks should be in XSEPlugin so they can all be found. A similar refactor should be done for SetupResources and other areas where State is being piggybacked. * refactor: move d3dhooks to query fix: bad ImGui::TreePop() feat(UI): more imgui design changes (#619) chore: imgui improvements (#618) * chore: imgui improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat(VR): enable volumetric lighting (#565) * feat(VR): enable volumetric lighting * fix: fix stereo access to VLTex VLTex is still mono and causes artifacts, but this is a correct step once it is stereo. https://github.com/doodlum/Skyrim-Community-Shaders/pull/565#issuecomment-2381750427 * fix: fix stereouv access * fix: fix WindInput * feat: add initial RE for ISFullScreenVR * fix: fix previous depth calculation in dynres The depth stencil from ISDepthBufferCopy is actually full size and not scaled with dynres enabled. * feat: add dynres status to state * fix: fix dynres for volumetric lighting * chore: fix typo * fix: require vr address library 0.154.0 * fix: fix crash of shizof mods at dataloaded * revert: "feat: add dynres status to state" This reverts commit c3658ad122e62a787ef1bdeda8a3d6b33414f025. * fix: use Util::IsDynamicResolution * fix: fix improper depth size when downsampled * fix: fix bad rendering with bDepthBufferCulling With bDepthBufferCulling enabled, culling is incorrect if diskcache is on until ShaderCache is cleared. This is a stopgap until root cause is identified. * fix(VR): fix VR desync closes #601 * revert: "fix(VR): fix VR desync" This reverts commit 958bc9a94ddfda0a24e1adbc3e2b554e6b1d137a. * style: 🎨 apply clang-format changes * style: fix doxygen spacing * refactor: use new namespaces * fix: fix VR namespace define conflict * chore: remove unused vr code * refactor: fix flat compile errors feat: upscaling update (#621) * build: updated FSR * refactor: mode to method * fix: fsr memory leak * feat: updated upscaling * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: reset upscaling chore: VR upscaling screen sizes (#623) * chore: VR upscaling screen sizes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: only use imgui io after init (#622) * fix: only use imgui io after init * refactor: getsingleton feat(UI): Add theme settings for menu (#625) chore: frame generation menu (#626) fix: fix crash when fsrContext not initialized (#628) chore: hide frame generation in VR (#629) fix: dynamic cubemaps slow updates (#632) * fix: dynamic cubemaps slow updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: upscaling fixes (#633) fix: foliage checkerboarding arguments chore: move Streamline to core chore: delete Dynamic Cubemaps - Metals folder chore: rename frame generation folder chore: remove terrain blending ini chore: put effect shader lighting changes behind defines (#635) * chore: put effect shader lighting changes behind defines * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> docs: add tooltips for upscaling (#630) * docs: add tooltips for upscaling * Update Upscaling.cpp * Update Upscaling.cpp --------- Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> feat(UI): add footer with diaginfo (#637) chore: display menus open by default fix: sky motion vectors (#638) * fix: sky motion vectors * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(UI): fix debug assert (#639) fix: fix errors loading and saving (#640) chore: serialize ImVec to array instead of object (#641) because: 1. it's less cloggy 2. it follows the same format as d3d vecs 3. serializations should be placed in Util fix: fix ShadowSampling warnings (#642) fix: fix Lighting.hlsl warnings (#643) * fix: fix Lighting.hlsl warnings * fix: fix missing truncation fix: fix imgui input buildup (#649) chore(UI): tighter footer (#650) - CS version moved to header - tighter footer height - no table bc you need very wide window to show all text -> they are bullet texts now chore(UI): set Keybindings header to default open (#647) refactor: use themes for remaining colors (#645) build: fix missing themeSettings (#653) refactor: use themes for remaining colors feat: add feature disabling at boot Allows any feature to be disabled at boot. Features must have their hooking within the feature and not elsewhere. Changing the setting will require a restart. fix: serialize RestartNeededColor fix: fix ctd on recompiling screenspacegi Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 fix: remove redundant themeSettings fix: fix ctd on recompiling screenspacegi (#652) Partially reverts changes from: https://github.com/doodlum/skyrim-community-shaders/pull/595 refactor: simpler ssgi recompile ctd fix (#656) fix: (roughly) correct specular ssgi multiplier (#661) feat: allow disabling of upscaling/framegeneration (#646) Disable special features. closes #606 fix: correct ssgi backface mult (#662) fix(VR): fix SSGI movement ghosting (#663) feat(UI): use full-fledged theme editor (#657) fix: bug for loading features due to missing keys (#654) refactor: break down `Util` into separate files (#660) refactor: fix shader warnings (#658) feat: add sky reflection fix (#665) fix: handle malformed defines pairs in Util::CompilerShader (#664) closes #300 revert: "fix: handle malformed defines pairs in Util::CompilerShader" (#668) refactor: remove unused argument of `GetTerrainShadow` (#671) docs: improve terrain height map instruction (#669) refactor: force include path to Shaders folder (#672) fix: handle malformed defines pairs in Util::CompilerShader closes #300 refactor: remove DeferredShared (#673) * refactor: force include path to Shaders folder no relative include is allowed any more * fix: prevent delete nullptr * fix: add missing sss include * refactor: remove DeferredShared replaced with SharedData fix: fix terrain shadows (#674) also fixed sign warnings feat: add core feature support (#675) chore: update to new include scheme chore: update shaders to new include scheme chore: update shaders to color namespace fix: disable HDR tonemapping due to performance issues feat: per-channel HDR tonemapping feat: automatic effect shader colours (#687) * feat: automatic effect shader colours * fix: remove testing code * style: 🎨 apply clang-format changes * style: 🎨 apply clang-format changes * fix: light vector --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: weather and shadow nif flags for effects. (#685) * feat: weather and shadow nif flags for effects. * style: 🎨 apply clang-format changes * chore: removed no longer needed flag. --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> refactor: rename Constants to Math with namespace (#689) fix(VR): fix ctd on start (#690) feat: consistent backlighting (#692) * feat: consistent backlighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: unify shadercache clearing (#691) fix: probably fixed broken shadow portal-strict lights. (#677) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> chore: less aggressive tonemapping chore: add volumetric lighting to core fix: complex materials not working (#694) * fix: complex materials not working * fix: dynamic cubemap mip levels chore: remove false-positive particle lights chore: llf tweaks (#696) * chore: remove not needed hooks * chore: match light count with group size in llf build: update version numbers (#695) chore: remove cluster culling while loop (#697) fix: disable llf modifying shaders chore: llf toggling and refactoring (#698) * refactor: casing of isNewFrame * chore: properly toggle llf hooks build: update clib with portal RE and perf relocation fixes (#700) perf: optimize particle lights (#702) * chore: particle light optimisation attempt * style: 🎨 apply clang-format changes * fix: water shadow lights * chore: remove BSLightingShaderProperty_GetRenderPasses * fix: llf info * style: 🎨 apply clang-format changes * feat: particle light gpu optimisations * style: 🎨 apply clang-format changes * refactor: corrected includes in xseplugin * chore: remove ParticleLightsOptimisationClusterRadius * style: 🎨 apply clang-format changes * fix: billboard light color * feat: cleaned up queued lights and optimised * style: 🎨 apply clang-format changes * chore: remove llf testing code * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: default constant buffers to dynamic (#703) refactor: shader flags (#704) * refactor: shader flags * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: incorrect shader information fix: disable unmodified imagespace shader replacement (#705) chore: increase lights per cluster (#706) fix: light clustering issues (#708) * fix: VR light clusters * style: 🎨 apply clang-format changes * fix: light cluster race condition --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: bump required vr addresslib version (#710) fix: remove redundant calculation in terrain shadow (#714) feat: add missing pbr permutations for pre-compilation (#713) * feat: added missing pbr permutations for pre-compilation. * chore: turned BASE_OBJECT_IS_SNOW into flag. * style: 🎨 apply clang-format changes * chore: merged DO_ALPHA_TEST and ADDITIONAL_ALPHA_MASK into single permutation. * style: 🎨 apply clang-format changes * chore: true exclusion of pbr vertex permutations. * style: 🎨 apply clang-format changes --------- Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> Co-authored-by: Jonahex <Jonahex@users.noreply.github.com> chore: remove VL feature from core until fixed fix: alpha testing (#715) * fix: alpha testing * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: grass updates (#716) * feat: grass updates * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pbr grass compile (#717) * fix: pbr grass compile * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor shader fixes (#718) fix(UI): change missing feature ini color (#719) feat(UI): add gpu memory usage to menu footer (#712) chore: use vanilla contrast (#720) chore: increase skylighting resolution and range (#722) refactor: fake enums for PBR (#721) * refactor: fake enums for PBR * style: 🎨 apply clang-format changes * refactor: pbr enums for extended materials * refactor: pbr file scope --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove shadow bias changes (#723) fix: remove effect shader testing logging (#724) fix: out of bounds shadow index chore: effect shader improvements (#725) * chore: effect shader improvements * style: 🎨 apply clang-format changes * fix: remove testing code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: further effect shader tweaks (#726) * chore: further effect shader tweaks * chore: remove experimental code chore: less intense ao (#727) * chore: less intense ao * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: character lighting flickering (#729) fix: force disable "improved" snow shader (#728) * fix: force disable "improved" snow shader * style: 🎨 apply clang-format changes * fix: do not access setting on VR * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix rungrass not compiling with skylighting (#730) fix: lighting fixes (#731) * fix: maybe flicker fix * style: 🎨 apply clang-format changes * fix: currentExtraDescriptor not updating correctly * fix: always update permutation buffer whenever it changes * style: 🎨 apply clang-format changes * fix: particle lights with no color array * fix: remove ExtendedFlags * style: 🎨 apply clang-format changes * fix: inactive shadow lights * Update LightLimitFix.cpp * fix: typo * chore: add comment * feat: po3 light placer support * fix: shadows on loading screens * fix: incorrect casting * fix: bad cast * fix: disable replacing BSImagespaceShaderReflectionsDebugSpecMask * chore: remove Effect_Shadows * chore: removed ID3D11DeviceContext_Unmap --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: water composite rewrite (#733) * feat: water composite rewrite * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: too bright water feat: unified tree lod shading (#734) * feat: unified tree lod shading * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve effect shader shading fix: water brightness (#738) fix: corrupt lightFlags (#736) * fix: corrupt lightFlags * chore: remove commented lines fix: particle light radius (#739) feat: add incompatibility check for PrivateProfileRedirector < 0.6.2 (#735) fix: rain with DLAA fix: particle mask fix: bias AA against rain (#740) * fix: bias AA against rain * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: remove added tonemapping, per-channel vanilla (#737) chore: bias FSR rain more fix: grass point lights (#741) * fix: grass point lights * style: 🎨 apply clang-format changes * fix: PBR grass shading --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): fix eye mismatch for screenspacegi (#666) * fix(VR): use world position for eye swap over Fix a bug where the function would convert in viewspace which would not be synced between the eyes. Now the conversion goes to world space before converting to the other eye. * fix(VR): fix ConvertMonoUVToOtherEye This requires hardcoding a shift based on a q3. This may not be the scalable solution. * fix(VR): fix eye mismatch for screenspacegi * fix: use ndc matrix instead of hardcoded value * refactor: simplify eyeoffset logic fix: whiterun water flows invisible (#742) * fix: whiterun water flow invisible * style: 🎨 apply clang-format changes * chore: better water flow blending * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: update DLSS tooltip feat: effect shadows improvements (#743) * feat: effect shadows improvements * style: 🎨 apply clang-format changes * fix: shadow sampling * fix: ambient color wrong on some weathers --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: increase default sss thickness fix: effect shader lights (#746) * fix: effect shader lights * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: fixed vanilla ssr (#745) * feat: fixed vanilla ssr * style: 🎨 apply clang-format changes * fix: vr * style: 🎨 apply clang-format changes * chore: remove deltaUvDepthDR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: po3 light placer support (#747) refactor: sss menu text fix: fixes for pbr land crashes in vr. (#751) Co-authored-by: Ilya Perapechka <i_perapechka@wargaming.net> fix: sky motion vectors (#752) * fix: sky smear fix attempt * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove unused llf flags (#749) fix: Effect soft fade fix(VR): grass compile when grass lighting is missing (#755) fix(VR): update clib with VR support for raindata (#757) fix(VR): water refraction (#756) * fix(VR): water refraction * chore: more refraction fix attempting * style: 🎨 apply clang-format changes * fix: depth from uv calculation i think * fix: actually fixed refraction * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor(HLSL): create namespaces for rest of hlsli (#761) feat: better rain fx (#744) * feat: better rain fx * fix: rain occlusion * style: 🎨 apply clang-format changes * fix: use rain density instead of alpha * chore: remove chaotic ripples * style: 🎨 apply clang-format changes * feat: rain fade in and out * feat: redone wetness and puddle cpu code * chore: tweak default wetness settings * style: 🎨 apply clang-format changes * chore: remove unused constants * chore: bias towards puddles * chore: chore further cleanup * chore: further bias puddles * fix: correct conversion * chore: more fixes * fix: bad bracket * chore: clamp raining amount * fix: wetness crash * fix: padding * fix: bad settings * chore: tweaked puddles buildup * fix: puddle wetness default * fix: vr raindrops * style: 🎨 apply clang-format changes * chore: fade out rain fx quicker * chore: update precipitationData access --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix deferred vs forward rendering (#760) * fix: deferred vs forward rendering fixes * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): vl ghosting (#762) * fix(VR): vl ghosting * chore: move VL back to core fix: water parallax on angled surfaces (#763) * fix: water parallax on angled surfaces * style: 🎨 apply clang-format changes * fix: add vr eyeindex * style: 🎨 apply clang-format changes * chore: revert and simplify fix --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: disable and limit settings fix: do not modify iVolumetricLightingQuality fix: sky blending fix(GOG): fix crash with upscaling (#764) perf(VR): performance tweaks for vr (#765) * performance(VR): performance tweaks for vr * style: 🎨 apply clang-format changes * performance: ExtendShadows only affects dir light * fix: terrain shadows * fix: non pbr terrain * fix: remove extended shadows on terrain, too complex --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: ini settings saving to a random ini file (#767) * fix: fix ini settings saving to a random ini file * chore: add ini pref and relocate ini * fix: save settings fix: disable some effect shaders (#766) fix: inconsistent raindrop visibility (#769) feat: ssr improvements (#768) * feat: ssr improvements * chore: increase distance further * chore: more improvements * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: add missing space fix: screenspace shadows on decals (#771) * fix: screenspace shadows on decals * style: 🎨 apply clang-format changes * fix: other decals * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: improve settings, remove PBR settings (#770) * chore: change settings files location * chore: better settings * style: 🎨 apply clang-format changes * refactor: same spacing as pre-PR --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> performance: reduce water shadow blur fix: tonemapping saturation (#772) fix: screenspace shadow weights (#773) * fix: screenspace shadow weights * fix: missing vr * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: water depth samples, sun specular (#774) * fix: water depth samples, sun specular * chore: sun fresnel * fix: bad math fix: grass compile error fix: do not modify reinhard saturation (#775) feat: no water ssr fade (#776) fix: filmic tonemapping hues (#777) * fix: filmic tonemapping hues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: better hue preservation (#778) * fix: filmic tonemapping hues * chore: less aggressive * style: 🎨 apply clang-format changes * feat: HuePreservingReinhard --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: ssr tweaks (#779) * chore: ssr tweaks * fix: actually bias feat: new SSR shader and water application chore: remove MaxIterations, SSR formatting (#780) * chore: ssr fixer upper * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: less aggressive ssr edge (#781) * chore: less aggressive ssr edge * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: particle lighting in menus (#783) * fix: particle lighting in menus * style: 🎨 apply clang-format changes * chore: remove redundant code --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: more ssr tweaks (#784) fix: force create communityshaders directory (#782) * fix: always force create directories to avoid issues * chore: catch filesystem errors * chore: better messages * chore: even better messages perf: ssr optimisation (#785) * perf: ssr optimisation * style: 🎨 apply clang-format changes * chore: more tweaks * style: 🎨 apply clang-format changes * chore: even more optimisation * style: 🎨 apply clang-format changes * refactor: rename dims to coords * style: 🎨 apply clang-format changes * chore: even better * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: even more ssr tweaks (#788) refactor: ssr cleanup (#786) * refactor: ssr cleanup * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: pb shadow improvements (#789) * chore: pb shadow improvements * chore: more cleanup fix: dynamic cubemap fixes (#790) * fix: dynamic cubemap fixes * chore: improve cubemap inferrence * fix: skylighting reflecting sky * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: pb shadow blur fix: dynamic res with SSR chore: use CameraDataWater instead of CameraData chore: better skyrim upscaler compat (#794) fix: incorrect water reflections (#792) * fix: incorrect water reflections * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: minor dynamic cubemap issues (#791) * fix: minor dynamic cubemap issues * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix(VR): grass distance fade (#793) chore: cleanup VL settings (#795) chore: add VL IsCore (#796) refactor: DICE to DisplayMapping (#798) * refactor: DICE to DisplayMapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: IsOutsideFrame capitalisation (#797) chore: rename screenspace shadows to match SSGI (#799) fix(VR): mismatched puddles (#801) fix: caustics and shadow fixes (#800) * fix: caustics and shadow fixes * style: 🎨 apply clang-format changes * chore: more fixing --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: rename Water Lighting (#803) * refactor: rename Water Lighting * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: remove broken Git text from Lighting.hlsl (#805) chore: remove DICETonemapper.hlsli fix: hue preservation NaN (#806) * fix: hue preservation NaN * fix: better fix chore: complex mat roughness tweaked (#807) refactor: shader bindings (#808) * refactor: shader bindings * chore: compact refactor: move FrameBuffer buffer to namespace (#809) Co-authored-by: doodlum <15017472+doodlum@users.noreply.github.com> chore: grass normal tweaks (#810) refactor: fully use namespaces (#811) * refactor: fully use namespaces * style: 🎨 apply clang-format changes * refactor: feature namespaces * style: 🎨 apply clang-format changes * refactor: rename copiedData to ShadowData * refactor: remove Shared suffix * style: 🎨 apply clang-format changes * refactor: terrain shadows * refactor: more features * style: 🎨 apply clang-format changes * fix: add missing fadeout factor * fix: skylighting * refactor: dynamic cubemap namespace * fix: SSGI compile --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: FlayaN <hannes.feldt@gmail.com> chore: random cleanup and fixes fix: reduce inference ramp up chore: reduce default billboard radius chore: remove parallax boost fix: subsurface scattering namespaces fix: compilation window alpha (#815) fix: blended decals with zbufferwrite (#812) * fix: blended decals with zbufferwrite * style: 🎨 apply clang-format changes * chore: tweak comments * chore: comment tweaks * chore: add AE addresses * style: 🎨 apply clang-format changes * fix(VR): fix vr offsets (#814) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> fix: water caustics on water edge (#816) chore: tweaked contact shadows (#817) fix: imgui Display error chore: tweaked menu transparency fix: ssr lines (#818) fix: dont save vl settings to ini on flatrim (#819) refactor: adjust brackets for VL (#820) * refactor: adjust brackets in VL * refactor: more * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: use constant buffer for strictlightdata (#821) * feat: use constant buffer for strictlightdata * fix: clusters clipping on first person model * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: remove displaymapping (#822) * chore: remove displaymapping * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> refactor: move CopyShadowData (#823) fix: fix shader compile for llf debug (#825) feat: group not loaded features in UI (#824) fix: fix terrain shadow texture slot and add dlc heightmaps (#827) * fix: fix terrain shadow texture slot * chore: pack terrain heightmaps separately and add dlc heightmaps fix: fix skylighting cb padding (#828) build: remove frame generation from core (#829) fix: finish LLF refactor (#830) * fix: finish LLF refactor * chore: update fix: llf strict light array padding (#831) chore: update version to 1.0.1 fix: gog detection (#832) docs: fix terrain shadows spelling error (#833) fix: fix terrain shadow ctd (#834) * fix: fix terrain shadow ctd * refactor: to be more specific chore: bump version to 1.0.2 feat: refactor ssgi to use spherical harmonics (#837) * chore: remove ao blur * chore: random changes * feat: add SH IL * feat: add back blur * feat: add back half res * fix: ao temporal denoise fix: skylighting alpha testing (#836) * fix: skylighting alpha testing * style: 🎨 apply clang-format changes * chore: removed skylighting foliage hacks --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> fix: fix clearing the wrong ssao buffer (#839) fix: fix terrain shadows ctd when texture name has less than 10 fields (#841) fix: fix ssgi vr consistency and foliage glowing (#838) * feat: add back ssgi vr eye blending * fix: misnomer * fix: float4 conversion * chore: remove redundant define * fix: fix incorrect ambient reprojection, reduce foliage glow * fix: less strict movement occlusion for vr * fix: foliage flipped normal * chore: slightly reduce specular gi chromaticity * fix: correct foliage fix chore: bump ssgi ver to 3.0, disable vanilla ao (#840) chore: bump version to 1.0.3 chore: bump version to 1.1.0 fix: change default settings to prevent ssgi feedback loop (#844) feat: add saturation slider for ssgi il, remove backface mult (#845) * feat: saturation slider for ssgi il * chore: bump ssgi ver * chore: more drastic IL bounce value chore: bump version to 1.1.1 feat: add quarter res, default settings for minimal noise (#848) * feat: add quarter res, default settings for minimal noise * fix: add recompile flag to reset default fix: clean up ssgi blur and upsample, change presets (#849) chore: hide ssgi slice & step, blur with minimum weight (#852) fix: detect lack of d3d11.1 support, TAA sharpening (#850) * fix: detect lack of d3d11.1 support * style: 🎨 apply clang-format changes * feat: sharpening for TAA * style: 🎨 apply clang-format changes * fix(VR): fix vr offset and bump address lib dependency (#851) --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> Co-authored-by: Flayan <hannes.feldt@gmail.com> chore: bump version to 1.1.2 chore: bump ssgi version to 3.0.2 chore: reduce grass sss setting fix: vr upscaling hooks (#853) chore: bump version to 1.1.3 fix: fix ssgi ambient bounce ignoring AO (#855) feat: support directly using xlodgen output in terrain shadows (#854) chore: change default frame generation mode feat: add simple specular AO and restore high accuracy specular GI (#860) * feat: add simple specular ao * feat: add back high accuracy specular gi chore: dlss tweaked menu, performance (#857) * chore: dlss tweaked menu, performance * build: move CopyDepthToSharedBufferCS.hlsl feat: add back display mapping for filmic (#864) chore: bump version to 1.1.4, ssgi to 3.0.3 (#867) fix: fix terrain shadow ctd when directory does not exist (#869) chore: bump version to 1.1.5 (#870) fix: set recompileFlag when loading ssgi settings (#872) fix: revert sampler to clamp to fix screen artifacts (#871) fix: taa sharpening fix: distant water reflections (#885) fix: skipping refract calculation for pbr landscape (#887) * Fixed fraction calculating for pbr landscape * Skip refract calculation for pbr landscape fix: detect bad dynamic cubemaps (#886) * fix: detect bad dynamic cubemaps * style: 🎨 apply clang-format changes --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> feat: hq refined dithered parallax (#877) * feat: hq refined dithered parallax * style: 🎨 apply clang-format changes * fix: pbr --------- Co-authored-by: doodlum <doodlum@users.noreply.github.com> chore: version bumps fix: cloud shadows issues (#893) * fix: cloud shadows issues * style: 🎨 apply clang-format changes * chore: us…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rain now uses the precipitation occlusion map correctly.
Removed chaotic ripples since the default settings did nothing and the look was questionable when the strength was increased.
Rain now uses the rain particle data to fade in and out exactly in-line with the particles themselves.
Wetness and puddle code is reworked to be consistent across saves and in terms of its behaviour. It should now be easy to understand and extend from.