Convolution shader tests! (full-screen AA counting every pixel)
by shy
Brave Pixel
3D Material Capture
pelogen (3D modeling tool)
Bear Home
Shadow Techniques
Pixel Gun Spin Wheel Earn Gems&Coins
Raveball
Count The Llamas
Count And Compare
Color Pixel Art Classic
Solitaire Daily Challenge
PICO-8 Shader
Get in Santa's Pants 2
Clever Pixel - LOWREZJAM 2020
Pixel Session Vol.1 Is Out
Pixel Cat Mahjong
Pixel Soldier Memory
Pixel War
Pixel Artist
Pixel Block 3D
Pixel Bubbleman.io
Zen-Garden Mowerman
Robbo
Invader Maker
Bumble Bots Low Rez
Totally Accurate Holiday Bowling
Rick and Morty
Real Love Tester
Rage Road
Pattern Puzzle
Dodge Hero
Crypto Catch
Food Roll
Match 20 Challenge
Desert Road (generated animation)
CluePix
Storm Tower Defense - Idle Pixel War
Flip Space Love Adventure
Boomerang Snipe 3D
Dice Pixel Stealer 3D
Porklike
Space Frenzy
Mini Clash War Z
Knock Em All
Flags For Friends
BulletHeck 2
You Only Tap Once
Launch Up
Convolution shader tests! (full-screen AA counting every pixel)
I was reading up on Bit Arrays to learn more secret bitwise knowledge, and stumbled onto a very clever way to count bits, via Hamming weights and a magic multiplication number. Short story is that this led to efficient fullscreen Anti-Aliasing for 1-bit screen data (colors 0 and 1 only).
Other convolution shaders are easily doable with similar techniques. This one takes every pixel and adds weighted amounts of the neighbors in this way: