GLBasic forum

Other languages => GLBasic - de => Topic started by: Worebu on 2014-Oct-14

Title: Transparenz
Post by: Worebu on 2014-Oct-14
Hi Leuts,
gibt es eine Möglichkeit eine Grafik transparent darzustellen. Also das man durch die Grafik hindurchgucken kann. Mit SETTRANSPARENCY kann ich ja nur die Farbe festlegen die Transparent sein soll. Wie bekomme ich das hin das die Grafik transparent ist? Jemand eine Idee ?
Title: Re: Transparenz
Post by: S.O.P.M. on 2014-Oct-14
Schau dir mal bitte die beiden Befehle ALPHAMODE sowie ALPHATESTING an und alles wird gut :)
Title: Re: Transparenz
Post by: Worebu on 2014-Oct-14
Ja Danke, das wollte ich wissen.
Title: Re: Transparenz
Post by: erico on 2014-Oct-14
Also. If you want to have parts with degrees of tranparencies, use png 32 bits for your graphics as they retain the full alpha. Like a car with semi transparent windows for example.
Title: Re: Transparenz
Post by: Schranz0r on 2014-Oct-15
Works in 3D, too!
Title: Re: Transparenz
Post by: Worebu on 2014-Oct-15
OK alles klar . Danke.