delgado88a Posted December 20, 2011 Share Posted December 20, 2011 Na przykład mam obrazek drzewa na białym tle i chce aby po nałożeniu na plane widniało tylko drzewo a białe tło bylo zupełnie przezroczyste. Chodzi mi o coś ala obiekty 2D w grach PS Próbowałem z plikiem zapisanym w PNG z przezroczystym tłem i nie pomogło Link to comment Share on other sites More sharing options...
żółty Posted December 20, 2011 Share Posted December 20, 2011 musisz wrzucić czarno białą mapę do slotu opacity - to co jest czarne będzie przeźroczyste, to co białe zostanie Link to comment Share on other sites More sharing options...
delgado88a Posted December 20, 2011 Author Share Posted December 20, 2011 Wrzuciłem do slotu opacity. Regulowałem suwakiem od 0 do 100 Plane z obrazkiem zrobił sie tylko (po wyrenderowaniu) czarno biały Link to comment Share on other sites More sharing options...
żółty Posted December 20, 2011 Share Posted December 20, 2011 musisz mieć dwie mapki kolorową, którą ładujesz do slotu diffuse i czarno białą, którą wrzucasz do opacity. Wartość numeryczną zostaw na 100. Mapki mają wyglądać tak : http://wiki.alternativaplatform.com/images/d/d0/2-8.jpg z lewej masz opacity z prawej diffuse 1 Link to comment Share on other sites More sharing options...
delgado88a Posted December 20, 2011 Author Share Posted December 20, 2011 Już próbuje ! Link to comment Share on other sites More sharing options...
delgado88a Posted December 20, 2011 Author Share Posted December 20, 2011 O to chodziło ! Dziekuje serdecznie REP+ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now