Skip to content

Commit 8fd8363

Browse files
committed
Change cricket ball to plastic material
1 parent 7510bce commit 8fd8363

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

docs/renders/hyperion.png

-9.89 KB
Loading

src/scenes/hyperion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub fn hyperion_scene(width: Option<usize>, height: Option<usize>) -> Scene {
5151
let orange_idx = mat!(materials, Plastic::new(orange_color.into(), 0.15, 1.5));
5252
let orange_rough_idx = mat!(materials, Plastic::new(orange_bright_color.into(), 0.25, 1.5));
5353
let marble_vol_idx = mat!(materials, Volumetric::new(Color::new(0.60, 0.71, 0.49).into()));
54-
let cricket_idx = mat!(materials, Diffuse::new(ImageTexture::new("docs/textures/cricket_ball_diffuse.jpg", 1.0).into(), 0.0));
54+
let cricket_idx = mat!(materials, Plastic::new(ImageTexture::new("docs/textures/cricket_ball_diffuse.jpg", 1.0).into(), 0.10, 1.5));
5555
let pingpong_idx = mat!(materials, Plastic::new(Color::new(0.93, 0.89, 0.85).into(), 0.35, 1.45));
5656
let white_idx = mat!(materials, Plastic::new(Color::new(1.0, 1.0, 1.0).into(), 0.1, 1.45));
5757

tests/images/hyperion.exr

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)