NickTsaizer

[WIP] Slang shader line previews for nvim

19
0
100% credibility
Found Apr 23, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Lua
AI Summary

A Neovim plugin for live previewing outputs of individual lines in Slang fragment shaders directly within the editor.

How It Works

1
🔍 Discover the shader preview tool

You hear about a handy add-on for your code editor that lets you see shader results live while editing.

2
📥 Add it to your editor

Copy a short snippet into your editor's list of add-ons and restart – it's ready in seconds.

3
📄 Open your shader file

Load up your graphics code file, the one with colorful effects and textures.

4
🎨 Hover cursor on a line

Move your cursor to any line in your code and hit the preview button – instantly see what that line renders!

5
🖱️ Tweak custom images or data

Click on input details in the preview pane to swap in your own pictures or numbers for testing.

6
🔄 Watch it update live

Move your cursor around or make changes – the preview refreshes smoothly without slowing you down.

Debug shaders visually

Now you spot issues instantly with beautiful live images right in your editor, making graphics coding fun and fast.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is shaderdebug.nvim?

shaderdebug.nvim is a Lua Neovim plugin for live line previews of Slang fragment shaders—hover your cursor on any return or assignment line, and it renders the output as a quad inline. This GitHub WIP app solves tedious shader debugging by showing results instantly without leaving the editor, using Slang reflection to detect textures, samplers, and buffers. Bind custom images via :ShaderDebugSetImage or JSON data interactively, with Vulkan or headless OpenGL backends.

Why is it gaining traction?

It stands out with non-blocking auto-preview on cursor moves (:ShaderDebugToggleAuto), turning shader iteration into a fluid loop—no full rebuilds needed. Interactive preview pane lets you click inputs to edit paths or data, refresh with 'r', or clear with 'x'. For a new WIP Slang tool, the reflection-driven inputs and inline image.nvim display hook devs chasing that "wip slang meaning" instant feedback.

Who should use this?

Vulkan or graphics engineers writing Slang fragments in Neovim, debugging line-by-line without engine spins. Perfect for shader artists prototyping effects or HLSL migrants checking outputs visually. Skip if you're not on Neovim 0.10+ with slangc and image.nvim.

Verdict

Worth a spin for Slang/Neovim users—solid README with commands and a :ShaderDebugOpenTestShader lowers the barrier despite 19 stars and 1.0% credibility score signaling WIP immaturity. Polish the OpenGL path and add tests to escape GitHub WIP label limbo.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.