s-ol’s avatars-ol’s Twitter Archive—№ 650

  1. …in reply to @batchass
    @batchass @h3xl3r take the default shader code, but instead of assigning to "fragColor" assign to a new "vec4 border_col". Its called border_col now because it only gets rendered fully at the border, the center gets taken over by the feedback loop, moving it inwards.
    1. …in reply to @S0lll0s
      @batchass @h3xl3r in the end it doesnt really matter anyway, just put something cool and animated into border_color and watch it get sucked inside :) Also this is the actual line I used, has other uvs: fragColor = mix(texture(prevFrame, vec(0.5) + uv * 0.51f), border_col, pow(length(uv), 12.0));
      1. …in reply to @S0lll0s
        @batchass @h3xl3r (I would've shared the source of course, but it was a quick sketch and I didn't save it)