float ambient[] = {0.0, 0.0, 0.0, 0.0};
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, ambient);
float ambient[] = {0.0, 0.0, 0.0, 0.0};
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, ambient);
- glClearColor(0.2, 0.2, 0.2, 1.0);
+ glClearColor(1, 1, 1, 1);
set_light(1, lpos[1], Vec3(0.6, 0.7, 1.0) * 0.6);
set_light(2, lpos[2], Vec3(0.8, 1.0, 0.8) * 0.3);
set_light(1, lpos[1], Vec3(0.6, 0.7, 1.0) * 0.6);
set_light(2, lpos[2], Vec3(0.8, 1.0, 0.8) * 0.3);
show_blobs = !show_blobs;
show_message("blobs: %s\n", show_blobs ? "on" : "off");
break;
show_blobs = !show_blobs;
show_message("blobs: %s\n", show_blobs ? "on" : "off");
break;