1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.36 Bug Reporting thread
    Solutions and more information may already be available.

Do png's have transparency? (Solved)

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by ThreeDTech21, Oct 15, 2016.

  1. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    I have an alpha texture with transparency but it wont show transparent in game. Am i doing something wrong or do I have to make it a .dds to have transparency?

    Not Transparent.PNG Not Transparent2.PNG
     
  2. randomshortguy

    randomshortguy
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    1,562
    PNGs do support transparency, but DDS is really preferable because it can be compressed in video memory. I don't know if the game engine supports transparency with PNGs (it probably does), but it definitely does with DDS so it's worth the switch.
     
  3. mumboking

    mumboking
    Expand Collapse

    Joined:
    Jun 11, 2015
    Messages:
    1,400
    Code:
    translucentBlendOp = "LerpAlpha";
    That's what most transparent textures I've seen have used.
    But yes, use DDS textures too.
     
    • Like Like x 1
  4. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Ok thanks!
     
  5. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Ok I tried that and it didn't work
     
  6. mumboking

    mumboking
    Expand Collapse

    Joined:
    Jun 11, 2015
    Messages:
    1,400
    Are you sure your texture has an alpha channel once it's saved?
     
  7. Deleted member 160369

    Deleted member 160369
    Expand Collapse
    Guest

    If there's nothing underneath, try using layer 0, instead of 1?

    This usually works for me.
     
  8. iTzPolipolo

    iTzPolipolo
    Expand Collapse

    Joined:
    Mar 4, 2015
    Messages:
    230
    ho i open .dds?
     
  9. Iceman00789

    Iceman00789
    Expand Collapse

    Joined:
    Feb 4, 2013
    Messages:
    72
    It depends on what you are using. For photoshop download the Nvidia Texture Tools.
     
  10. mumboking

    mumboking
    Expand Collapse

    Joined:
    Jun 11, 2015
    Messages:
    1,400
  11. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    This worked! Thanks all, I guess layer 0 is always rendered even if there is no layer 0, it was overriding layer 1

    Capture.PNG
     
    • Like Like x 2
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice