This blew up so I gave it another pass since some nerds in my mentions offered a faster method. If you add the normals to the sprite's UV instead of to the vertices of a mesh, you dont have to use an expensive vert function and instead can plop the material on any SpriteRenderer!pic.twitter.com/pvaCtKlSfJ
-
-
এই থ্রেডটি দেখান
-
thanks for all the love haha!! bonus gif of my studio's bootup stinger using this technique only here the distortion decreases over time.pic.twitter.com/SiDeDvWEui
এই থ্রেডটি দেখান
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
this gets really expensive really quickly, couldn't you get a similar effect adding some subtle noise to the UVs? That way the texture could just be on a single quad
-
Just tried it and the results aren't as compelling. I might spend some more time on that though because you're right that would probably make more sense (and then you can use spriterenderer!)
-
If you change up the UV of every pixel rather than every vert (frag function) it should create a very similar effect. If I wasn't rusty with shader code I might do it myself
-
I like this route because you can still use the spriterenderer and not have too many tris. Especially if you want your whole game to have a similar aesthetic. Guessing on optimization here.

-
A frag shader isn't ideal for noise sampling, but if you have, say, an array of textures/a texture that updates every 0.1 seconds... That would be much more efficient than re-uploading verts really often. A problem with this method is the edges of sprites, though.
-
If the noise places the UV outside of the sprite, there could be a little clipping...
-
OK FINE you guys are right lol. Thats the beauty of twitter right there, this method will actually make my workflow way nicer :Ppic.twitter.com/qX20ukyD4t
-
I have no clue how to do this but will try to figure it out
this is awesome thanks!! - 1টি আরও উত্তর
নতুন কথা-বার্তা -
-
-
tried applying this to my outlines, looks kind of weird only affecting the lines thopic.twitter.com/iR3jFsncSS
-
It also make sense to just displace the lines only. I have seen some flash animations doing that
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Is this loss?
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
Cc
@orangeclam might like this -
This looks cool, but I do enjoy drawing the wiggle animations by hand! :D
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
Very nice!
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
Awesome!
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
I've done the mesh trick but never thought about the heavy x (and not evenly divisible) idea. Clever!!
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
Great tip!
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।
টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।