X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=demos%2Fdesertpillars.cpp;h=be197828a6ed97c53326e9449867d233010af956;hb=2e9d7c9f5741d17f77ce27273590ee16b791fb64;hp=b5cdde063b7b62b674177f71694abe0a3b52a73b;hpb=c44e9005200af76266ef44c158688e112ad4bb32;p=libs%2Fgl.git diff --git a/demos/desertpillars.cpp b/demos/desertpillars.cpp index b5cdde06..be197828 100644 --- a/demos/desertpillars.cpp +++ b/demos/desertpillars.cpp @@ -234,7 +234,7 @@ const char DesertPillars::ground_variables[] = "uniform sampler2D texture2;\n" "uniform sampler2D normalmap2;\n" "attribute float ground_type;\n" - "fragment vec4 tex_sample = mix(texture2D(texture1, texture_coord*3.0), texture2D(texture2, texture_coord), ground_type);\n" + "fragment vec4 diffuse_sample = mix(texture2D(texture1, texture_coord*3.0), texture2D(texture2, texture_coord), ground_type);\n" "fragment vec3 normal_sample = mix(texture2D(normalmap1, texture_coord*3.0).rgb, texture2D(normalmap2, texture_coord).rgb, ground_type);\n"; const char DesertPillars::cube_variables[] =