How to add HLSL shaders in mod - TheLeonX/NSUNS4-ModManager GitHub Wiki

Well, for extracting HLSL shader from nuccMaterial_dx11.nsh file, you need to copy paste in new file vertex and pixel shaders (with their name) like that: image

1st DXBC is vertex shader 2nd DXBC is pixel shader

(pixel shaders doesnt have shader name, so it's easier to understand which one is which)

Named file should have .hlsl extension and it can be stored anywhere in mod (you can create specific folder for it and call it like "shaders"):

image image

There is example of shader and how it should look.