Rough specular material doesn't result in soft shadows?

Forums: Rough specular material doesn't result in soft shadows?
Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB

Rough specular material doesn't result in soft shadows?

Postby Phil_RA » Tue May 22, 2018 2:49 am

Phil_RA Tue May 22, 2018 2:49 am
Hello,

I made a specular material that represents rough plastic, used as a clear ceiling which lets sunlight pass through. I would expect this to result in an overcast-like lighting, since rays would be scattered due to the material's roughness, but the shadows remain sharp. Fake shadows are enabled, and I'm using Path Tracing. I added a medium node with forward scattering, still no change.

Image

Image

Not sure if this is a good example, Maybe my assumption is completely wrong :)
Phil_RA
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Fri Jul 25, 2014 2:30 am

Re: Rough specular material doesn't result in soft shadows?

Postby paride4331 » Tue May 22, 2018 6:11 am

paride4331 Tue May 22, 2018 6:11 am
Hi Phil_RA,
using SSS shader, increases render times, noise etc. my advice is to use specular shader with roughness and increase sun size, the shadows will be soft as overcast.
Regards
Paride
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
User avatar
paride4331
Octane Guru
Octane Guru
 
Posts: 3689
Joined: Fri Sep 18, 2015 7:19 am

Re: Rough specular material doesn't result in soft shadows?

Postby Phil_RA » Tue May 22, 2018 1:28 pm

Phil_RA Tue May 22, 2018 1:28 pm
Hello paride,

This is a specular material with roughness. I used scattering just to see if it made any difference.

My point is, physically speaking, the roughness represents how the microsurface affects the direction in which the light is reflected, so I would expect that it would have a similar impact when light exits the medium than what happens when the ray is reflected as seen with specular reflections. The ray first bounces on the microsurface any number of times, and then into the medium or is reflected from it, but in the former case it means it enters the medium in a different direction than the direction the ray had before bouncing.

So basically, just as specular reflections appear blurred due to roughness, I would expect blurred shadows as well, since the likelihood that a ray will exit in the same direction as the original direction it had before entering the medium would be relative to the surface roughness on entry and exit.

Note I'm not talking about anisotropic scattering, which I don't think any commercial ray-tracing app supports yet anyway. I'm only talking about the result of the surface roughness on the entry/exit.

Again, maybe I'm wrong, or maybe this effect is already happening but is not noticeable enough due to the medium being continuous. I'd be curious to hear a dev on this.

edit: Thinking on it, it would probably just modulate the shadow intensity, not blur it, since the rays are simply being scattered more regardless of proximity to the edges.
Phil_RA
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Fri Jul 25, 2014 2:30 am

Re: Rough specular material doesn't result in soft shadows?

Postby bepeg4d » Wed May 23, 2018 10:09 am

bepeg4d Wed May 23, 2018 10:09 am
Hi Phil,
have a look at this example with a Specular material with 0 roughness, and medium node:
FC2D7543-5298-46CE-B220-2AB8012CC23E.jpeg

If you change the Phase value, the light is scattered in the correct direction:
3D3C4178-946F-45F8-8598-E81F302B38CA.jpeg

ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9958
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Rough specular material doesn't result in soft shadows?

Postby Hesekiel2517 » Thu May 24, 2018 11:07 am

Hesekiel2517 Thu May 24, 2018 11:07 am
Your examples are completely different. The room is lit by a big area light therefore the shadows are soft. In your Cube example the lighting comes from a tiny lightsource therefore the shadows are sharp. Your SSS Cube can only soften the shadows of objects which are behind it.

I made a little scene for example: The shadows behind the SSS Wall are soft, but the shadows of the wall itself are sharp:

Softshadow_SSS.png
Hesekiel2517
Licensed Customer
Licensed Customer
 
Posts: 450
Joined: Mon Nov 23, 2015 10:57 pm

Re: Rough specular material doesn't result in soft shadows?

Postby Phil_RA » Thu May 24, 2018 6:37 pm

Phil_RA Thu May 24, 2018 6:37 pm
I'll try again tonight, in my original test (not pictured) I had a large rough circular ceiling, and the sunlight going through it, which would do the equivalent as having a large light source as light would scatter through it like in your example, yet it was resulting in sharp shadows for the objects under the ceiling.
Phil_RA
Licensed Customer
Licensed Customer
 
Posts: 75
Joined: Fri Jul 25, 2014 2:30 am

Return to General Discussion


Who is online

Users browsing this forum: No registered users and 27 guests

Wed Apr 24, 2024 3:52 pm [ UTC ]