Itoo Software Forum

Author Topic: Edge Boundary Checking Shadow Error  (Read 2473 times)

RC2292

  • Jr. Member
  • **
  • Posts: 63
Edge Boundary Checking Shadow Error
« on: April 27, 2022, 05:59:15 PM »
Hi,

Whilst rendering grass and using Edge boundary Checking, the grass itself is being trimmed correctly to the edge of the spline but there remains contact shadows where the grass would have been had edge mode node been selected.


See image with render regions as follows:

Top is Point Checking

Mid is no FP

Bottom is Edge Boundary Checking with the unwanted contact shadows.

Closest mention I've seen on the forum is here: https://forum.itoosoft.com/forest-pro-(*)/boundary-checking-problem-leaves-either-shadow-or-brighter-patch/msg18748/?topicseen#msg18748

Have tried upping the VRay transparency limit and decreasing the density but doesn't have any impact.

3ds Max 2022
VRay 5

Thanks

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3056
Re: Edge Boundary Checking Shadow Error
« Reply #1 on: April 28, 2022, 09:18:28 AM »
Hi,

Sorry to hear you're facing that issue. In the past, that's always been resolvable by upping the transparency levels. Could you upload a simplified sample scene that reproduces the issue so we can take a closer look?

Thanks,
Paul
Paul Roberts
iToo Software

RC2292

  • Jr. Member
  • **
  • Posts: 63
Re: Edge Boundary Checking Shadow Error
« Reply #2 on: April 28, 2022, 11:10:05 AM »
Thanks for looking at this Paul.

Attached a simplified scene. Somehow the effect is more subtle but hopefully still noticeable.

« Last Edit: April 29, 2022, 11:39:01 AM by RC2292 »

RealViz

  • Sr. Member
  • ****
  • Posts: 438
    • RealViz
Re: Edge Boundary Checking Shadow Error
« Reply #3 on: April 28, 2022, 02:22:45 PM »
Don't have Vray-dirt enabled on the pavement? You need to turn on "ignore invisible" or the old-fashioned "work with transparency"

RC2292

  • Jr. Member
  • **
  • Posts: 63
Re: Edge Boundary Checking Shadow Error
« Reply #4 on: April 28, 2022, 02:32:13 PM »
Good shout but no, not using Vray-dirt.

RealViz

  • Sr. Member
  • ****
  • Posts: 438
    • RealViz
Re: Edge Boundary Checking Shadow Error
« Reply #5 on: April 29, 2022, 06:13:57 AM »
I've gone over the scene and the problem is the grass material. Unfortunately I don't have all the assets (textures) and so can't identify it. However, if you assign the same material "Grass" you have in the mtl editor to all FP objects it renders without problems.

RealViz

  • Sr. Member
  • ****
  • Posts: 438
    • RealViz
Re: Edge Boundary Checking Shadow Error
« Reply #6 on: April 29, 2022, 07:41:29 AM »
I see a problem. Two objects have multimaterial "_fp_grass" and it contains Standard/Legacy materials. That's the problem.
So it's not iToo's fault ;-)

RC2292

  • Jr. Member
  • **
  • Posts: 63
Re: Edge Boundary Checking Shadow Error
« Reply #7 on: April 29, 2022, 11:45:07 AM »
Thanks again.

Don't think it's related to to materials. Apologies in my haste I didn't strip the max file entirely of maps. I've reattached the clean version to the post above.

To show its not linked to materials I've rendered the scene with a grey Vray override material both with and without the grass. You can see the region without the grass doesn't produce the artefacts where as the one with grass does.

Are you getting these with a Vray override applied too?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3056
Re: Edge Boundary Checking Shadow Error
« Reply #8 on: April 29, 2022, 12:34:32 PM »
Hi,

This would appear to be related to the irradiance map settings. If I change the Primary Engine to Brute Force the issue disappears. If you need to stick with irradiance maps, You may find increasing the quality will help to fix the problem.

Best,
Paul
Paul Roberts
iToo Software

RC2292

  • Jr. Member
  • **
  • Posts: 63
Re: Edge Boundary Checking Shadow Error
« Reply #9 on: April 29, 2022, 12:42:58 PM »
Thanks Paul, I'll give that a go.

RC2292

  • Jr. Member
  • **
  • Posts: 63
Re: Edge Boundary Checking Shadow Error
« Reply #10 on: April 29, 2022, 12:50:01 PM »
Yes just tried that and you're right, it's irradiance related.
As I increase the quality the they become smaller.


Thanks!

RealViz

  • Sr. Member
  • ****
  • Posts: 438
    • RealViz
Re: Edge Boundary Checking Shadow Error
« Reply #11 on: April 29, 2022, 03:18:07 PM »
Hi,

This would appear to be related to the irradiance map settings. If I change the Primary Engine to Brute Force the issue disappears. If you need to stick with irradiance maps, You may find increasing the quality will help to fix the problem.

Best,
Paul
Yes this is generally a problem with IR when using non-standard materials. If the correct V-ray material is used everything is OK even when using IR. But I agree that BF is a much better method today.

RealViz

  • Sr. Member
  • ****
  • Posts: 438
    • RealViz
Re: Edge Boundary Checking Shadow Error
« Reply #12 on: April 29, 2022, 03:38:39 PM »
I can see the problem now. There are some old settings carried over from an older V-ray. If you reset the V-ray settings (just change the render to another one and back). Then everything renders correctly even with IR.