back to curtains.js website </ >

Awesome scrollable content v2

On scroll, we apply a a scale effect on Y axis on both the plane and its texture and a parallax effect. We also add two shader passes to post-process our scene: the first one invert colors on certain parts, the second one add a cool distortion effect also based on scroll.

This illustrates the use of multiple shader passes.

Planes actually drawn: 0
Title 1
Title 2
Title 3
Title 4