Shadows
Re: Shadows
I'll build it was well. I can't build installers, but does anyone want the Windows exe?
Re: Shadows
I think I found a problem. A high view distance with a high uniform log ratio seems to cause flickering. I set my view distance to 250000 because it's just enough to see all of Morrowind plus most of the completed sections of Tamriel Rebuilt. However, to get nice splits up close I had to raise my uniform log ratio to 0.985. For some reason this causes flickering on objects when viewed parallel or opposite to the light source.
I could just be misusing that setting though. Apologies in advance if that's the case.
Edit:
After testing more, it seems like the default uniform log ratio of 0.5 only works without distortion at a view distance of 6666. Once you start enabling distant terrain and pushing the fog back, higher values appear to work better. I have found that a value within the 0.9-1.0 range starts producing the best looking splits rather quickly. The vdlsm-meddling fork is really useful for figuring out where splits are (especially if your debug overlay doesn't work).
My uniform log ratios might be completely wrong and defeat the purpose of this implementation for all I know, but even then, the shadows in-game are simply beautiful. Yes, there are small issues with flashing foliage, empty spots at base of certain models and the occasional hole in terrain, but overall they look easily as good as some of the latest open world shadows if you can look past these very small issues.
Here are my settings if anyone is interested:
viewing distance = 21903
distant terrain = true
number of shadow maps = 3
allow shadow map overlap = true
split point uniform logarithmic ratio = 0.9
split point bias = 0
compute tight scene bounds = false
shadow map resolution = 4096
minimum lispm near far ratio = 0.25
I could just be misusing that setting though. Apologies in advance if that's the case.
Edit:
After testing more, it seems like the default uniform log ratio of 0.5 only works without distortion at a view distance of 6666. Once you start enabling distant terrain and pushing the fog back, higher values appear to work better. I have found that a value within the 0.9-1.0 range starts producing the best looking splits rather quickly. The vdlsm-meddling fork is really useful for figuring out where splits are (especially if your debug overlay doesn't work).
My uniform log ratios might be completely wrong and defeat the purpose of this implementation for all I know, but even then, the shadows in-game are simply beautiful. Yes, there are small issues with flashing foliage, empty spots at base of certain models and the occasional hole in terrain, but overall they look easily as good as some of the latest open world shadows if you can look past these very small issues.
Here are my settings if anyone is interested:
viewing distance = 21903
distant terrain = true
number of shadow maps = 3
allow shadow map overlap = true
split point uniform logarithmic ratio = 0.9
split point bias = 0
compute tight scene bounds = false
shadow map resolution = 4096
minimum lispm near far ratio = 0.25
- AnyOldName3
- Posts: 2686
- Joined: 26 Nov 2015, 03:25
Re: Shadows
Code: Select all
compute tight scene bounds = false
As for the uniform/log ratio, all the papers I can find say it should be best at 0.5, but when 'allow shadow map overlap' is enabled, it looks better closer to or at 1.0. I'm surprised it's causing any issues, though, so I imagine that any additional flickering you're seeing was there all along, but you couldn't tell because it was being blurred out.
Re: Shadows
Any progress?
Is there a chance to see shadows in 0.45.0?
Is there a chance to see shadows in 0.45.0?
- AnyOldName3
- Posts: 2686
- Joined: 26 Nov 2015, 03:25
Re: Shadows
I've not been able to get anything done over the last couple of weeks, but should be able to get back to work soon (maybe even today).
If we get to the point of 0.45 and shadows aren't 'done', I'll probably merge them anyway as there are very few bugs which actually make things worse than having no shadows. There are some OpenGL error messages logged and sometimes first-person meshes disappear, but everything else is basically that shadows don't look as good as they potentially could (the quality is fine across the board, but sometimes they're outright missing from certain places).
If we get to the point of 0.45 and shadows aren't 'done', I'll probably merge them anyway as there are very few bugs which actually make things worse than having no shadows. There are some OpenGL error messages logged and sometimes first-person meshes disappear, but everything else is basically that shadows don't look as good as they potentially could (the quality is fine across the board, but sometimes they're outright missing from certain places).
Re: Shadows
I hope next version shadows are available, so hopefully some programmers out there feel the need to improve your PR can contribute to refining it.
Re: Shadows
I give my thanks and wish you all the best on the shadows front. Ebonheart may be sub-20fps in current branch but man does it look sweet.
- Spoiler: Show
Re: Shadows
0.45 version can wait in my opinion untill shadows and new NPC navigation done. Meanwhile, 0.45 can get more features for CS and bugfixing
Re: Shadows
From the Github PR discussion:
I don't have a Github account, but hopefully it's acceptable to use this thread; let me know if you feel otherwise. Here are some screens I took using the latest Appveyor build.AnyOldName3 wrote:By the way, what's the framerate difference with and without compute tight scene bounds these days? I'm not just asking Gluka - I'm interested to know from a range of people.
- Spoiler: Show
Re: Shadows
While interior shadows have a few issues at the moment, the effect is really striking in some places. This whole sequence looks spectacular in motion.
- Spoiler: Show