Open wozeparrot opened 5 years ago
This issue has been fixed afaict. I had to do a repro on windows d3d11 as the given link doesn't work anymore and the 'Bright Filter' worked fine.
This was also reported to happen with 4.1 so it needs another investigation. One could use RenderDoc to create the error and then debug the pixels.
I had this with Starbreach, newly cloned, changed the TFM's to net6.0
(x2) and net6.0-windows
and updated the package references to version 4.1.0.1734. Verified that it happens on my UHD 770 as well as my 1080 Ti.
Still in 4.2 (Popped up on discord again (https://discord.com/channels/500285081265635328/500292370923913222/1175390122313781278).
Digging into it a bit, there are zero length tangents in the character model for Starbreach:
These get normalized in GetTangentMatrix
in NormalUpdate.sdsl
leading to NaNs in the RT eventually. The NaNs then get spread around by the LightStreakShader
and GaussianBlurShader
.
(🤦♂️ reading the linked issues would have made it obvious that there's an issue with tangents.)
PR soon(tm). Not sure what to do about the missing tangents on GeometricPrimitive
s (https://github.com/stride3d/stride/issues/413)
That takes care of the issue in Starbreach. (Delete Starbreach.Windows/obj and rebuild, to reimport the assets.)
Should we also protect LightStreakShader/GaussianBlurShader and similar ones from NaNs? With NaNs at least it's usually obvious that something went wrong, some black or just darkened pixels will be harder to track down.
I found the same issue, this one caused by the shadowmap texture I do manage to fixed this one by saturate the shadow output from the PCF filtering, not sure if it's a proper fixed though, but i never see the issue across projects anymore.
Release Type: Official Release/GitHub (please choose appropriate option) Official
Version: Version number and/or git branch 3.1.0.1-beta01-0359
Platform(s): Does the problem occur on Windows, Android...? Windows
Describe the bug A clear and concise description of what the bug is. Really Black Black.
To Reproduce Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem (use GitHub drag & drop)
Log and callstacks If any, please attach here any log or callstack (preferably in a
.txt
file using GitHub drag and drop)Additional context Add any other context about the problem here. Project Files: https://www.filehosting.org/file/details/776346/Debug.zip