···
Sign in
···
···
glsl
hashtag
About
Reviews
Updates
1
Followers
0
Experts
Experts
hey2d
· 3
Posts
Threads
hey2d
4 months ago
GLSL Lesson 4: Reshaping Light and Shadow with pow()
GLSL Lesson 4: Reshaping Light and Shadow with pow() Previous Lessons Lesson 1 Your First Shader: Painting the Entire Screen One Color ht...
hey2d
4 months ago
GLSL Lesson 3: Understanding clamp() by Breaking and Fixing Colors
In the first lesson, we learned the simplest thing a fragment shader can do: paint every pixel the same color. In the second lesson, we m...
hey2d
4 months ago
Gradients: When Color Learns About Position
In the previous lesson, Your First Shader: Painting the Entire Screen One Color, we learned that a shader can fill the entire canvas with...
hey2d
4 months ago
Your First Shader: Painting the Entire Screen One Color
So far we have been looking at code and breaking it apart piece by piece. That approach is useful, but there is another way to learn shad...
hey2d
4 months ago
Lesson 9 — HSB: When Color Stops Being Fixed and Starts Becoming a Space
If gradients were the first time color became a relationship, HSB is where color starts behaving like a coordinate system. This is lesson...
hey2d
4 months ago
Colors in GLSL: A Beginner’s Guide to Shaders and Color Control
https://img.leopedia.io/DQmPqJT18RoPfCeXYy42wdpVcC6MLMF2UcLpZUPY1ZX8Te9/Screenshot_2026-06-21_15-02-51.png Color in GLSL is one of the fi...
hey2d
4 months ago
Understanding UV in GLSL: The Key to Mapping Space in Shaders
UV coordinates are one of the most fundamental ideas in GLSL, yet they are often misunderstood when you first start working with shaders....
hey2d
4 months ago
Drawing a Diagonal Line with GLSL
This is the fourth post in the GlSL learning series. Learning GLSL as a Beginner Understanding gl-Position: My First Real Vertex Shader ...
hey2d
4 months ago
Drawing Curves with Math Using `pow()` - lesson 5 - GLSL
This is the fifth post in the GLSL learning series. Previous posts: Learning GLSL as a Beginner Understanding gl_Position: My First Real...
hey2d
4 months ago
Creating Procedural Galaxies and Nebulas in GLSL
Look at images captured by space telescopes. Galaxies are filled with glowing clouds of gas and dust. Some regions appear bright blue. Ot...
hey2d
4 months ago
Creating a Procedural Night Sky and Stars in GLSL
When you look into the night sky, the stars seem randomly scattered. Some are bright. Some are barely visible. Some appear grouped togeth...
hey2d
4 months ago
Creating Procedural Clouds in GLSL
Look at the sky on a clear day. Clouds rarely have sharp edges. They slowly grow, merge together, drift across the horizon, and disappear...
hey2d
4 months ago
Adding Reflections and Highlights to Procedural Water in GLSL
Think about standing beside a lake on a sunny day. The water is not one solid color. Bright highlights appear where sunlight hits the wav...
hey2d
4 months ago
Creating Procedural Water in GLSL
Water is always moving. Sometimes it forms gentle ripples across a lake. Sometimes it crashes into waves. Sometimes it reflects the sky s...
hey2d
4 months ago
Creating Procedural Smoke in GLSL
Smoke behaves very differently from fire. Fire is energetic. Smoke drifts slowly. It spreads outward. It fades into the air. Instead of s...
hey2d
4 months ago
Creating Procedural Wood Grain in GLSL
Look at the cross section of a tree trunk. You'll notice a series of rings spreading outward from the center. These rings aren't perfectl...
hey2d
4 months ago
Creating a Procedural Marble Texture in GLSL
Walk through an old building made from marble and you'll notice something interesting. No two pieces look exactly alike. Every slab conta...
hey2d
4 months ago
Domain Warping in GLSL: Distorting Noise to Create Organic Worlds
Imagine looking at your reflection in perfectly still water. Everything appears smooth. Now throw a pebble into the water. The reflection...
hey2d
4 months ago
Fractal Brownian Motion in GLSL: Building Rich Procedural Noise
If you're new to the series or would like to catch up on the fundamentals, you can find every previous lesson, along with a summary of wh...
hey2d
4 months ago
Understanding Gradient Noise in GLSL
Value noise was a huge improvement over random pixels. Instead of abrupt jumps, neighboring values blended together. Even so, every grid ...
hey2d
4 months ago
Creating Random Values in GLSL: The Building Blocks of Procedural Graphics
Look closely at the world around you. Clouds are never identical. Mountains all have different shapes. Stone, wood, sand, and water all c...
hey2d
4 months ago
Creating Random Values in GLSL: The Building Blocks of Procedural Graphics
Look closely at the world around you. Clouds are never identical. Mountains all have different shapes. Stone, wood, sand, and water all c...
hey2d
4 months ago
Creating Random Values in GLSL: The Building Blocks of Procedural Graphics
Look closely at the world around you. Clouds are never identical. Mountains all have different shapes. Stone, wood, sand, and water all c...
hey2d
4 months ago
Combining Translation, Rotation, and Scaling in GLSL
By themselves, translation, rotation, and scaling are useful. Together, they become incredibly powerful. Almost every animated shader, ga...
hey2d
4 months ago
Scaling Shapes in GLSL: Making Procedural Graphics Grow and Shrink
If you've ever zoomed into a map, resized an image, or watched a button grow when you hover over it, you've seen scaling in action. Scali...
hey2d
4 months ago
Rotating Shapes in GLSL: Understanding Coordinate Rotation
Rotation is one of the most powerful transformations in shader programming. Spinning loading icons. Rotating radar displays. Clock hands....
hey2d
4 months ago
Combining Translation, Rotation, and Scaling in GLSL
By themselves, translation, rotation, and scaling are useful. Together, they become incredibly powerful. Almost every animated shader, ga...
hey2d
4 months ago
Scaling Shapes in GLSL: Making Procedural Graphics Grow and Shrink
If you've ever zoomed into a map, resized an image, or watched a button grow when you hover over it, you've seen scaling in action. Scali...
hey2d
4 months ago
Rotating Shapes in GLSL: Understanding Coordinate Rotation
Rotation is one of the most powerful transformations in shader programming. Spinning loading icons. Rotating radar displays. Clock hands....
hey2d
4 months ago
Moving Shapes in GLSL: Understanding Coordinate Translation
One of the first mistakes beginners make is trying to move a shape directly. In reality, that's not what happens. The shape never moves. ...