Author Topic: HDRI: No shadows without a Corona sun present  (Read 11005 times)

2013-08-12, 04:47:26

AnubisMe

  • Active Users
  • **
  • Posts: 118
    • View Profile
This has really been bugging me for a while but I just can't get any good shadows in my scene with just a HDRI. I have tried several HDRi maps and its as though shadows practically don't exist. I load my maps with 32 def exposure and set the gamma to around 0.75, and still the shadows are weak as hell. I even tried custom editing my maps so the sun is just a pure white circle with a very dark blue sky. I think maybe my problem is the highlight exposure? Both metal Ray and Vray require a skylight in the scene does Corona also require that? I will post en example tomorrow of what my scene is looking like right now.  One of the maps I am use is peter guthrie blue sky sun maps so I am not using weak maps by any means.

2013-08-12, 07:54:16
Reply #1

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Not really, you just need a good map. Most of the HDRIs sold are claimed to be HDR and yet they are just edited 8 bit images. Also, a lot of HDRI vendors are dumb enough to save EXR with wrong gamma, such as Dosch, so you have to pass it through colorcorrect node with 0.455 gamma. Lastly, when opening HDRs, you need to make sure you open them with 32bit depth and def. exposure.

2013-08-12, 08:01:53
Reply #2

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
I got this one at work http://www.3six0.net/HDRILibrary/image.php?image=7414 and it creates nice crisp shadows without any problems.

2013-08-12, 09:21:14
Reply #3

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
This has really been bugging me for a while but I just can't get any good shadows in my scene with just a HDRI. I have tried several HDRi maps and its as though shadows practically don't exist. I load my maps with 32 def exposure and set the gamma to around 0.75, and still the shadows are weak as hell. I even tried custom editing my maps so the sun is just a pure white circle with a very dark blue sky. I think maybe my problem is the highlight exposure? Both metal Ray and Vray require a skylight in the scene does Corona also require that? I will post en example tomorrow of what my scene is looking like right now.  One of the maps I am use is peter guthrie blue sky sun maps so I am not using weak maps by any means.
send me any map with this problem, I'll take a look
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-08-12, 09:40:15
Reply #4

Polymax

  • Active Users
  • **
  • Posts: 830
  • CG Generalist
    • View Profile
    • maxkagirov.com
I got this one at work http://www.3six0.net/HDRILibrary/image.php?image=7414 and it creates nice crisp shadows without any problems.
I agree, no problems with shadows from HDRI, if use good HDRI textrure.
Corona - the best rendering solution!

2013-08-13, 02:35:55
Reply #5

AnubisMe

  • Active Users
  • **
  • Posts: 118
    • View Profile
Not quite the result I was looking for. I will get back to you Keymaster for getting you some files to look at.

2013-08-13, 13:31:32
Reply #6

Sam75

  • Active Users
  • **
  • Posts: 154
    • View Profile
I am able to get nice shadows but then we have a problem with fireflies, workaround with corona sun is to hide it from reflection but what can we do for hdri ?

Can't we have an option to clamp the hdri for reflection only ?

2013-08-13, 13:47:39
Reply #7

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Do the objects with fireflies have reflection? If yes, then you either need to blur this reflection, or use reflection environment override (with something without the bright spot)
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-08-13, 14:24:18
Reply #8

Sam75

  • Active Users
  • **
  • Posts: 154
    • View Profile
Yes they have reflection

2013-08-13, 14:33:54
Reply #9

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
If the trees have strong highlights under HDRI sunlight then they would have exactly the same highlights in real world. It is not a bug, the problem is that people tend to make materials a LOT more reflective than they are in real world, so there's your problem ;)

Matching real world reflection and glossiness of an average leaf material will do the trick for you. If you for any reason need leaves to look like glass, such as in your case, then you can alternative duplicate your bitmap, open the HDR/EXR map with only 16 or 8 bit depth...  and then put the bitmap opened at lower bit depth into reflection environment override slot.
« Last Edit: 2013-08-13, 14:36:35 by Rawalanche »

2013-08-13, 15:01:53
Reply #10

Sam75

  • Active Users
  • **
  • Posts: 154
    • View Profile
If the trees have strong highlights under HDRI sunlight then they would have exactly the same highlights in real world. It is not a bug, the problem is that people tend to make materials a LOT more reflective than they are in real world, so there's your problem ;)

Matching real world reflection and glossiness of an average leaf material will do the trick for you. If you for any reason need leaves to look like glass, such as in your case, then you can alternative duplicate your bitmap, open the HDR/EXR map with only 16 or 8 bit depth...  and then put the bitmap opened at lower bit depth into reflection environment override slot.

The difference with reality is the pixel scale. I will try to render it at a much bigger res to verify that.

2013-08-13, 15:12:29
Reply #11

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
If the trees have strong highlights under HDRI sunlight then they would have exactly the same highlights in real world. It is not a bug, the problem is that people tend to make materials a LOT more reflective than they are in real world, so there's your problem ;)

Matching real world reflection and glossiness of an average leaf material will do the trick for you. If you for any reason need leaves to look like glass, such as in your case, then you can alternative duplicate your bitmap, open the HDR/EXR map with only 16 or 8 bit depth...  and then put the bitmap opened at lower bit depth into reflection environment override slot.

The difference with reality is the pixel scale. I will try to render it at a much bigger res to verify that.

That is not completely correct. The difference ends as soon as you capture that image with a digital camera, which projects it's luminance measurements on pixels. The reason you do not see any of these strong fireflies on photo is that they are usually covered by some secondary effects, mostly glares. And if you take a picture of a tree under sunlight, it is not usually full of glares. And that is because leaves are not nearly as reflective as you have them.