Skip to content

Commit

Permalink
render a little farther on the last near/far pair to cover up a seam …
Browse files Browse the repository at this point in the history
…defect seen at some angles.
  • Loading branch information
jv4779 authored and smcameron committed Jan 20, 2014
1 parent 960943e commit 18d18db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entity.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ void render_entities(GtkWidget *w, GdkGC *gc, struct entity_context *cx)
near_far[0][0] = cx->camera.near * 10000;
near_far[0][1] = cx->camera.far;
near_far[1][0] = cx->camera.near;
near_far[1][1] = cx->camera.near * 10000;
near_far[1][1] = cx->camera.near * 10010; /* render a little farther to cover seam */
}

int pass;
Expand Down

0 comments on commit 18d18db

Please sign in to comment.