-// This exists only to transfer the ground type to fragment shader
-const char DesertPillars::ground_transform_src[] =
- "attribute float ground_type;\n"
- "varying float v_ground_type;\n"
- "vec4 transform_vertex(vec4 vertex)\n"
- "{\n"
- " v_ground_type = ground_type;\n"
- " return gl_ModelViewMatrix*vertex;\n"
- "}\n"
- "vec3 transform_normal(vec3 normal)\n"
- "{\n"
- " return gl_NormalMatrix*normal;\n"
- "}\n";
-
-const char DesertPillars::ground_colorify_src[] =