Homepage › Forums › Technical Support › KCD Incorrect shader assignment?
- This topic has 3 replies, 2 voices, and was last updated Mar 5, 2025 9:26pm by
Boblekobold.
-
AuthorPosts
-
Feb 18, 2025 at 3:16am #221160
Merkin
ParticipantHi Ralf, thanks for making an amazing tool!
I decided to dig into shader authoring to try and resolve the G3D shadowing issue in the original Kingdom Come Deliverance game before buying the new release. I have some background in game production but am by no means an expert so please forgive me if I am incorrect in any of my assumptions.
While going through the shaders, I noticed that the default assignment for pixel shader index 5 #1102815474 (whole lighting) appears to affect shadows only, but is assigned to “normal”, not “shadow”. When I use ‘hide’ the image looks exactly the same except with the shadows disappearing. Am I minsunderstanding how this should work or is it possible that this is causing the issue with G3D shadows in the game?
For context pixel shader #2869449876 appears as an albedo pass if ‘hide’ is used – perhaps this would be the ‘whole lighting’ pass as it would add lighting and shadows to the albedo pass?
While I was going through the remaining shaders I found some cascaded shadows and a few others that I assigned to “shadow”‘, however there is no visible difference after assignment, or after restarting the game. Should the changes be immediately visible after assignment, and is there a way to check if they are being loaded and assigned correctly? Or does the main shadow pass override these passes (and would not show a difference if it has not been correctly assigned)?
I really want to get the shadows workking so I can finish this game and play the new one :)
Thanks!
BradFeb 25, 2025 at 6:22am #221171Boblekobold
ParticipantI tried VorpX V24 with Kingdom Come Deliverance 1 a few weeks ago and I didn’t notice major problem with shadows (maybe G3D wasn’t as perfect as old DX9 games but it was very clean with every shader).
G3D and Z3D (which is good too) were very similar.
I only tried the beginning of the game.
Did you try G3D Shadow parameter on “Auto” ?
Feb 27, 2025 at 2:18am #221181Merkin
ParticipantHey thanks for the response. Yes I tried everything – switching the shadow options doesn’t change the way they are rendered at all. They are very clearly being rendered in mono and always have been since the game came out. What version of KCD are you running? From the executable I have 1.9.6.0 and latest Vorpx.
@Ralf – any insight?
Mar 5, 2025 at 9:26pm #221199Boblekobold
ParticipantI tried with the last Epic Games version (the game was offered recently). I’m not sure I tried to close one eye to verify. I don’t have access to VR right now.
-
AuthorPosts
- You must be logged in to reply to this topic.