Author Topic: Darker texture with sw renderer  (Read 1611 times)

Offline ErDetEnAnd?

  • int
  • **
  • Posts: 87
    • View Profile
Darker texture with sw renderer
« on: January 04, 2009, 09:53:53 pm »

I'm experiencing darker textures when using the software render, like the guy here:,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?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11970
    • View Profile
Re: Darker texture with sw renderer
« Reply #1 on: January 04, 2009, 11:09:34 pm »
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.
« Last Edit: January 04, 2009, 11:12:06 pm by EgonOlsen »