Skip to content

Added debug float shader - #89

Open
Lokno wants to merge 1 commit into
exeldro:masterfrom
Lokno:add-debug-float-shader
Open

Added debug float shader#89
Lokno wants to merge 1 commit into
exeldro:masterfrom
Lokno:add-debug-float-shader

Conversation

@Lokno

@Lokno Lokno commented Aug 23, 2025

Copy link
Copy Markdown

This PR adds a new example shader called debug_float.shader which includes the function displayFloat(). This function will take a float value and renders it as digit characters onto your OBS source. This is incredibly useful for displaying values while debugging shaders.

@Lokno

Lokno commented Aug 23, 2025

Copy link
Copy Markdown
Author

I originally developed this in GLSL using Shadertoy (https://www.shadertoy.com/view/lfXfzl) and converted it to work with obs-shaderfilter. I thought it would make a useful example shader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant