Skip to content

Instantly share code, notes, and snippets.

@ediazal
Last active December 7, 2016 16:29
Show Gist options
  • Save ediazal/07039fae251455a9ec08e0fcae56e540 to your computer and use it in GitHub Desktop.
Save ediazal/07039fae251455a9ec08e0fcae56e540 to your computer and use it in GitHub Desktop.
Notepad++ GLSL code highlighting for the Bespin theme
<NotepadPlus>
<UserLang name="GLSL" ext="vert frag geom tesc tese v f g " udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03/* 04*/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">( ) : ; { } + =</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">{</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">}; }</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">attribute const uniform varying buffer shared&#x000D;&#x000A;coherent volatile restrict readonly writeonly&#x000D;&#x000A;struct&#x000D;&#x000A;layout&#x000D;&#x000A;centroid flat smooth noperspective&#x000D;&#x000A;patch sample&#x000D;&#x000A;break continue do for while switch case default &#x000D;&#x000A;if else&#x000D;&#x000A;subroutine&#x000D;&#x000A;in out inout&#x000D;&#x000A;true false&#x000D;&#x000A;invariant&#x000D;&#x000A;discard return&#x000D;&#x000A;&#x000D;&#x000A;lowp mediump highp precision</Keywords>
<Keywords name="Keywords2">sampler1D sampler2D sampler3D samplerCube&#x000D;&#x000A;sampler1DShadow sampler2DShadow samplerCubeShadow&#x000D;&#x000A;sampler1DArray sampler2DArray&#x000D;&#x000A;sampler1DArrayShadow sampler2DArrayShadow&#x000D;&#x000A;isampler1D isampler2D isampler3D isamplerCube&#x000D;&#x000A;isampler1DArray isampler2DArray&#x000D;&#x000A;usampler1D usampler2D usampler3D usamplerCube&#x000D;&#x000A;usampler1DArray usampler2DArray&#x000D;&#x000A;sampler2DRect sampler2DRectShadow isampler2DRect usampler2DRect&#x000D;&#x000A;samplerBuffer isamplerBuffer usamplerBuffer&#x000D;&#x000A;sampler2DMS isampler2DMS usampler2DMS&#x000D;&#x000A;sampler2DMSArray isampler2DMSArray usampler2DMSArray&#x000D;&#x000A;samplerCubeArray samplerCubeArrayShadow isamplerCubeArray usamplerCubeArray&#x000D;&#x000A;image1D iimage1D uimage1D&#x000D;&#x000A;image2D iimage2D uimage2D&#x000D;&#x000A;image3D iimage3D uimage3D&#x000D;&#x000A;image2DRect iimage2DRect uimage2DRect&#x000D;&#x000A;imageCube iimageCube uimageCube&#x000D;&#x000A;imageBuffer iimageBuffer uimageBuffer&#x000D;&#x000A;image1DArray iimage1DArray uimage1DArray&#x000D;&#x000A;image2DArray iimage2DArray uimage2DArray&#x000D;&#x000A;imageCubeArray iimageCubeArray uimageCubeArray&#x000D;&#x000A;image2DMS iimage2DMS uimage2DMS&#x000D;&#x000A;image2DMSArray iimage2DMSArray uimage2DMSArray&#x000D;&#x000A;atomic_uint&#x000D;&#x000A;mat2 mat3 mat4 dmat2 dmat3 dmat4&#x000D;&#x000A;mat2x2 mat2x3 mat2x4 dmat2x2 dmat2x3 dmat2x4&#x000D;&#x000A;mat3x2 mat3x3 mat3x4 dmat3x2 dmat3x3 dmat3x4&#x000D;&#x000A;mat4x2 mat4x3 mat4x4 dmat4x2 dmat4x3 dmat4x4&#x000D;&#x000A;vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 dvec2 dvec3 dvec4 float double int void bool &#x000D;&#x000A;uint uvec2 uvec3 uvec4</Keywords>
<Keywords name="Keywords3">#&#x000D;&#x000A;#define&#x000D;&#x000A;#undef&#x000D;&#x000A;#if&#x000D;&#x000A;#ifdef&#x000D;&#x000A;#ifndef&#x000D;&#x000A;#else&#x000D;&#x000A;#elif&#x000D;&#x000A;#endif&#x000D;&#x000A;#error&#x000D;&#x000A;#pragma&#x000D;&#x000A;#extension &#x000D;&#x000A;#version &#x000D;&#x000A;#line&#x000D;&#x000A;</Keywords>
<Keywords name="Keywords4">gl_NumWorkGroups&#x000D;&#x000A;gl_WorkGroupSize&#x000D;&#x000A;gl_WorkGroupID&#x000D;&#x000A;gl_LocalInvocationID&#x000D;&#x000A;gl_GlobalInvocationID&#x000D;&#x000A;gl_LocalInvocationIndex&#x000D;&#x000A;gl_VertexID&#x000D;&#x000A;gl_InstanceID&#x000D;&#x000A;gl_PerVertex &#x000D;&#x000A;gl_Position&#x000D;&#x000A;gl_PointSize&#x000D;&#x000A;gl_ClipDistance&#x000D;&#x000A;gl_in&#x000D;&#x000A;gl_PrimitiveIDIn&#x000D;&#x000A;gl_InvocationID&#x000D;&#x000A;gl_Layer&#x000D;&#x000A;gl_ViewportIndex&#x000D;&#x000A;gl_PatchVerticesIn&#x000D;&#x000A;gl_InvocationID&#x000D;&#x000A;gl_out&#x000D;&#x000A;gl_TessLevelOuter&#x000D;&#x000A;gl_TessLevelInner&#x000D;&#x000A;gl_PatchVerticesIn&#x000D;&#x000A;gl_PrimitiveID&#x000D;&#x000A;gl_TessCoord&#x000D;&#x000A;gl_FragCoord&#x000D;&#x000A;gl_FrontFacing&#x000D;&#x000A;gl_ClipDistance&#x000D;&#x000A;gl_PointCoord&#x000D;&#x000A;gl_PrimitiveID&#x000D;&#x000A;gl_SampleID&#x000D;&#x000A;gl_SamplePosition&#x000D;&#x000A;gl_SampleMaskIn&#x000D;&#x000A;gl_Layer&#x000D;&#x000A;gl_ViewportIndex&#x000D;&#x000A;gl_FragDepth&#x000D;&#x000A;gl_SampleMask&#x000D;&#x000A;gl_FragColor </Keywords>
<Keywords name="Keywords5">gl_MaxComputeWorkGroupCount&#x000D;&#x000A;gl_MaxComputeWorkGroupSize&#x000D;&#x000A;gl_MaxComputeUniformComponents&#x000D;&#x000A;gl_MaxComputeTextureImageUnits&#x000D;&#x000A;gl_MaxComputeImageUniforms&#x000D;&#x000A;gl_MaxComputeAtomicCounters&#x000D;&#x000A;gl_MaxComputeAtomicCounterBuffers&#x000D;&#x000A;gl_MaxVertexAttribs&#x000D;&#x000A;gl_MaxVertexUniformComponents&#x000D;&#x000A;gl_MaxVaryingComponents&#x000D;&#x000A;gl_MaxVertexOutputComponents&#x000D;&#x000A;gl_MaxGeometryInputComponents&#x000D;&#x000A;gl_MaxGeometryOutputComponents&#x000D;&#x000A;gl_MaxFragmentInputComponents&#x000D;&#x000A;gl_MaxVertexTextureImageUnits&#x000D;&#x000A;gl_MaxCombinedTextureImageUnits&#x000D;&#x000A;gl_MaxTextureImageUnits&#x000D;&#x000A;gl_MaxImageUnits &#x000D;&#x000A;gl_MaxCombinedImageUnitsAndFragmentOutputs&#x000D;&#x000A;gl_MaxImageSamples&#x000D;&#x000A;gl_MaxVertexImageUniforms&#x000D;&#x000A;gl_MaxTessControlImageUniforms&#x000D;&#x000A;gl_MaxTessEvaluationImageUniforms&#x000D;&#x000A;gl_MaxGeometryImageUniforms&#x000D;&#x000A;gl_MaxFragmentImageUniforms&#x000D;&#x000A;gl_MaxCombinedImageUniforms&#x000D;&#x000A;gl_MaxFragmentUniformComponents&#x000D;&#x000A;gl_MaxDrawBuffers&#x000D;&#x000A;gl_MaxClipDistances&#x000D;&#x000A;gl_MaxGeometryTextureImageUnits&#x000D;&#x000A;gl_MaxGeometryOutputVertices&#x000D;&#x000A;gl_MaxGeometryTotalOutputComponents&#x000D;&#x000A;gl_MaxGeometryUniformComponents&#x000D;&#x000A;gl_MaxGeometryVaryingComponents&#x000D;&#x000A;gl_MaxTessControlInputComponents &#x000D;&#x000A;gl_MaxTessControlOutputComponents &#x000D;&#x000A;gl_MaxTessControlTextureImageUnits &#x000D;&#x000A;gl_MaxTessControlUniformComponents &#x000D;&#x000A;gl_MaxTessControlTotalOutputComponents &#x000D;&#x000A;gl_MaxTessEvaluationInputComponents &#x000D;&#x000A;gl_MaxTessEvaluationOutputComponents &#x000D;&#x000A;gl_MaxTessEvaluationTextureImageUnits &#x000D;&#x000A;gl_MaxTessEvaluationUniformComponents &#x000D;&#x000A;gl_MaxTessPatchComponents &#x000D;&#x000A;gl_MaxPatchVertices &#x000D;&#x000A;gl_MaxTessGenLevel &#x000D;&#x000A;gl_MaxViewports &#x000D;&#x000A;gl_MaxVertexUniformVectors &#x000D;&#x000A;gl_MaxFragmentUniformVectors &#x000D;&#x000A;gl_MaxVaryingVectors &#x000D;&#x000A;gl_MaxVertexAtomicCounters &#x000D;&#x000A;gl_MaxTessControlAtomicCounters &#x000D;&#x000A;gl_MaxTessEvaluationAtomicCounters &#x000D;&#x000A;gl_MaxGeometryAtomicCounters &#x000D;&#x000A;gl_MaxFragmentAtomicCounters &#x000D;&#x000A;gl_MaxCombinedAtomicCounters &#x000D;&#x000A;gl_MaxAtomicCounterBindings &#x000D;&#x000A;gl_MaxVertexAtomicCounterBuffers &#x000D;&#x000A;gl_MaxTessControlAtomicCounterBuffers &#x000D;&#x000A;gl_MaxTessEvaluationAtomicCounterBuffers &#x000D;&#x000A;gl_MaxGeometryAtomicCounterBuffers &#x000D;&#x000A;gl_MaxFragmentAtomicCounterBuffers &#x000D;&#x000A;gl_MaxCombinedAtomicCounterBuffers &#x000D;&#x000A;gl_MaxAtomicCounterBufferSize &#x000D;&#x000A;gl_MinProgramTexelOffset &#x000D;&#x000A;gl_MaxProgramTexelOffset</Keywords>
<Keywords name="Keywords6">radians&#x000D;&#x000A;degrees&#x000D;&#x000A;sin&#x000D;&#x000A;cos&#x000D;&#x000A;tan&#x000D;&#x000A;asin&#x000D;&#x000A;acos&#x000D;&#x000A;atan&#x000D;&#x000A;sinh&#x000D;&#x000A;cosh&#x000D;&#x000A;tanh&#x000D;&#x000A;asinh&#x000D;&#x000A;acosh&#x000D;&#x000A;atanh&#x000D;&#x000A;pow&#x000D;&#x000A;exp&#x000D;&#x000A;log&#x000D;&#x000A;exp2&#x000D;&#x000A;log2&#x000D;&#x000A;sqrt&#x000D;&#x000A;inversqrt&#x000D;&#x000A;abs&#x000D;&#x000A;sign&#x000D;&#x000A;floor&#x000D;&#x000A;trunc&#x000D;&#x000A;round&#x000D;&#x000A;roundEven&#x000D;&#x000A;ceil&#x000D;&#x000A;fract&#x000D;&#x000A;mod&#x000D;&#x000A;modf&#x000D;&#x000A;min&#x000D;&#x000A;max&#x000D;&#x000A;clamp&#x000D;&#x000A;mix&#x000D;&#x000A;step&#x000D;&#x000A;smoothstep&#x000D;&#x000A;isnan&#x000D;&#x000A;isinf&#x000D;&#x000A;floatBitsToInt&#x000D;&#x000A;floatBitsToUInt&#x000D;&#x000A;intBitsToFloat&#x000D;&#x000A;uintBitsToFloat&#x000D;&#x000A;fma&#x000D;&#x000A;frexp&#x000D;&#x000A;ldexp&#x000D;&#x000A;packUnorm2x16&#x000D;&#x000A;packSnorm2x16&#x000D;&#x000A;packUnorm4x8&#x000D;&#x000A;packSnorm4x8&#x000D;&#x000A;unpackUnorm2x16&#x000D;&#x000A;unpackSnorm2x16&#x000D;&#x000A;unpackUnorm4x8&#x000D;&#x000A;unpackSnorm4x8 &#x000D;&#x000A;packDouble2x32&#x000D;&#x000A;unpackDouble2x32&#x000D;&#x000A;packHalf2x16&#x000D;&#x000A;unpackHalf2x16&#x000D;&#x000A;length&#x000D;&#x000A;distance&#x000D;&#x000A;dot&#x000D;&#x000A;cross&#x000D;&#x000A;normalize&#x000D;&#x000A;faceforward&#x000D;&#x000A;reflect&#x000D;&#x000A;refract&#x000D;&#x000A;matrixCompMult&#x000D;&#x000A;outerProduct&#x000D;&#x000A;transpose&#x000D;&#x000A;determinant&#x000D;&#x000A;inverse&#x000D;&#x000A;lessThan&#x000D;&#x000A;lessThanEqual&#x000D;&#x000A;greaterThan&#x000D;&#x000A;greaterThanEqual&#x000D;&#x000A;equal&#x000D;&#x000A;notEqual&#x000D;&#x000A;any&#x000D;&#x000A;all&#x000D;&#x000A;not&#x000D;&#x000A;uaddCarry&#x000D;&#x000A;usubBorrow&#x000D;&#x000A;umulExtended&#x000D;&#x000A;imulExtended&#x000D;&#x000A;bitfieldExtract&#x000D;&#x000A;bitfieldInsert&#x000D;&#x000A;bitfieldReverse&#x000D;&#x000A;findLSB&#x000D;&#x000A;bitCount&#x000D;&#x000A;findMSB&#x000D;&#x000A;textureSize&#x000D;&#x000A;textureQueryLod&#x000D;&#x000A;textureQueryLevels&#x000D;&#x000A;texture&#x000D;&#x000A;textureProj&#x000D;&#x000A;textureLod&#x000D;&#x000A;textureOffset&#x000D;&#x000A;texelFetch&#x000D;&#x000A;texelFetchOffset&#x000D;&#x000A;textureProjOffset&#x000D;&#x000A;textureLodOffset&#x000D;&#x000A;textureProjLod&#x000D;&#x000A;textureProjLodOffset&#x000D;&#x000A;textureGrad&#x000D;&#x000A;textureGradOffset&#x000D;&#x000A;textureProjGrad&#x000D;&#x000A;textureProjGradOffset&#x000D;&#x000A;textureGather&#x000D;&#x000A;textureGatherOffset&#x000D;&#x000A;textureGatherOffsets&#x000D;&#x000A;texture1D &#x000D;&#x000A;texture1DProj&#x000D;&#x000A;texture1DLod&#x000D;&#x000A;texture1DProjLod&#x000D;&#x000A;texture2D&#x000D;&#x000A;texture2DProj&#x000D;&#x000A;texture2DLod&#x000D;&#x000A;texture2DProjLod&#x000D;&#x000A;texture3D&#x000D;&#x000A;texture3DProj&#x000D;&#x000A;texture3DLod&#x000D;&#x000A;texture3DProjLod&#x000D;&#x000A;textureCube&#x000D;&#x000A;textureCubeLod&#x000D;&#x000A;shadow1D&#x000D;&#x000A;shadow2D&#x000D;&#x000A;shadow1DProj&#x000D;&#x000A;shadow2DProj&#x000D;&#x000A;shadow1DLod&#x000D;&#x000A;shadow2DLod&#x000D;&#x000A;shadow1DProjLod&#x000D;&#x000A;shadow2DProjLod&#x000D;&#x000A;atomicCounterIncrement&#x000D;&#x000A;atomicCounterDecrement&#x000D;&#x000A;atomicCounter&#x000D;&#x000A;atomicAdd&#x000D;&#x000A;atomicMin&#x000D;&#x000A;atomicMax&#x000D;&#x000A;atomicAnd&#x000D;&#x000A;atomicOr&#x000D;&#x000A;atomicXor&#x000D;&#x000A;atomicExchange&#x000D;&#x000A;atomicCompSwap&#x000D;&#x000A;imageSize&#x000D;&#x000A;imageLoad&#x000D;&#x000A;imageStore&#x000D;&#x000A;imageAtomicAdd&#x000D;&#x000A;imageAtomicMin&#x000D;&#x000A;imageAtomicMax&#x000D;&#x000A;imageAtomicAnd&#x000D;&#x000A;imageAtomicOr&#x000D;&#x000A;imageAtomicXor&#x000D;&#x000A;imageAtomicExchange&#x000D;&#x000A;imageAtomicCompSwap&#x000D;&#x000A;dFdx&#x000D;&#x000A;dFdy&#x000D;&#x000A;fwidth&#x000D;&#x000A;interpolateAtCentroid&#x000D;&#x000A;interpolateAtSample&#x000D;&#x000A;interpolateAtOffset&#x000D;&#x000A;noise1&#x000D;&#x000A;noise2&#x000D;&#x000A;noise3&#x000D;&#x000A;noise4&#x000D;&#x000A;EmitStreamVertex&#x000D;&#x000A;EndStreamPrimitive&#x000D;&#x000A;EmitVertex&#x000D;&#x000A;EndPrimitive&#x000D;&#x000A;barrier&#x000D;&#x000A;memoryBarrier&#x000D;&#x000A;memoryBarrierAtomicCounter&#x000D;&#x000A;memoryBarrierBuffer&#x000D;&#x000A;memoryBarrierShared&#x000D;&#x000A;memoryBarrierImage&#x000D;&#x000A;groupMemoryBarrier</Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8"></Keywords>
<Keywords name="Delimiters">00&quot; 01 02&quot; 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="BDAE9D" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="008040" bgColor="2A211C" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="008040" bgColor="2A211C" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="8000FF" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="0080FF" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="408080" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="C46200" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="8080FF" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="8080C0" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="FF8040" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="BDAE9D" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="FFFFFF" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="FFFFFF" bgColor="2A211C" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="FF8080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="FF8080" bgColor="2A211C" fontName="" fontStyle="0" nesting="32769" />
<WordsStyle name="DELIMITERS2" fgColor="363636" bgColor="FFFFFF" fontName="" fontStyle="7" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment