Page 1 of 1

Black textures as hit faders appear as transparent.

Posted: 12 Feb 2018, 01:53
by mattwla
Hi,

I am trying to change the hitfader texture for my game.

I can edit the texture from MW in gimp, and I can make it any color I want (tried green and blue). I can make it gray too. But, if it is black, it just appears as totally see through in game.

Any suggestions how to get around this? Think it is a matter of how the texture is saved, or is this something to conquer through source? I've been hunting for MyGui things to change around.

Appreciate any leads,

Thank you

Re: Black textures as hit faders appear as transparent.

Posted: 12 Feb 2018, 17:58
by scrawl
Morrowind's hit fader uses additive rendering. If you add black (=0) to something, nothing will happen.

openmw_layers.xml:

Code: Select all

    <Layer name="AdditiveOverlay" type="AdditiveLayer" pick="false"/>
Just remove the type="AdditiveLayer".

Re: Black textures as hit faders appear as transparent.

Posted: 14 Feb 2018, 15:46
by mattwla
Thank you, exactly the info I needed,