Author Topic: Black Halo around edges  (Read 8382 times)

2015-12-22, 05:09:35

jigu

  • Active Users
  • **
  • Posts: 20
    • View Profile
Hello,

I am doing "Splash" rendering using "Coronamaterial". I have "Absorption" and "Scattering" set to 180 white and enabled. I set refraction value to 1.0 with IOR of 1.0 and reflection is on with IOR 1.33.

And other geometry like ocean surface and whales/creatures are set to "Shadowcatchermaterial" with shadow opacity set to 0.1.

In exr renders I am getting black halo around edges in After Effects (in linear space)

Is there a way to workaround this?

Thanks,
Regards,
Jignesh

2015-12-22, 11:06:12
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13655
  • Marcin
    • View Profile
Hi, it's hard to imagine all the things which you describe. Images would be great. :)

I suspect what you are referring to is black pixels sneaking into alpha channel. Try googling for "premultimplied"/"unpremultiplied" alpha.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-12-22, 15:34:35
Reply #2

jigu

  • Active Users
  • **
  • Posts: 20
    • View Profile
Hi,

Sorry for not posting image an earlier.

Here is the image. Yes, it's set to "premultiplied" in after effects. And also set linear space in After Effects.

2015-12-22, 15:54:17
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13655
  • Marcin
    • View Profile
I am still not sure what it is. What is the expected result?
It looks like the water has some shadows on it - does it have some diffuse color?
Or maybe the dark areas are refractions of the shadowcatcher object?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-12-22, 16:28:42
Reply #4

jigu

  • Active Users
  • **
  • Posts: 20
    • View Profile
Edge should blend in with background. Here I set background grey color.

in the middle of splash, you can see whale matte object against splash. There isn't black edge happening over whale matte. But it (black edges) happens around splash geometry.

Here is the viewport screenshot.




2015-12-22, 16:53:56
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13655
  • Marcin
    • View Profile
Why does the whale have shadowcatcher material? If you remove the whale (just for a test), are you still getting the dark outlines?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-12-22, 17:20:38
Reply #6

jigu

  • Active Users
  • **
  • Posts: 20
    • View Profile
whale and ocean has shadowcatcher material too. I want to render "splash" as separate pass so I can comp in post. Splash particles are meshed in metashape using Frost.

2015-12-22, 17:41:15
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13655
  • Marcin
    • View Profile
I am not sure about this setup.
Wouldn't it be better if the whales and ocean had rayswitch material with all slots used except for direct visibility? (they would affect reflections, refractions, gi, but be invisible directly)
I think the black areas are simple the shadowcatchers reflected/refracted in the water.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-12-23, 04:19:47
Reply #8

jigu

  • Active Users
  • **
  • Posts: 20
    • View Profile
Oh then it seems shadowcatcher material. But with "rayswitch" will I get shadow on ocean surface? I will check that soon once my current render is done.

2015-12-23, 07:55:48
Reply #9

jigu

  • Active Users
  • **
  • Posts: 20
    • View Profile
I tried "RayswitchMtl" and it doesn't work. I removed material from "Direct" visibility slot and it didn't make matte material on whale. I am looking to assign "matte" material to other objects other than splash. (like whale and ocean) and still able to get proper edge blending like we do get in other renderer and no black halo.

I am using corona 1.3.

2015-12-23, 08:54:36
Reply #10

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9250
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Unfortunately Corona hasn't matte material yet. It is highly requested and hopefully will be there sometime before v2.0 (nothing official though).
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-12-23, 09:07:31
Reply #11

jigu

  • Active Users
  • **
  • Posts: 20
    • View Profile
Though applying "Shadow/Hightlight" effect in After Effects remove that black halo around edges. So that solved for me for now. Next time I will keep in mind. I thought "Shadowcatcher" is something mimick "matte" material in Corona. None the less, I love volumetric/SSS rendering of corona.

2015-12-24, 09:45:56
Reply #12

jigu

  • Active Users
  • **
  • Posts: 20
    • View Profile
Any workaround to render other objects as matte object in corona? How would you do this?

2015-12-26, 16:01:24
Reply #13

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13655
  • Marcin
    • View Profile
Can you post a reques about this in the support? Corona-renderer.com/help
I think it should be possible to do this, probably using some crazy rayswitch+shadowcatcher setup.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-12-28, 05:12:13
Reply #14

jigu

  • Active Users
  • **
  • Posts: 20
    • View Profile
I think no material in Rayswitch GI slot and "shadowcatcher" in direct visibility slot does the trick. I tried and it seems worked but I haven't checked result in post how it looks.