-
Notifications
You must be signed in to change notification settings - Fork 138
Developers
This is the base package that loads all the custom shaders.
This is the main dll in the repo that enables the replacement of vanilla shaders with new shaders.
Can be found primarily in https://github.com/doodlum/skyrim-community-shaders/tree/main/src
The default shaders will be found in https://github.com/doodlum/skyrim-community-shaders/tree/main/package/Shaders.
These default shaders should be overwritten by feature specific shaders.
These are custom features that are loaded after the default CS install.
To add a new feature, the DLL needs to be modified. See prior examples of adding new features for the full list. https://github.com/doodlum/skyrim-community-shaders/pull/83
The main features should live here: https://github.com/doodlum/skyrim-community-shaders/tree/dev/src/Features
Shaders are stored in https://github.com/doodlum/skyrim-community-shaders/tree/dev/features
To debug CS you will need to be able to debug both the cpp dll and the hlsl shader files.
- Save a copy of the original exe so you can replace it.
- Use Steamless to strip the SteamDRM from the Skyrim.exe. This is required for a debugger to attach.
To ensure addresses don't move, disable ASLR. This can be done with CFF Explorer. Optional Header -> DLL Characteristics -> DLL can move. Disable this.

Renderdoc can be used to debug shaders.
- Disable Skyrim Upscaler. They are not compatible.
- Enable Global Hooking
- Set up
Launch Applicationso it will find the exe when it launches. Make sure toEnable Global Hookwhich will grey out all settings. This also will prevent closing renderdoc until you disable the setting.

- Launch Skyrim. You will know RenderDoc has connected because of the message in the top left of Skyrim
Capturing D3D11. If it doesn't show, try toggling the global hook and launching again.

- In game, press
F12to capture the scene. - In Renderdoc,
File->Attach to Running Instance. Select Skyrim andConnect to App.

- Once attached, a new tab will appear. Double click any captures to load.
