Archived
1
Fork 0

Make light size more reasonable for the default material scene

This commit is contained in:
redstrate 2021-05-12 10:47:44 -04:00
parent 6d9cdfd969
commit 381c463a1d

View file

@ -66,6 +66,7 @@ void prepThreePointLighting() {
scene->get<Transform>(sun_light).position = prism::float3(15); scene->get<Transform>(sun_light).position = prism::float3(15);
scene->add<Light>(sun_light).type = Light::Type::Sun; scene->add<Light>(sun_light).type = Light::Type::Sun;
scene->get<Light>(sun_light).power = 5.0f; scene->get<Light>(sun_light).power = 5.0f;
scene->get<Light>(sun_light).size = 0.2f;
scene->reset_shadows(); scene->reset_shadows();
scene->reset_environment(); scene->reset_environment();