stage6: make the calabi yau thing a bit nicer
This commit is contained in:
parent
8eeafedcfc
commit
57be4df75f
2 changed files with 3 additions and 3 deletions
|
@ -6,5 +6,5 @@
|
|||
|
||||
VARYING(4) vec3 pos;
|
||||
void main(void) {
|
||||
fragColor = vec4(0.5*normalize(pos)+vec3(0.5), 1);
|
||||
fragColor = 0.3*vec4(0.4*normalize(pos)+vec3(0.6), 0.0);
|
||||
}
|
||||
|
|
|
@ -109,8 +109,8 @@ static void stage6_towertop_draw(vec3 pos) {
|
|||
pbr_draw_model(&stage6_draw_data->models.floor, &env);
|
||||
|
||||
r_disable(RCAP_CULL_FACE);
|
||||
//r_disable(RCAP_DEPTH_WRITE);
|
||||
r_mat_mv_translate(0, 0, 6);
|
||||
r_disable(RCAP_DEPTH_WRITE);
|
||||
r_mat_mv_translate(0, 0, 7);
|
||||
r_mat_mv_scale(0.7, 0.7, 0.7);
|
||||
//r_mat_mv_translate(stage_3d_context.cam.pos[0], stage_3d_context.cam.pos[1], stage_3d_context.cam.pos[2]);
|
||||
r_shader("calabi-yau-quintic");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue