Waivio

ifdef

Experts

scipio

Hive.Blog

Learn Zig Series (#181) - Cross-Compiling for ARM Cortex-M

Learn Zig Series (#181) - Cross-Compiling for ARM Cortex-M What will I learn What a Cortex-M microcontroller actually is, why "bar...

scipio

Hive.Blog

Learn Rust Series (#57) - Feature Flags and Conditional Compilation (cfg)

Learn Rust Series (#57) - Feature Flags and Conditional Compilation (cfg) What will I learn You will learn how the #[cfg(...)] attribut...

hey2d

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

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

When Color Learns to Breathe — A Shader That Swaps Mood Over Time

Lesson: 8 There’s something strangely alive about this kind of shader. Nothing moves, nothing is drawn in the traditional sense, yet the ...

hey2d

Creating Smooth Value Noise in GLSL

If you filled your screen with completely random values, the result would look like television static. Every pixel would be different fro...

hey2d

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

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

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

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

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

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

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

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

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

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

Creating Smooth Value Noise in GLSL

If you filled your screen with completely random values, the result would look like television static. Every pixel would be different fro...

hey2d

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

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

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

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

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

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

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

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

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

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. ...

hey2d

Creating Procedural Patterns in GLSL: Repeating Shapes Across the Screen

Drawing one shape is useful. Drawing hundreds of shapes automatically is where procedural graphics become truly exciting. Many background...

hey2d

Creating Procedural Stars in GLSL

Stars appear everywhere in digital graphics. Game collectibles. Achievement badges. Navigation icons. Holiday decorations. Particle effec...

hey2d

Creating Procedural Stars in GLSL

Stars appear everywhere in digital graphics. Game collectibles. Achievement badges. Navigation icons. Holiday decorations. Particle effec...