POV-Ray : Newsgroups : povray.general : Shadows and lighting with HDR sky : Shadows and lighting with HDR sky Server Time
18 Oct 2021 15:47:24 EDT (-0400)
  Shadows and lighting with HDR sky  
From: borix
Date: 28 Sep 2021 08:55:00
Message: <web.61530ff3e280e35cfd3478bcd69a400a@news.povray.org>
Hello,

I have trouble getting the lighting right for an outdoor scene. I use an HDR
sky, radiosity and a ground plane. In this image, it appears that the sky casts
light onto the box from the left, but there are no shadows.

Also, the white plane is too dark.

The HDR sky is https://polyhaven.com/a/lilienstein. The relevant part of the
code is


global_settings {
    radiosity {
      pretrace_end 0.001
      count 500

      recursion_limit 1

      low_error_factor 0.2
      brightness 1
   }
}

sky_sphere{
    pigment{
        image_map{ hdr "sky.hdr"
        map_type 1 interpolate 2}
    }
}


box {
    <0,0,0>, <8,8,8>
    pigment {rgb <239, 204, 148>/255}

}

plane {
    y, 0
    pigment { White
    }
}


Post a reply to this message


Attachments:
Download 'test.png' (118 KB)

Preview of image 'test.png'
test.png


 

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.