! Title, I just made BadDirector's mod badge use a shader and I noticed that the uie_details.xy uniform passed to the shader in SMODS' utils.lua : UIElement:set_element_shader() is offset, resulting in an incorrect UV. Adding element.container.T.x/y to the element.VT.x/y before scaling mostly fixed it for me, but I can't say why,,
! Title, I just made BadDirector's mod badge use a shader and I noticed that the
uie_details.xyuniform passed to the shader in SMODS'utils.lua : UIElement:set_element_shader()is offset, resulting in an incorrect UV. Addingelement.container.T.x/yto theelement.VT.x/ybefore scaling mostly fixed it for me, but I can't say why,,