From 7ced541cb244962cf77d8ba4b4088080677304f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sat, 27 Nov 2021 10:12:45 +0000 Subject: [PATCH] increase light intensity in pbr_pipelined example (#3182) # Objective - example `pbr_pipelined` doesn't look like example `pbr` `pbr`: ![pbr](https://user-images.githubusercontent.com/8672791/143328022-83797197-233c-4824-8daa-4d7bd092938d.png) `pbr_pipelined`: ![pbr_pipelined](https://user-images.githubusercontent.com/8672791/143328034-8a8bdb39-0d75-472b-8880-7bb7cd48f448.png) ## Solution - set the light intensity to a higher value `pbr_pipelined` with this pr: ![pbr_pipelined_fixed](https://user-images.githubusercontent.com/8672791/143328040-4149e96c-dada-4940-9f6f-f8925e48b22e.png) --- examples/3d/pbr_pipelined.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/3d/pbr_pipelined.rs b/examples/3d/pbr_pipelined.rs index 470326cab3..c14fff7635 100644 --- a/examples/3d/pbr_pipelined.rs +++ b/examples/3d/pbr_pipelined.rs @@ -67,7 +67,7 @@ fn setup( commands.spawn_bundle(PointLightBundle { transform: Transform::from_translation(Vec3::new(50.0, 50.0, 50.0)), point_light: PointLight { - intensity: 50000., + intensity: 600000., range: 100., ..Default::default() },