Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Sprite transparency issues

Discussion in 'Editor & General Support' started by SammmZ, Mar 13, 2020.

  1. SammmZ

    SammmZ

    Joined:
    Aug 13, 2014
    Posts:
    166


    Hey! I'm trying to make an animated transparent sprite, but having issues with transparency inside the Unity. Upper row - is my original spritesheet, regular transparent png over the black background.
    Lower row - screenshots from unity editor, that's how Unity display it frame by frame. Am I doing something wrong? Or Unity can't handle sprite transparency?
     
  2. SammmZ

    SammmZ

    Joined:
    Aug 13, 2014
    Posts:
    166
    I also found that making a non-transparent grayscale image (from the very same PNG) and asking Unity to make an alpha from gray scale gives much better results. But the question remains the same, unity's native transparency interpretation looks broken :(
     
  3. Romeno

    Romeno

    Joined:
    Jun 24, 2013
    Posts:
    34
    Maybe it has to do with texture import settings: compression format etc
     
  4. TheFellhuhn

    TheFellhuhn

    Joined:
    Feb 3, 2017
    Posts:
    42
    What's your import setting for these sprites?