Three.js Shader Experiments with Prismatic Image EffectsThree.js Shader Experiments with Prismatic Image Effects
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
A Few Experiments with Three.js and Shaders I recreated the Prism effect: as you scroll, the images gradually blur at the edges of the screen, and the separation of color channels creates the illusion of a prismatic lens. It’s interesting to explore how a few formulas can change the way we perceive a regular gallery.
Akib's avatar
The RGB split growing toward the screen edges is a nice choice, because the centre stays sharp and readable. Does the shader react to scroll speed or only to position? Speed-based would make a fast flick feel very different from a slow drag.
Igor's avatar
It’s position-based at the moment the blur and RGB split increase toward the top and bottom of the viewport, regardless of scroll speed.
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started