Author Topic: Decals can't be transparent?  (Read 882 times)

2022-09-11, 11:56:44

davetwo

  • Active Users
  • **
  • Posts: 216
    • View Profile
Hi all. I am trying to make a wet streak run across 3 different floor surfaces. I thought that using decals would be a perfect solution as it would run across all 3 objects and pick up the underlying dispacement - but unfortunately I cant get the decal to be transparent. Its always opaque white even if I have refraction turned on. Thin shell and changing the base colour make no difference. Is this a bug, or a limitation, or am I just doing something wrong?

2022-09-12, 09:56:08
Reply #1

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 2868
  • Bengamin
    • View Profile
    • Cormats
Hi there,

Have you tried lowering the opacity amount? Seems to work here. ;)


Bengamin Jerrems l chaos-corona.com
Chaos Corona Support Representative l contact us
Corona Uploader l Upload
Portfolio l Click me!

2022-09-12, 10:16:44
Reply #2

Juraj

  • Active Users
  • **
  • Posts: 4446
    • View Profile
    • studio website
They can be 'transparent' (opacity), but they can't be 'refractive' in true sense.

That's because Decal is just automatic LayeredMaterial, which isn't physically "layering" anything at all (like real water on top of dry ground), it's just mixing two materials in different ratio, like Photoshop layers..
So certain hacks which look similar must be employed but it will never simulate actual multi-layered mesh behavior.
talcikdemovicova.com  Website and blog
be.net/jurajtalcik   Our studio Behance portfolio
Instagram   Our studio Instagram, managed by Veronika

2022-09-12, 13:42:19
Reply #3

davetwo

  • Active Users
  • **
  • Posts: 216
    • View Profile
Ah interesting. So a decal with clear areas (like my attached mock-up) is not possible.
Shame - all the other ways are a little more convoluted. Thanks for the replies.

2022-09-12, 15:59:12
Reply #4

Juraj

  • Active Users
  • **
  • Posts: 4446
    • View Profile
    • studio website
Well it is, but not in that logical sense of way that emulates real world :- ). Your example should work with partial opacity (perhaps with fallof for fresnel).
talcikdemovicova.com  Website and blog
be.net/jurajtalcik   Our studio Behance portfolio
Instagram   Our studio Instagram, managed by Veronika