Wierd transparency bug..

Wierd transparency bug..

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Wierd transparency bug..

Post by smoth »

I don't know if it is just me so I didn't post this on mantis...

Image
Attachments
screen080.jpg
(222.74 KiB) Downloaded 3 times
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Wierd transparency bug..

Post by zerver »

Are you referring to the fact that the horizon is so clearly visible in the tree? Maybe the trees' alpha texture is not a "mask" but contains semi transparent pixels? If it does, then this kind of bug is real hard to avoid.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Wierd transparency bug..

Post by smoth »

The area that is redering weird is not even 1/8th a pixel.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Wierd transparency bug..

Post by jK »

It's called AlphaToCoverage. check your gfx driver settings.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Wierd transparency bug..

Post by smoth »

It wasn't this way back in 77/76.

I checked.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Re: Wierd transparency bug..

Post by aGorm »

I did leave the alpha with semi transparent pixles, but It didn't effect it at the time, (in fact I sure when I did it I checked what I needed to do and it said anything not solid white would be treated as black... so I left it like that (lazy I know...) )

aGorm
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Wierd transparency bug..

Post by smoth »

It does it for all transparencies. it isn't your fault.

The engine is doing something funny now.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Wierd transparency bug..

Post by smoth »

since people felt that even my ignorant explanation was good enough..

http://springrts.com/mantis/view.php?id=1755
Post Reply

Return to “Engine”