How to reveal texture based on mouse location

You can use coords of a pixel in NDC to paint the parts of meshes by functions (circles, rectangles, blobs of noise etc.)

Demo: https://codepen.io/prisoner849/full/JjayPpZ

Pretty similar to:

2 Likes