Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
creating transparency in textures #89072
09/07/06 19:12
09/07/06 19:12
Joined: Aug 2006
Posts: 10
E
eclecticsoul72 Offline OP
Newbie
eclecticsoul72  Offline OP
Newbie
E

Joined: Aug 2006
Posts: 10
As I understand it, using black (#000000) in a .tga texture file will create transparency, instead of using an alpha channel. I've managed to see this work with messing around with the A6 splash screen, but I can't seem to get it to work when I apply a texture (that uses a transparency) onto an object.

Any ideas?

Thank you.

Re: creating transparency in textures [Re: eclecticsoul72] #89073
09/07/06 19:16
09/07/06 19:16
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
doesn;t have to be a tga for the black to work. you have to flag your object as OVERLAY for the black areas to be transparent. ( not with level geometry)

Re: creating transparency in textures [Re: Grimber] #89074
09/07/06 19:17
09/07/06 19:17
Joined: Aug 2006
Posts: 10
E
eclecticsoul72 Offline OP
Newbie
eclecticsoul72  Offline OP
Newbie
E

Joined: Aug 2006
Posts: 10
thank you.

Re: creating transparency in textures [Re: eclecticsoul72] #89075
09/07/06 21:03
09/07/06 21:03
Joined: Aug 2006
Posts: 10
E
eclecticsoul72 Offline OP
Newbie
eclecticsoul72  Offline OP
Newbie
E

Joined: Aug 2006
Posts: 10
What if we're working with dirty/cracked glass or any other type of translucent material? Just mess with the transparency of the material as a whole?

Re: creating transparency in textures [Re: eclecticsoul72] #89076
09/07/06 22:06
09/07/06 22:06
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
yep, either though your paint program or by the transparency flag and alpha value in the engine/properties/script

Re: creating transparency in textures [Re: Grimber] #89077
09/07/06 22:49
09/07/06 22:49
Joined: Sep 2006
Posts: 94
Sunbury Victoria, AU
Shaque Offline
Junior Member
Shaque  Offline
Junior Member

Joined: Sep 2006
Posts: 94
Sunbury Victoria, AU
Try using overlay on the images to make some drawn areas (not black) semi transparent.


Knowledge is a right, wisdom is a choice.

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1