Tweet by @Anemolito
The mouse reveals effect is a shader mask that selects between two images.
The mouse draws white on a texture with either canvas2d or GPGPU.
Then, the white fades to black so it goes back to the default image.
https://t.co/QIJvfTXrYo
#threejs #webgl #creativecoding https://t.co/VrbO8LEe5Z
— Daniel Velasquez (@Anemolito)
Feb 13, 2024