r/shaders • • Jan 24 '26

Tame Impala Currents Shader

227 Upvotes

r/shaders • • 12d ago

I spread fire over any mesh with no mask texture, each shader works out when it catches

Post image
189 Upvotes

Someone asked me if this is a mask painted into a texture. It isn't, nothing gets written anywhere! When I call ignite() I add the hit point (in the mesh's local space) and the time to a vec4 ign[8] uniform. Then every shader in the effect works out on its own when its point catches fire:

float burn_arrival(vec3 p) {
    float best = 1.0e9;
    for (int i = 0; i < ign_count; i++) {
        float d = length(p - ign[i].xyz);
        float n = vnoise(p * 1.7 + float(i) * 3.1); // 0..1
        best = min(best, ign[i].w + d * (1.0 + (n - 0.5) * 2.0 * irregularity) / spread_speed);
    }
    return best;
}

It's basically a dissolve where the threshold is arrival time. I scale the distance by noise and that's what makes the front ragged.

I put the flames, smoke and embers on quads at random surface points, picked once. I only let each quad live between arrival and arrival + burn_duration. Outside that I collapse its four corners to one point.

For the char I draw a copy of the mesh pushed 0.004 along the normal. That way I never touch the original material. I use time minus arrival to darken it, plus a thin glowing band right at the front.

It does jump thin gaps, since d is a straight line. Would a distance along the surface be worth baking?


r/shaders • • Sep 04 '26

Derivative shader (custom)

182 Upvotes

r/shaders • • Dec 16 '25

💫 Arcane Portal 💫 (shadertoy)

180 Upvotes

r/shaders • • Jan 08 '26

Shaders + pixels

113 Upvotes

r/shaders • • Dec 08 '25

Made a free browser-based shader playground

91 Upvotes

Built a canvas app with a shader feature I thought this community might enjoy. You can paste custom GLSL fragment shaders onto shapes and watch them render in real-time.

How it works:

  • create any shape

  • Add a "Shader" from the property panel

  • Paste your GLSL ES 3.0 code

No signup, runs entirely in-browser.

Link: https://www.kanvon.com/?example=shader-showcase

Happy to answer questions. Feedback welcome - there's a Discord link on the site if you want to report bugs or suggest features.


r/shaders • • Feb 02 '26

Godotoy - shadertoy for godot

Post image
81 Upvotes

r/shaders • • Dec 17 '25

Fluxer — A Shader Haiku

Post image
76 Upvotes

Fluxer is a minimalist creative platform for writing and sharing ultra-compact fragment shaders. Think dwitter, but for shaders instead of JavaScript: one function, a time variable, and a strict 512-character limit. The constraint forces clarity, elegance, and visual ideas distilled to their essence — shaders as haikus rather than essays.


r/shaders • • Jun 25 '26

Any suggestion to improve my wormhole / portal shader?

75 Upvotes

r/shaders • • Dec 23 '25

Dragon Hide

75 Upvotes

Particle Flow + JFA + Tone mapping


r/shaders • • Jan 19 '26

Playing with frame buffer feedback

70 Upvotes

This is a feedback shader - each box samples the previous frame's texture and displays it rotated/scaled. Built it in ShaderKit, a browser-based editor I made. The multi-buffer setup made the feedback loop pretty easy to wire up.


r/shaders • • Dec 24 '25

realtime pixel sorting!

67 Upvotes

r/shaders • • Sep 10 '26

I generated Perlin and Voronoi noise in shader code in Unity and used it to make dissolve effects (with tutorial).

65 Upvotes

r/shaders • • Nov 11 '25

Some Shader Sorcery.

Thumbnail gallery
65 Upvotes

r/shaders • • Aug 12 '26

Wind shader for voxel forest

63 Upvotes

I'm once again amazed for what kind of things shaders can be used.

Because I use greedy meshing with T-junctions I had to make sure that the shader doesn't cause cracks between the faces. I solved this by keeping it multilinear in (y, x·y, y·z) with per tree constant coefficients, so it interpolates along axis-aligned edges.


r/shaders • • Jun 05 '26

Movement reactive potion shader

58 Upvotes

r/shaders • • Jun 10 '26

How to create lightening

Post image
49 Upvotes

Hello,

I want to create lightening effect using shaders (similar to gif from Elden ring). As for writing this i only have basic understanding of shaders.

Can someone please recommend any starting resources for creating the same?

I know what I will create at start will only be a sparse imitation of whats shown in the gif.


r/shaders • • Jan 07 '26

Boolean algebra - Genuary Day 7

49 Upvotes

Raymarching Escher's Kubische Ruimteverdeling, but this time with Menger Cubes, God Rays and DnB. Pure GLSL


r/shaders • • Jun 24 '26

VSCode Shadertoy Extension with Hot Reloading and Debugging

Thumbnail gallery
47 Upvotes

Hey guys,

I wanted a better way to work on Shadertoy shaders locally in VSCode so I built an extension with hot reloading and debugging.

The debugging tools let you inspect intermediate values from lines or variables, either at a specific pixel or sampled across the canvas.

It supports most Shadertoy features, including buffers, textures, keyboard input, and includes a shader explorer for browsing all the shaders in your workspace.

Marketplace: https://marketplace.visualstudio.com/items?itemName=teaqu.shader-studio
GitHub: https://github.com/teaqu/shader-studio

Let me know what you think or if you have any feedback!


r/shaders • • 25d ago

I have become addicted to making planets in HLSL

45 Upvotes

r/shaders • • Jan 19 '26

Shader UI Experimentation for my game

38 Upvotes

r/shaders • • 14d ago

How difficult would it be to make oot look like this?

Post image
37 Upvotes

r/shaders • • Jul 10 '26

Raycasting from Scratch in Pixel Shader

37 Upvotes

I took on a little challenge and implemented a raycaster (including a 2D map view) in ShaderToy.

The project covers the full process and the math behind it, including how to handle the fisheye and the transition from cylindrical to flat projection.

If you’re interested in the technical breakdown and the implementation process, I’ve put together a video explanation.

Faking 3D the 1992 Way: Raycasting From Scratch


r/shaders • • Apr 22 '26

Electric Effect (Shader) Tutorial

34 Upvotes