Blender 2.82 EEVEE Sun Shadows look terrible in viewport #70906
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#70906
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
{F7833569}System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30
Blender Version
Broken: version: 2.82 (sub 0), branch: master, commit date: 2019-10-14 19:07, hash:
9a85592dde
Worked: (optional)
Short description of error
[Blender 2.82 EEVEE Sun Shadows look terrible in viewport, pixelated even at the highest shadow maps setting. Shadows from other lights looks ok at high shadow maps but sun shadows in EEVEE look terrible. it used to look good in version 2.81]
Exact steps for others to reproduce the error
[ In EEVEE render view change the light to sun and look at the shadow of any object]
[Based on the default startup or an attached .blend file (as simple as possible)]
Added subscriber: @shamimurrahman19
#71076 was marked as duplicate of this issue
Added subscriber: @Mets
Please provide a blend file that the devs can open in 2.81 and 2.82 to compare the results.
Added subscriber: @SpectreFirst
We cannot be sure without having concrete examples but I think I know what this is about because I’ve had the same exact problem with Sun shadows when Blender switched from ESM\VSM shadows to a new PCF algorithm. The thing is that old shadows used to have Softness parameter which helped with jagged edges but new algorithm relies on light shape and Soft Shadows option in Render Properties panel.
Just in case, here is my comparison between old and new Sun shadows. Old shadows tend to look less precise but more smooth while new ones look more precise but tend to look jagged or fuzzy. I'm not sure but perhaps new shadows are considered a trade-off between quality and precision and this is how it's supposed to be? The only case where I see a problem is high intensity case when PCF shadow looks pixelated regardless of Angle.
File added for comparison. thank you.
Blender 2.82 EEVEE Sun Shadows look terribleto Blender 2.82 EEVEE Sun Shadows look terrible in viewportfirst one is from 2.81
second one is from 2.82
I also noticed that it looks bad in the viewport only
Added subscriber: @mano-wii
Really something has changed between releases.
Is this result expected?
Added subscriber: @Snow-2
@shamimurrahman19 what precise version hash are you comparing against?
Shadows have had an overhaul during the 2.81 development which got rid of pre-filtered shadowmaps (VSM & ESM). This might be what you are interpreting as less good.
Yeah I know...maybe the problem started after removing VSM & ESM. But still, it's a problem.
I can make the sun shadow look good in render by changing a lot of settings but sun shadows always look ugly in the viewport when camera not added.
What you might experience is lower shadowmap resolution due to camera having much lower far clip distance than the default viewport camera.
The sun shadow map uses near and far clip distance to calculate shadowmap projection that contain the whole viewable scene. If near - far distance is much higher there is less shadowmap resolution per unit distance, resulting in less precise shadows.
I changed the far clip distance but the result is still the same.
@shamimurrahman19
The Clip end distance needs to be way lower. Try 100 and you will see what I'm talking about.
"Try 100"
That's not a good solution.
Even if that somehow works, it sounds like an inefficient way to go around a bug.
I'm not an expert on Eevee but this just sounds like a reality of real time rendering. You have to deal with shadow map resolutions on any other real time renderer, including UE4.
You can:
I'm assuming the new shadow method has benefits that shine when used appropriately. And if you want a render engine that works without diving into any settings, raytracing is your only option.
Changed status from 'Open' to: 'Archived'
@shamimurrahman19 The "100" I gave you was just to show you that the clip distance has an impact on shadow accuracy. If you set it the same as your camera settings you should see the same results.
The new shadow method is more simple to use and has less corner cases. The downside of them is that we don't do any filtering and rely on temporal sampling accumulation to reduce aliasing artifacts. In other words, more samples are needed for smooth shadows.
From what I can understand, what you describe here is not a bug but is the expected behavior of the new system.
Some Comparison shots of shadows in Eevee v2.80 and v2.81. Default scene with added plane:
2.80 ESM vs 2.81
2.80 VSM vs 2.81
2.80 VSM 2.81 with Cube Size maxed out
As recommended above Cube Size maxed out seems to give the best result and it has a transition from hard to soft shadow which I like though it looks a bit low res on the soft side and the corner looks weird with the hard shadow but I guess that requires some extra tweaking.
Cycles 2.80 vs Eevee 2.81
While I am here can I take the time to beg you guys for osX (AMD) GPU support in Cycles and a shadow catcher for Eevee?
Here's Radeon Pro Render and Cycles with shadow catchers:
My main use for Blender is compositing and I am trying to get a similar result to Adobe Dimension but it requires quite a bit of tinkering in Blender. I love working in eevee but it's too much work(around) to get a shadow catcher effect. Cycles/RPR does the trick but only trough compositing nodes. Doing all this in realtime like in Adobe Dimension would be fantastic!
Please feel free to move or remove this post if it clashes with the rules or this thread. Thanks guys and respect!
Added subscriber: @MCAN
At first I though it doesnt work well for sunlight if u want a soft sunlight shadow. Then,I found why. If soft shadows doesnt work well for sun light like other spotlights etc. If its too jagged or if its too soft when u turn on soft shadows You can try this. Just use the angle parameter of the sun and if u make it ''0'' (zero) while turning on soft shadows from render properties. The shadows will no longer have jagged edges but still looking pretty stable and correct when u render it :)) So I think the key to handling softness is angle parameter of the sun. So this new algorithm is working pretty good I think and show really physically accurate behaviors like cycles because of having softness controlled by angle. (maybe everyone already knows these things I mentioned above, but maybe it still helps some people).
Only improvement could be having higher max cascade shadow map size option like 8192 as instead of 4096 for people who might want.
Added subscriber: @TroyAC
Seems like users should be given the option to use pre-filtered shadow maps. Like Mustafa said, it is less photorealistic, but some things like NPR "cell-shaded" style, getting shadows that are one shade is the stylistic convention.