Quantcast
Channel: shader – Codrops
Browsing all 24 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Animated Heat Distortion Effects with WebGL

Today we want to show you how to create some realistic looking heat haze distortion effects using fragment shaders in WebGL. The idea is to add a subtle animated distortion to a static image and some...

View Article


Image may be NSFW.
Clik here to view.

How to Create a Fake 3D Image Effect with WebGL

WebGL is becoming quite popular these days as it allows us to create unique interactive graphics for the web. You might have seen the recent text distortion effects using Blotter.js or the animated...

View Article


Image may be NSFW.
Clik here to view.

Making Gooey Image Hover Effects with Three.js

Flash’s grandson, WebGL has become more and more popular over the last few years with libraries like Three.js, PIXI.js or the recent OGL.js. Those are very useful for easily creating a blank board...

View Article

Image may be NSFW.
Clik here to view.

Real-time Multiside Refraction in Three Steps

When rendering a 3D object you’ll always have to assign it a material to make it visible and to give it a desired appearance, whether it is in some kind of 3D software or in real-time with WebGL. Many...

View Article

Image may be NSFW.
Clik here to view.

Scroll, Refraction and Shader Effects in Three.js and React

In this tutorial I will show you how to take a couple of established techniques (like tying things to the scroll-offset), and cast them into re-usable components. Composition will be our primary...

View Article


Case Study: Portfolio of Bruno Arizio

Introduction Bruno Arizio, Designer — @brunoarizio Since I first became aware of the energy in this community, I felt the urge to be more engaged in this ‘digital avant-garde landscape’ that is being...

View Article

Image may be NSFW.
Clik here to view.

How to Build an Underwater-Style Navigation Using PixiJS

This demo shows one way to make a navigation that is visually distinct, usable and accessible. Using the provided code, you can create all sorts of variations on this theme. I encourage you to try your...

View Article

Image may be NSFW.
Clik here to view.

Create Text in Three.js with Three-bmfont-text

There are many ways of displaying text inside a Three.js application: drawing text to a canvas and use it as a texture, importing a 3D model of a text, creating text geometry, and using bitmap fonts —...

View Article


Image may be NSFW.
Clik here to view.

How to Create Procedural Clouds Using Three.js Sprites

Today we are going to create an animated cloud using a custom shader material, extending the built-in Sprite material of Three.js. We’ll assume that you are familiar with React (including Hooks),...

View Article


Audio-based Image Distortion Effects with WebGL

We’ve covered in the past how we can read data from Audio, using the p5.sound library and how we can use that data, to draw things in the canvas, using p5.js. Well, what if instead of drawing a...

View Article

Create a Wave Motion Effect on an Image with Three.js

Waves! Because who does not enjoy the visual comfort an oscillating motion has on the human eye? Well, I do and for this tutorial, I would like to explain how to make waves on a 3D plane with Three.js...

View Article

Image may be NSFW.
Clik here to view.

Kinetic Typography with Three.js

Kinetic Typography may sound complicated but it’s just the elegant way to say “moving text” and, more specifically, to combine motion with text to create animations. Imagine text on top of a 3D...

View Article

Recreating the “100 Days of Poetry” Effect with Shader, ScrollTrigger and CSS...

Editor’s note: We want to share more of the web dev and design community directly here on Codrops, so we’re very happy to start featuring Yuriy’s newest live coding sessions that he records twice a...

View Article


Image may be NSFW.
Clik here to view.

WebGL Video Transitions with Curtains.js

We’ve done some crazy polygon transitions, and before that some WebGL Image Transitions. But a lot of people have been asking how to translate those techniques into the video world. And I agree, one...

View Article

Image may be NSFW.
Clik here to view.

Creating an Infinite Auto-Scrolling Gallery using WebGL with OGL and GLSL...

Hello everyone, introducing myself a little bit first, I’m Luis Henrique Bizarro, I’m a Senior Creative Developer at Active Theory based in São Paulo, Brazil. It’s always a pleasure to me having the...

View Article


Recreating Frontier Development Lab’s Sun in Three.js

In this ALL YOUR HTML coding session you’ll learn how to recreate the sun from Frontier Development Lab’s Sun Challenge, using numerous shaders, lots of layers of noise and CubeCamera. This coding...

View Article

Twisted Colorful Spheres with Three.js

I love blobs and I enjoy looking for interesting ways to change basic geometries with Three.js: bending a plane, twisting a box, or exploring a torus (like in this 10-min video tutorial). So this...

View Article


How to Code the Travelling Particles Animation from “Volt for Drive”

In this ALL YOUR HTML coding session you’ll learn how to recreate Volt for Drive’s glowing particles that endlessly travel through city streets. The website was made by the team of Red Collar. We’ll...

View Article

Image may be NSFW.
Clik here to view.

Creating an Infinite Circular Gallery using WebGL with OGL and GLSL Shaders

In this tutorial we’ll implement an infinite circular gallery using WebGL with OGL based on the website Lions Good News 2020 made by SHIFTBRAIN inc. Most of the steps of this tutorial can be also...

View Article

Tropical Particles Rain Animation with Three.js

People always want more. More of everything. And there is nothing better in the world to fulfil that need than particle systems. Because you can have thousands of particles easily. And that’s what I...

View Article
Browsing all 24 articles
Browse latest View live