Hi all, I made a shader debugger that some people might find useful (for pixel shaders only right now): https://github.com/arigo/ShaderDebugger It is an intermediate solution between two extremes. On the one hand, you have the limited hack of encoding what you want to know in the color of the pixel. On the other hand, there are extensions for Visual Studio (https://docs.unity3d.com/Manual/SL-DebuggingD3D11ShadersWithVS.html) or PIX (https://docs.unity3d.com/Manual/DebuggingShadersWithPIX.html) but they are very heavy---and at least for me both of these have always failed with obscure error messages (e.g. "Unknown error.") instead of helping me. The small tool above is based on an idea I've read somewhere, and developed until it is, hopefully, useful in general.