Post

FragCoord v0.5, Huge updates since the original release! -Inspector has 3 new modes for NaN error detection, frame performance and an instruction heatmap -Community system: share, like and follow creators -Automatically detect and fix common errors and compatibility issues

Xor@xordev.com

Introducing FragCoord: My ultimate shader editing tool!

7 reposts43 likes

Go to fragcoord.xyz, click on a shader and click the microscope icon to enter inspector. You can select variables or functions in your code to see what their values. This histogram automatically adjusts to any range and works with colors, coordinates, wave, whatever!

Error mode helps you track unexpected problems such as NaN (Not a Number), infinites and colors outside of the 0 to 1 range. You get a full list of lines that can cause NaNs and you can view each line individually just by hovering over them

Frames mode gives you a few of the overall frame rate, min, max, average and stutters.

Heatmap mode estimates the number of instructions per pixel. This is useful in shaders with branching or conditional for-loops. You can also visualize it in various warp sizes to get a more accurate view of real-world performance