summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-17 18:32:39 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-17 18:32:39 -0500
commit9f36c26a7f75a58564f60878c42381b451d7d7ba (patch)
treeec070dd2d2f7078bf3aebba4dade28d69043b375 /tests
parent54e1ad43c7629d85f88cefbecdfe3e60e8c42294 (diff)
downloaddimension-9f36c26a7f75a58564f60878c42381b451d7d7ba.tar.xz
Make finish callback a propper BRDF.
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/tests.c1
1 files changed, 1 insertions, 0 deletions
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 };