Hi,
I would like your thoughts about the best shadow quality/shading a character that can be achieved without raytracing in an outdoor environment with just 1 directional sunlight (or any other light). 1 light because the main light source should make the scene already look nice. Additional lights can be added later, but I’d like to have a nice version with 1 main light first.
When I create a new HDRP Project with Unity 2019.3b10 the shadows honestly look only “ok” but not great.
I imported a regular DAZ character and tried to have it look as nice as possible.
What I did to have nice shadows (but only for the first 2m or so…)
- I increased the shadow resolution to 4k in the HDRenderPipelineAsset and of course the light itself
- I decreased the shadows max distance to 5m. That way there are also shadows showing for the eyelashes. But when I move the camera back they are disabled at some point. but not fading out but rather popping out. Looks very nasty
- I added contact shadows
And a comparison of the 2:
What I need are nice shadows from a very close distance but also up until, let´s say 10m. Then the shadow cascades can do their job and reduce the resolution. But up until 5-10m I really need very high-quality shadows so all the details of small objects (like eyelashes) are also showing.
How can that be done? What if I want to reproduce something like the Heretic Demo with a nice shadow on the character? Is that even possible with an out-of-the-box setup of Unity?
I do think raytracing would be nice, but that is not really working on my end. I used the wizard and went step by step through the manual guide. Ambient occlusion, raytraces reflections are working but raytraced shadows are simply not working. And also it´s still experimental.
I want to use something that is final and not experimental. So once HDRP with Unity 2019.3 is final and not experimental anymore, I want to start working with it for projects like that.
What are your thoughts? I don´t need to have a great framerate in first place. I just want to replace rendering in Maya (with Redshift3D) with Unity as good as possible.
Many thanks for your help/input!
PS: I created a video showing the setup I did:
PPS: I also archived the project, you can have a look if you want:
https://www.dropbox.com/s/3wqni5ksdngti7l/2019.3_Lighting.rar?dl=0
PPS: How do light layers work? I did not find a tutorial online. I’d really like to add a light for the character’s eyes like they do it here: Unity Blog


