From d3ded32deb9bd7faae3bd25f58dde53efedabf65 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 4 Jun 2008 22:59:28 +0000 Subject: [PATCH] light from upper-left --- panda/src/framework/windowFramework.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/framework/windowFramework.cxx b/panda/src/framework/windowFramework.cxx index f75eb40a5e..b64c9c84d3 100644 --- a/panda/src/framework/windowFramework.cxx +++ b/panda/src/framework/windowFramework.cxx @@ -1126,9 +1126,11 @@ setup_lights() { AmbientLight *alight = new AmbientLight("ambient"); alight->set_color(Colorf(0.2f, 0.2f, 0.2f, 1.0f)); DirectionalLight *dlight = new DirectionalLight("directional"); + dlight->set_color(Colorf(0.8f, 0.8f, 0.8f, 1.0f)); _alight = light_group.attach_new_node(alight); _dlight = light_group.attach_new_node(dlight); + _dlight.set_hpr(-10, -20, 0); _got_lights = true; }