Author Topic: Shadow catcher projection  (Read 4606 times)

2017-04-29, 11:17:06

Asticles

  • Active Users
  • **
  • Posts: 84
    • View Profile
Hi all,

Maybe I'm wrong, but cannot make the shadow catcher matches the HDR environment projection. Maybe I'm doing something wrong?

Could be a bug?

Regards


2017-04-29, 11:47:36
Reply #1

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
What might be the case is that I am adding 180 degrees of rotation to the HDR to match the setting in 3ds.  Maybe this isn't added to the shadow catcher?  Can you provide the .blend I don't really know how to use the shadow catcher correctly.

2017-04-29, 11:58:14
Reply #2

Asticles

  • Active Users
  • **
  • Posts: 84
    • View Profile
Yes, hdr is from openfootage.

Edit: File corrected with blanchg solution.
« Last Edit: 2017-04-29, 12:59:50 by Asticles »

2017-04-29, 12:14:39
Reply #3

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
In the shadow catcher UVMap set the x scale to -1 and leave the environment rotate at 0.

2017-04-29, 12:51:49
Reply #4

Asticles

  • Active Users
  • **
  • Posts: 84
    • View Profile
Yes! this did the trick, I suppose it is something to be fixed?

Thanks

2017-04-29, 12:54:13
Reply #5

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
No it is -1 to match 3ds and I can't make that the default in the uvmap because that would break it in other ways.

Not sure how to fix it. Maybe a default uvmap on the shadow catcher shader...

2017-04-29, 13:00:56
Reply #6

Asticles

  • Active Users
  • **
  • Posts: 84
    • View Profile
Only for Environment projection. In case backplates get mirrored.

2017-04-29, 13:07:43
Reply #7

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
I could create a new Shadow Capture Texture node that has this default.

It is quite difficult to detect this is part of a shadow texture input.

2017-04-29, 13:13:19
Reply #8

Asticles

  • Active Users
  • **
  • Posts: 84
    • View Profile
Don't know which is the best way, of course. As you wish, but I think it's better not to have similar nodes for specific functions. Can this be done within Corona Shadowcatcher node?

Also, as a feature request, It could be great that you can set an image background that does not contribute to Environment, so you can preview and match the shadow catcher without compositing. Maybe on camera settings or on Corona Render settings, where transparent background is selected. Is this possible?.
Another good place could be in Corona Shadowcatcher node, switching something like: Use input for background.

2017-04-29, 13:35:22
Reply #9

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Sorry no can do with the feature request, you will need to request that Corona support that.  Using the compositor is likely the only way you can do this.

2017-04-29, 13:38:22
Reply #10

Asticles

  • Active Users
  • **
  • Posts: 84
    • View Profile
Okkk Thanks :)