BlueSkyDefender / AstrayFX

Shaders for ReShade that strayed away from the Depth3D Repo.
139 stars 42 forks source link

Normal map not working in RadiantGI on Cyberpunk 2077 #4

Open gboxentertainment opened 3 years ago

gboxentertainment commented 3 years ago

RadiantGI (Reshade 4.9.0) does nothing in Cyberpunk 2077 and I suspect it is due to the normalmap not working (when I debug to show the depth/normals, it shows depth, but normal is just a light purple screen). The default DisplayDepth shader works in Cyberpunk and shows both correct depth and normal map. I have changed RESHADE_DEPTH_INPUT_IS_REVERSED to 1 and reloaded and have changed DepthMap to DM1_Reversed. I have tested RadiantGI (Reshade 4.9.0) on Assassin's Creed Valhalla and it works perfectly.

BlueSkyDefender commented 3 years ago

Switch to 4.9.1 and check the in shader depth debug and adjust the Depth buffer. Also, there is an issue that was reported that you loose Depth after a cutscene, so you have to re-select it in the depth buffer in the DX12 API tab.

gboxentertainment commented 3 years ago

I switched to 4.9.1 and still the same issue (I am aware of the depth buffer issue and always have to uncheck and check it, which works for other shaders and works in AC Valhalla). I suspect it is the way the normal map is calculated which something in it is not compatible with Cyberpunk.

BlueSkyDefender commented 3 years ago

What are your depth settings? Also, Take a picture of the Depth Debug. DisplayDepth Does nothing in my shaders. Don't use it.

gboxentertainment commented 3 years ago

Here are screenshots showing different Depth Debug settings that I've tried:

pcgidebugcp-1 pcgidebugcp-2 pcgidebugcp-3

What I was trying to say about DisplayDepth was that I am getting a normal map from that shader, yet I'm not getting a normal map from your shader on Cyberpunk, so seems like there is something in your normal map from depth calculation method that Cyberpunk doesn't seem to like for some reason.

BlueSkyDefender commented 3 years ago

image

So just tested it. Seem to be working on my end.

Now you should give me a list of Shaders that you are using, it maybe another shader is causing issues.

gboxentertainment commented 3 years ago

I've just tried uninstalling reshade and reinstalling it with just the astrayfx shaders. Still the same issue. What card do you have? I am on an RTX 3080 with the latest nvidia driver 461.09.