]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - shader_hlsl.h
fix line feeds
[xonotic/darkplaces.git] / shader_hlsl.h
index 96566f2cee21d51e0f938dec1ace9a1e48ddd8d3..1296711385ed4c8770000b70bfa2f8e9475d46e9 100644 (file)
 "      half3 lightnormal = half3(tex2D(Texture_Deluxemap, TexCoordLightmap).rgb) * 2.0 + half3(-1.0, -1.0, -1.0);\n"
 "      half3 lightcolor = half3(tex2D(Texture_Lightmap, TexCoordLightmap).rgb);\n"
 "#endif\n"
-"#if defined(MODE_LIGHTDIRECTIONMAP_FORCED_LIGHTMAP) || defined(MODE_LIGHTDIRECTIONMAP_FORCED_VERTEXCOLOR)\n"\r
-"      #define SHADING\n"\r
-"      // forced deluxemap on lightmapped/vertexlit surfaces\n"\r
-"      half3 lightnormal = half3(0.0, 0.0, 1.0);\n"\r
-"   #ifdef USELIGHTMAP\n"\r
-"              half3 lightcolor = half3(tex2D(Texture_Lightmap, TexCoordLightmap).rgb);\n"\r
-"   #else\n"\r
-"              half3 lightcolor = half3(gl_FrontColor.rgb);\n"\r
-"   #endif\n"\r
+"#if defined(MODE_LIGHTDIRECTIONMAP_FORCED_LIGHTMAP) || defined(MODE_LIGHTDIRECTIONMAP_FORCED_VERTEXCOLOR)\n"
+"      #define SHADING\n"
+"      // forced deluxemap on lightmapped/vertexlit surfaces\n"
+"      half3 lightnormal = half3(0.0, 0.0, 1.0);\n"
+"   #ifdef USELIGHTMAP\n"
+"              half3 lightcolor = half3(tex2D(Texture_Lightmap, TexCoordLightmap).rgb);\n"
+"   #else\n"
+"              half3 lightcolor = half3(gl_FrontColor.rgb);\n"
+"   #endif\n"
 "#endif\n"
 "#ifdef MODE_FAKELIGHT\n"
 "      #define SHADING\n"