Handmade Network»Guntha

Made some small glsl and hlsl syntax highlighters for @rxi 's lite to help myself; since I need to edit both HLSL and GLSL shaders for my games, in each syntax highlighters I added a list of keywords, types and built-in functions from the other language that don't exist in the current language and display them in flashy bright red when used, to avoid common mistakes. In the gif below, copy-pasting a line from an HLSL file to a GLSL file (I know glsl files don't really have standard extensions, that's the one I use in my project...) quickly shows what needs to be adapted.