00:49 <+bridge_> [ddnet] when implement second chat wheel :brownbear: 00:50 <+bridge_> [ddnet] chat wheel? 08:11 <+bridge_> [ddnet] actually cool idea, a chat wheel like in dota 08:11 <+bridge_> [ddnet] messages are automatically translated to ruskies 08:11 <+bridge_> [ddnet] so they understand u 08:11 <+bridge_> [ddnet] "> Faily part ahead!" 08:11 <+bridge_> [ddnet] etc 08:12 <+bridge_> [ddnet] What a save! 08:12 <+bridge_> [ddnet] What a save! 08:15 <+bridge_> [ddnet] Give strong! 08:15 <+bridge_> [ddnet] Give strong! 08:20 <+bridge_> [ddnet] Wait! 08:20 <+bridge_> [ddnet] Careful! 08:20 <+bridge_> [ddnet] You are a fucking nobo! 08:20 <+bridge_> [ddnet] You are a fucking nobo! 08:20 <+bridge_> [ddnet] :monkalaugh: 08:22 <+bridge_> [ddnet] ddnet really soon 08:22 <+bridge_> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/950654692692750336/Screenshot_20220308-082100.jpg 08:30 <+bridge_> [ddnet] rrnet 09:22 <+bridge_> [ddnet] a quick chat? it gonna hell spamm in chat D: or you mean it will appears over tee head like emotes ? 09:23 <+bridge_> [ddnet] „I lagged“ 09:23 <+bridge_> [ddnet] „I lagged“ 09:23 <+bridge_> [ddnet] „I lagged“ 09:25 <+bridge_> [ddnet] ''DDOS'' 09:25 <+bridge_> [ddnet] ''DDOS'' 09:25 <+bridge_> [ddnet] ''DDOS'' 10:11 <+bridge_> [ddnet] https://wiki.ddnet.tw/wiki/Teleporter/zh 10:11 <+bridge_> [ddnet] poggers 10:12 <+bridge_> [ddnet] chinese text looks kinda cool 10:12 <+bridge_> [ddnet] but sometimes it looks to cramped hard to know boundaries 10:16 <+bridge_> [ddnet] 21 active editors 10:16 <+bridge_> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/950683301176299530/unknown.png 10:16 <+bridge_> [ddnet] i think the highest 10:16 <+bridge_> [ddnet] Pls show screen. 10:16 <+bridge_> [ddnet] Very useful: follow me, wait here, go there, hf, spec me, luckyboy 😅, n00b, Etc... 15:25 < ***> Buffer Playback... 15:25 <+bridge_> [12:21:28] [ddnet] Don't Block! 15:25 <+bridge_> [12:21:29] [ddnet] R.I.P. 15:25 <+bridge_> [12:21:30] [ddnet] My Turn! 15:25 <+bridge_> [13:06:08] [ddnet] thats great news 15:25 <+bridge_> [15:09:12] [ddnet] Nice One 15:25 <+bridge_> [15:09:16] [ddnet] Kys 15:25 < ***> Playback Complete. 21:51 <+bridge_> [ddnet] Hey, im doing a skin renderer and i have a problem with the body color, 21:51 <+bridge_> [ddnet] so, i do a grayscaling with the average of r, g and b, it works. 21:51 <+bridge_> [ddnet] but when i try to reorder the body to get an average color 192,192,192, its cursed af 21:52 <+bridge_> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/950858472558297120/Capture_decran_du_2022-03-08_19-35-44.png 21:52 <+bridge_> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/950858472927424562/Capture_decran_du_2022-03-08_19-35-36.png 21:52 <+bridge_> [ddnet] 1st -> with body reorder 21:52 <+bridge_> [ddnet] 2st -> without 21:55 <+bridge_> [ddnet] on both images, i tried to apply the rgb color 0,0,0, i dont rly understand why it encroaches on the contour, i hope someone have an idea ): 21:55 <+bridge_> [ddnet] on both images, i tried to apply the rgb color 0,0,0, i dont rly understand why it encroaches on the contour, i hope someone have an idea 🙂 21:56 <+bridge_> [ddnet] How did you try to colorize it anyway? 21:58 <+bridge_> [ddnet] https://github.com/ddnet/ddnet/blob/master/data/shader/quad.frag if I'm reading this right rgb 0,0,0 should result in a completely black tee 21:59 <+bridge_> [ddnet] 0,0,0 should result in a black tee, but there are limits, i mean tees arent black in-game theyre grey 22:00 <+bridge_> [ddnet] i apply this formula on each pixel -> 22:00 <+bridge_> [ddnet] ```cpp 22:00 <+bridge_> [ddnet] pixel.r = (pixel.r * color.r) / 255 22:00 <+bridge_> [ddnet] pixel.g = (pixel.g * color.g) / 255 22:00 <+bridge_> [ddnet] pixel.b = (pixel.b * color.b) / 255 22:00 <+bridge_> [ddnet] ``` 22:02 <+bridge_> [ddnet] Darkest LGT is defined to be 0.5 so you should be multiplying by 128,128,128 22:03 <+bridge_> [ddnet] Is that what you end up with? 22:04 <+bridge_> [ddnet] what do you mean with "Darkest LGT" 🤔 ? 22:05 <+bridge_> [ddnet] The darkest color for a skin will always have the L value 0.5 that's how we clamp it 22:06 <+bridge_> [ddnet] yes 22:07 <+bridge_> [ddnet] i do this, like the L is always >= 50 22:07 <+bridge_> [ddnet] i do this, like the L is always >= 50% 22:11 <+bridge_> [ddnet] oh wait i think ive missed a part of the code lmao, i try something, ill tell you if ive fixed :CLOWNpepega: 22:18 <+bridge_> [ddnet] for reference here is what it's supposed to look like after rescaling to 192,192,192 22:18 <+bridge_> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/950865080373899316/unknown.png 22:23 <+bridge_> [ddnet] Oh and I quoted the wrong shader 😛 it's primex.frag, not quad.frag 22:23 <+bridge_> [ddnet] but it is just multiplication either way 22:24 <+bridge_> [ddnet] thanks 🙂 22:26 <+bridge_> [ddnet] huh, my attempt in gimp turns out much lighter than what actually happens ingame 22:29 <+bridge_> [ddnet] wait, https://github.com/ddnet/ddnet/blob/master/src/game/client/components/skins.cpp#L232 22:29 <+bridge_> [ddnet] when you iterate in the image, you are manipulating RGB right ? or its HSL ? 22:29 <+bridge_> [ddnet] rgb 22:29 <+bridge_> [ddnet] okok 22:32 <+bridge_> [ddnet] Nice skin choice you picked for testing colors. 22:34 <+bridge_> [ddnet] lel, its because its one of the problematics skin, cuz its too dark 😮 22:35 <+bridge_> [ddnet] ok i think its working @Learath2 22:35 <+bridge_> [ddnet] Show result 22:36 <+bridge_> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/950869524587114616/render_sheesh.png 22:36 <+bridge_> [ddnet] i think its good 22:36 <+bridge_> [ddnet] i check in game, it match 🙂