Author Topic: Allow global volume material to not affect alpha or to exclude objects  (Read 2693 times)

2018-09-17, 13:33:09

Phasma

  • Active Users
  • **
  • Posts: 112
    • View Profile
Hi.

I get it... basically, the global volume material is a thing occluding an object behind it. but used as an atmospheric effect, it would be cool to have the "always black" materials not affected by the foggy atmosphere. or is there a good workaround already?

anyways... this would be a nice feature for the future

thanks
« Last Edit: 2018-10-19, 13:14:44 by Papuca3D »

2018-09-17, 14:34:09
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
Are we talking about the "global fog" (accessible from the Scene tab), or a box/other geometry with Corona Volume Material?
You would like the fog to be visible to the alpha channel (non-black), but some specific object to be pure black, even if it's inside the fog?
Or would you like the fog to be invisible (pure black) and that specific object to be pure black as well?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2018-09-17, 14:44:52
Reply #2

pokoy

  • Active Users
  • **
  • Posts: 1865
    • View Profile
I had the same issue. With global fog enabled, distant object would fade away in masks. The best solution would be to add the same masking options as the CoronaMtl has, so users can decide how volumetric materials would contribute to mask output. A hard-coded black or white behavior would be limiting depending on what you need.

2018-09-17, 17:57:52
Reply #3

Phasma

  • Active Users
  • **
  • Posts: 112
    • View Profile
Hi

yes, we are talking about global fog. the fog already does not contribute to the background alpha but it does alter the objects' alpha that have been explicitly set to "render black alpha" in there materials. for the global volume material, i dont want it to contribute to the alpha at all. at the moment, this would be true: "Or would you like the fog to be invisible (pure black) and that specific object to be pure black as well?"...

So I would add a "Ignore global fog for masks/alphas" or something like this...

at the end - a user here had this issue and wondered why the hell an object still showed up in the alpha as gray although it was set to be black all the time...
« Last Edit: 2018-09-17, 18:01:41 by Phasma »

2018-10-02, 10:02:49
Reply #4

Phasma

  • Active Users
  • **
  • Posts: 112
    • View Profile

2018-10-08, 14:22:58
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
Sorry, no news yet, but I will report it directly to the devs right now, as I can understand the issue.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2018-10-09, 19:16:46
Reply #6

Phasma

  • Active Users
  • **
  • Posts: 112
    • View Profile

2018-10-12, 19:27:18
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
this is being investigated
to self: 278922490
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us