diff options
author | HampusM <hampus@hampusmat.com> | 2025-05-25 13:08:53 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-05-25 13:09:20 +0200 |
commit | 68a97b0123da1f181d1c78a7f760c55c3f341014 (patch) | |
tree | 733e43ca583b34d1ac7400b9ad45f109a932fd21 | |
parent | fdc190632d70037ae56dfeb67114d2fba3de2d52 (diff) |
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index bc9ecea..c1ea1cd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -78,7 +78,8 @@ fn main() -> Result<(), Box<dyn Error>> let mut teapot_mat_builder = Material::builder() .ambient(teapot_named_mat.ambient) .diffuse(teapot_named_mat.diffuse) - .specular(teapot_named_mat.specular); + .specular(teapot_named_mat.specular) + .shininess(teapot_named_mat.shininess); if let Some(ambient_map) = teapot_named_mat.ambient_map { let texture = Texture::open(&ambient_map.path).unwrap(); |