-// This exists only to transfer the ground type to fragment shader
-const char DesertPillars::ground_transform_src[] =
- "#version 130\n"
- "uniform mat4 eye_obj_matrix;\n"
- "uniform mat3 eye_obj_normal_matrix;\n"
- "in float ground_type;\n"
- "out float v_ground_type;\n"
- "vec4 transform_vertex(vec4 vertex)\n"
- "{\n"
- " v_ground_type = ground_type;\n"
- " return eye_obj_matrix*vertex;\n"
- "}\n"
- "vec3 transform_normal(vec3 normal)\n"
- "{\n"
- " return mat3(eye_obj_normal_matrix)*normal;\n"
- "}\n";
-
-const char DesertPillars::ground_colorify_src[] =
- "#version 130\n"