Darker texture with sw renderer

Started by ErDetEnAnd?, January 04, 2009, 09:53:53 PM

Previous topic - Next topic

ErDetEnAnd?

Hello.

I'm experiencing darker textures when using the software render, like the guy here:

http://www.jpct.net/forum2/index.php/topic,1016.0.html

I've been trying using the suggested TRANSPARENCY_MODE_ADD, but cant control it.

My textures should be light yellow (like with gl render), but with sw rendering they're dark yellow. I'm using white as additional color to overrule the scene light.

Do you have any ideas?

EgonOlsen

#1
What do you mean by "i can't control it"? However, transparent textures in the software renderer ARE darker than in the hardware renderer and you have less control about the granularity of the transparency levels. This is due to the way the software renderer works. If you can't use MODE_ADD for whatever reason, you can try to brighten the textures when using the software renderer by using an ITextureEffect that does this or by simply using an alternate texture set. Transparency in software and hardware does look different by design (yeah, sounds stupid...but that's how it is...). MODE_ADD is quite similar between both but the default mode behaves different.