mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
Gradients now respect the hairstyle's blending mode (#11333)
This commit is contained in:
@@ -404,7 +404,9 @@ There are several things that need to be remembered:
|
||||
grad_s.Blend(rgb(r_grad, g_grad, b_grad), ICON_MULTIPLY)
|
||||
hair_s.Blend(rgb(r_hair, g_hair, b_hair), hair_style.icon_blend_mode)
|
||||
if(!isnull(grad_s))
|
||||
hair_s.Blend(grad_s, ICON_OVERLAY)
|
||||
var/icon/grad_s_final = new/icon("icon" = hair_style.icon, "icon_state" = hair_style.icon_state)
|
||||
grad_s_final.Blend(grad_s, hair_style.icon_blend_mode)
|
||||
hair_s.Blend(grad_s_final, ICON_OVERLAY)
|
||||
|
||||
face_standing.Blend(hair_s, ICON_OVERLAY)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user