X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=inline;f=water.h;fp=water.h;h=c2a7122c2244c1774e9f49f428803ad6afb85ec1;hb=cb16ccb05a796178c879ea8d5091663d215a5217;hp=bcd0c6847d44ca840d66b8694840bbe6fbad2351;hpb=dfee9022b3513fddec36f7ea70867ee5961a44da;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/water.h b/water.h index bcd0c68..c2a7122 100644 --- a/water.h +++ b/water.h @@ -32,8 +32,8 @@ static struct } wrender = { - .fbreflect = { .format = GL_RGB, .div = 2 }, - .fbdepth = { .format = GL_RGBA, .div = 2 } + .fbreflect = { .format = GL_RGB, .div = 4 }, + .fbdepth = { .format = GL_RGBA, .div = 4 } }; static float water_height(void) @@ -86,7 +86,7 @@ static void water_compute_depth( boxf bounds ) { for( int x=0; x