-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
resource_local_to_scene
causes emission materials to break visuals of MeshInstance3D half the time
#83190
Comments
I think I have the same issue, though what I'm seeing is bright white rather than black. I've created a reliable reproduction here. Video here.
Steps:
Notes:
[Edit] Let me know if this isn't the same and I'll raise a new issue. |
The black in my video was only what I chose for the mesh's albedo, maybe a bad idea in hindsight. The white glow is assumedly the same cause as yours, when Also, thanks for sharing another repro + video. Update: It seems the white glow in the editor only happens if the mesh is instanced in another. The bad glow doesn't show in the original scene view though, curiously enough. |
It seems that the issue might have to do with Note: I've dug around and found out that:
New Bug Found:
|
Godot version
v4.0.2.stable.official [7a0977c] v4.1.2.stable.official [399c9dc] v4.2.dev6.official [57a6813]
System information
Godot v4.1.2.stable - Windows 10.0.19044 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 SUPER (NVIDIA; 31.0.15.3640) - AMD Ryzen 5 5600G with Radeon Graphics (12 Threads)
Issue description
Found issue when animating emission materials, primarily tested with StandardMaterial3D and primitive meshes. ORMMaterial3D seems to be similar if not the same, ShaderMaterial doesn't seem to cause the issue. Issue occurs in all 3 renderers.
Every case so far that I know causes the problem(all have emission enabled, referring to a MeshInstance3D):
resource_local_to_scene
resource_local_to_scene
material = material.duplicate()
Effects of issue
emission_energy_multiplier
is set to 1 or greater.emission_energy_multiplier
values near 1 approach a white infused version of the emission color, below that its brightness fades, leading to no effect at 0.Godot_v4.1.2-stable_win64_9S2gmCHcyt.webm
Steps to reproduce
Download repro, start
main.tscn
to see the problem, and it will animateemission_energy_multiplier
to 0 to show what it looks like compared to normal behavior. Output contains some info.Minimal reproduction project
bug_reproduction.zip
The text was updated successfully, but these errors were encountered: