Author Topic: Unpremultiplied Alpha  (Read 1823 times)

2017-01-18, 15:51:08

Duron

  • Active Users
  • **
  • Posts: 106
    • View Profile
    • Portfolio
Hi,

i need to make some render to texture files with unpremultiplied alpha channel. I could not find any checkbox at the render settings to make the alpha unpremultiplied. I already set IF to "none" but there is still image filtering...

Version: Jan 11 Daily.

Any help appreciated! 

2017-01-18, 16:08:39
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
Let me guess - are you using Photoshop? :)

I may be wrong, but I think the most important thing here is how the software you are opening your file in interprets opacity. You can easily render an image with alpha channel with nice opacity effects and antialiased edges, and then open it in the right application, and change background to anything you wish, without any artifacts and stuff like that.

If you want to disable antialiasing completely in Corona - to get the alpha channel black and white only, without anything inbetween, you can do it like this:
https://coronarenderer.freshdesk.com/support/solutions/articles/5000516183
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2017-01-18, 17:51:53
Reply #2

Duron

  • Active Users
  • **
  • Posts: 106
    • View Profile
    • Portfolio
OH YES! Thanks!

Quote
bool shading.enableAa = false

This string option was that what i looked for.