-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subsurface Scattering Transmittance visual glitches #88083
Comments
This may be a variant of #73697. Can you enable View Information in the 3D viewport's Perspective menu and check the resolution in the bottom-right corner? |
It seems that's likely the same issue, as if subsurface scattering simply had a tendency to break after a while of being enabled and messed around with. |
Your viewport resolution is even on both axes, so it's probably not the same issue 🙂 Does it appear on and off when the viewport is slowly resized (e.g. when you resize the editor window or drag a splitter next to it)? |
Nope, it stays the same all the time, even when I close the editor and re-open. Tho the initial time I had the issue it disappeared when I reloaded the project, but now it doesn't seem to go away. |
Tested versions
System information
Godot v4.2.1.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 Laptop GPU (NVIDIA; 31.0.15.4633) - 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz (8 Threads)
Issue description
Subsurface scattering transmittance not working well with OmniLights (glitch border dependant on OmniLight's rotation for unknown reason, transmittance only functional from one side of the OmniLight dependant on how the omni light is rotated)
Secondary issue:
Visual glitching of transmittance on materials exclusively in the editor (glitch not present in-game)
Steps to reproduce
Add a MeshInstance3D to an empty 3D scene
assign any type of Mesh to it
give it a material
enable Subsurface Scattering in that material
enable Transmittance under Subsurface Scattering
increase Depth under Transmittance from 0.1 to 3.0
Add an OmniLight to the scene
make sure it's not inside the MeshInstance3D
enable shadows in that OmniLight
You should be able to notice a sort of "border" on the MeshInstance3D caused by transmittance, rotating the OmniLight will affect how transmittance behaves, which is not a desired behavior at all.
preview of the issue:
preview of the secondary issue:
Minimal reproduction project (MRP)
Subsurface scattering test.zip
The text was updated successfully, but these errors were encountered: