Improve lighting and texture

This commit is contained in:
Matt McWilliams 2021-07-25 20:40:24 -04:00
parent 2293577b5a
commit e6d64e3490
1 changed files with 16 additions and 32 deletions

View File

@ -27,10 +27,8 @@
#declare plastic = texture{
pigment { rgb color1 }
finish {
ambient .01
ambient 0
diffuse .06
phong .025
phong_size 15
}
}
@ -45,7 +43,6 @@ global_settings {
#declare useDOF=false;
#ifdef(useDOF)
#if (useDOF)
#debug "Using DOF rendering"
camera {
@ -72,23 +69,10 @@ global_settings {
focal_point <0, 0, 0>
}
#end
#else
#debug "Not using DOF rendering"
camera {
//orthographic
sky <0,0,1>
location <0, 0, CAM_Z>
look_at <0, 0, 0>
angle 50
right -x*(image_width/image_height)
focal_point <0, 0, 0>
}
#end
light_source {
<0, -60-Y, -100>
rgb <0.2, 0.2, 0.2>
rgb <0.1, 0.1, 0.1>
area_light x,y,6,6
area_illumination off
}