Using the red and green channels of an image to store non-visual information (in this case, offsets) is a really great technique because it lets you paint data in Photoshop, but the downside is that it is the ugliest fucking thing in the world while you’re doing it
@christinelove woah that's really clever
@christinelove That is amazing and genius. How did you code it in particular?
@alice The shader adds the value of the R channel minus 0.5 to the screen texture's U, and the G value minus 0.5 to the V. So if you paint with the colour #808000 it'll draw in the normal place—less red and it'll move leftwards, more red and it'll move rightwards, etc
@christinelove Oh of course, very nice!
Also huge shoutouts to the SSSS Gridman OP that this is from https://www.youtube.com/watch?v=IMVH4bvG5GM