- sdf = O.union(P.make_sphere(V.new{0,0,0}, 1,
- -- T.make_count_texture()),
- T.make_phong({V.new{2,-1,2}}, {0,1,0},
- 1.0, 0.5, 100)),
- P.make_sphere(V.new{1.5,0,1.0}, 0.5,
- T.make_phong({V.new{2,-1,2}}, {0,0,1},
- 1.0, 0.5, 100))),
+ sdf =
+ O.union(
+ P.make_sphere(V.new{0,0,0}, 1,
+ T.make_phong_texture({V.new{2,-3,1}},
+ T.make_solid_pigment({0,1,0}),
+ 0.2, 0.7, 1.0, 100)),
+ P.make_plane(V.new{0,0,-3.0}, V.new{0,0,1},
+ T.make_flat_texture(T.make_checkered_pigment({0,0,1}, {1,1,1})))),