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

2022-09-11, 11:56:44

davetwo

  • Active Users
  • **
  • Posts: 298
    • 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: 3811
  • Bengamin
    • View Profile
    • Cormats
Hi there,

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


Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

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

Juraj

  • Active Users
  • **
  • Posts: 4743
    • 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.
Please follow my new Instagram for latest projects, tips&tricks, short video tutorials and free models
Behance  Probably best updated portfolio of my work
lysfaere.com Please check the new stuff!

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

davetwo

  • Active Users
  • **
  • Posts: 298
    • 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: 4743
    • 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).
Please follow my new Instagram for latest projects, tips&tricks, short video tutorials and free models
Behance  Probably best updated portfolio of my work
lysfaere.com Please check the new stuff!