With the shadowcasting & blur:
https://cdn.discordapp.com/attachments/706611098828144825/ 925641839623684096/unknown.png
https://cdn.discordapp.com/attachments/706611098828144825/ 925641929495048192/unknown.png
No blur shadowcasting:
https://cdn.discordapp.com/attachments/706611098828144825/ 925642753428303904/unknown.png
https://cdn.discordapp.com/attachments/706611098828144825/ 925642842490150952/unknown.png
/proc/make_triangle_image(x1,y1,x2,y2,x3,y3, l = FLOAT_LAYER)
var/image/triangle_image = new /mutable_appearance()
triangle_image.icon = 'icons/effects/triangle.dmi'
triangle_image.icon_state = ""
triangle_image.layer = l
triangle_image.plane = 19
triangle_image.transform = transform_triangle(x1,y1,x2,y2,x3,y3)
triangle_image.filters += filter(type="blur", size=2)
return triangle_image.appearance
From what i see, its not rendering the shadows properly and it seems to apply alpha into it, when the image alpha is 255.
* This did not only happen to me but to other ss13 servers that did matrix changes and applied blur.
PS:
I changed the type from:
var/image/opacity_image
to
var/atom/movable/opacity_image
which where on the client.image, now the effect works properly when added filters INDIVIDUALLY, if you try to add plane_masters to it, it wont work
From what I'm seeing in your snippet I don't think this is a bug. You definitely don't want shadow triangles to blur individually; this should be done at a plane level.