Author Topic: Problem with transparent textures  (Read 6606 times)

2013-09-16, 20:39:50

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
Here is my problem, maybe someone will help me:

I am trying to make a scene where one object is made of transparent film with printed text on it. You can see it in the attached images.

I made two maps: one for diffuse colour and one for refraction/opacity.

After rendering, all the letters have dark outlines, which is obvious because of antialiasing (re1.jpg). Dark edges of the letters are semi-transparent because of antialiasing in opacity map.

So I tried a different method (re2.jpg) but then the masking shapes are visible because I don't want the film to be completely transparent and diffuse colour is visible.

I also tried saving diffuse map in .png format with alpha channel but max (or Corona?) thinks alpha is white and the effect is still not good (re3.jpg).

I want the film to be opaque where there are letters and shapes and transparent (black with 80% transparency) in the background. And I don't want those dark outlines. I'm lost. How would you do this?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-09-16, 20:51:00
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
Looks like the only way to do this is by disabling antialiasing when saving these bitmaps.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-09-16, 21:57:10
Reply #2

rafpug

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

2013-09-16, 23:59:39
Reply #3

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com

2013-09-17, 10:00:51
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
Yes, but it's not that kind of problem.

Maybe Rafpug is right it can be achieved with some blending magic.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-09-17, 18:56:44
Reply #5

rafpug

  • Active Users
  • **
  • Posts: 722
    • View Profile
Yes, but it's not that kind of problem.

Maybe Rafpug is right it can be achieved with some blending magic.

Hi

...you are magical maru  *_*