mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Fix broken coloring of wielditems (#9969)
Fixes a regression that appeared in 5.3.0-dev.
This commit is contained in:
parent
7148834440
commit
fe3e69eb40
3 changed files with 16 additions and 5 deletions
|
@ -145,8 +145,10 @@ void main(void)
|
|||
|
||||
vec4 col = vec4(color.rgb, base.a);
|
||||
|
||||
col.rgb *= gl_Color.rgb;
|
||||
|
||||
col.rgb *= emissiveColor.rgb * vIDiff;
|
||||
|
||||
|
||||
#ifdef ENABLE_TONE_MAPPING
|
||||
col = applyToneMapping(col);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue