i was wondering which part of the script i would have to change to make it work with the hdrp in unity. In particullarz the Lit shader. As far as i know the values are different from the unity standard shader.
@MarkusKer You can upgrade material with the standard shader to HDRP shaders with "Edit > Render Pipelines > Upgrade ** Materials to High Definition Materials"
Also, to make work the first person camera, you will need to use "Custom Frame Settings" and disable the fog pass