From 9f36c26a7f75a58564f60878c42381b451d7d7ba Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 17 Nov 2009 18:32:39 -0500 Subject: Make finish callback a propper BRDF. --- tests/libdimension/tests.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c index 85c43a6..fe914f4 100644 --- a/tests/libdimension/tests.c +++ b/tests/libdimension/tests.c @@ -32,6 +32,7 @@ dmnsn_new_default_scene() /* Default finish */ scene->default_texture->finish = dmnsn_new_diffuse_finish(); + scene->default_texture->finish->ambient = 0.1; /* Background color */ dmnsn_sRGB sRGB = { .R = 0.0, .G = 0.0, .B = 0.1 }; -- cgit v1.2.3