armory3d / armory

3D Engine with Blender Integration
https://armory3d.org/engine
zlib License
3.07k stars 316 forks source link

Emission color doesn't output/display correctly if overlay setting enabled #2694

Closed rpaladin closed 1 year ago

rpaladin commented 1 year ago

Possibly related to: https://github.com/armory3d/armory/pull/2638

Unrelated, is it normal that materials marked as overlay aren't affected by world shading or the renderpath?

image

e2002e commented 1 year ago

The overlay meshes are drawn at the end of the render path's fucntions, they are not being shaded. The emission material doesn't hold diffuse color so is rendered black, while the other shaders you tested do render with their base color, but don't emit nor get shaded. I am going to work on that today.