Page 1 of 1

Ingame DDS teamcolor "rendering" problem

Posted: 29 Jan 2010, 10:57
by Master-Athmos
Hi!

I always wondered if this is just an ATI bug or a general problem in Spring:
I have "problems" with the way teamcolors get rendered on s3o objects. They always seem to have random artifacts like this:
Image

It can't really be the map itself as it should render just fine:
Image

Maybe this also is related to the problem of not getting smooth teamcolor seams. I understand that this is related to the 5bit or whatever compression it was DXT5 uses for the alpha but it might as well be about some kind of bug as things seem smooth in Upspring. So does any else have the very same effect?

Re: Ingame DDS teamcolor "rendering" problem

Posted: 29 Jan 2010, 11:00
by Beherith
Please post the dds file you used in this test shot.

Re: Ingame DDS teamcolor "rendering" problem

Posted: 29 Jan 2010, 11:07
by Master-Athmos
You can get them here:
http://springrts.com/phpbb/viewtopic.ph ... &start=640

It's not just a problem with the textures I made though (no matter if via DDS Photoshop Plugin by NVIDIA or Compressonator). Here e.g. a screenshot from CA:
Image

What's strange though: It doesn't happen for every unit but just a couple of them (or maybe it just renders wrong in a specific situation)...

Re: Ingame DDS teamcolor "rendering" problem

Posted: 29 Jan 2010, 12:56
by jK
will be fixed in 0.81


(I wonder how long this bug was in the code :shock:)

Re: Ingame DDS teamcolor "rendering" problem

Posted: 29 Jan 2010, 13:20
by Master-Athmos
Ah ok so it was a bug...
Any info on what caused it?

Re: Ingame DDS teamcolor "rendering" problem

Posted: 29 Jan 2010, 15:36
by Argh
Yay, thanks for fixing that :-)

Re: Ingame DDS teamcolor "rendering" problem

Posted: 30 Jan 2010, 01:04
by jK
Master-Athmos wrote:Ah ok so it was a bug...
Any info on what caused it?
It was an "uninitialized memory"-bug.
And the bug just affected the alpha-channel of DXT5 textures (DXT3 wasn't affected!).

Re: Ingame DDS teamcolor "rendering" problem

Posted: 30 Jan 2010, 08:27
by Forboding Angel
Yeah I was gonna say, I use png and all of them are fine.