Translucent Lines in UDMF have high brightness?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
metroid014
Posts: 112
Joined: Mon Aug 03, 2009 8:36 pm

Translucent Lines in UDMF have high brightness?

Post by metroid014 »

Excuse the poor wording of the title. Anyways when I attempt to make a translucent line in the UDMF format through the use of the Translucent checkbox and setting the value in the custom tab. The translucent line appears to have 255 brightness attributed to it, making things behind it seem brighter. How do I go about fixing this?
Image
All the sectors seen in this image have the same brightness by the way. Yet as you can see beyond the translucent line it appears much brighter.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Translucent Lines in UDMF have high brightness?

Post by Ceeb »

1: DO NOT SET THE TRANSLUCENT CHECKBOX. It does nothing and is only for Strife compatability.

2: Are you sure you didn't set Additive Translucency?

3: What did you set the alpha to?
metroid014
Posts: 112
Joined: Mon Aug 03, 2009 8:36 pm

Re: Translucent Lines in UDMF have high brightness?

Post by metroid014 »

Ceeb wrote:1: DO NOT SET THE TRANSLUCENT CHECKBOX. It does nothing and is only for Strife compatability.
Alright, I unchecked it.
Ceeb wrote: 2: Are you sure you didn't set Additive Translucency?
I did set additive, however changing it to just "Translucent" makes it not translucent at all.
Ceeb wrote:3: What did you set the alpha to?
128.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Translucent Lines in UDMF have high brightness?

Post by Ceeb »

Alright, here we go now.

1: Additive blends the texture into ones behind it. Translucent is what it sounds like. You want translucent.

2: The alpha is a decimal value. 1 is whole. 0.5 would be half visible. Setting it to 128 apparently just causes the engine to wig out. :roll: So there's your problem. Remember, when you see "float", it means it needs a decimalized value. "Integer" or "int" means whole numbers. The more you know. ;)
metroid014
Posts: 112
Joined: Mon Aug 03, 2009 8:36 pm

Re: Translucent Lines in UDMF have high brightness?

Post by metroid014 »

Ceeb wrote:Alright, here we go now.

1: Additive blends the texture into ones behind it. Translucent is what it sounds like. You want translucent.

2: The alpha is a decimal value. 1 is whole. 0.5 would be half visible. Setting it to 128 apparently just causes the engine to wig out. :roll: So there's your problem. Remember, when you see "float", it means it needs a decimalized value. "Integer" or "int" means whole numbers. The more you know. ;)
Alright I switched it to Translucent, and I began making it a decimal value. I feel stupid about the 128, im used to Doom in Hexen where you specify a value for translucency. With a decimal value though, things now appear darker beyond the line. I have a feeling that's unfix-able or just a part of translucency though...
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Translucent Lines in UDMF have high brightness?

Post by Ceeb »

Well, take note of how things look through glass.
metroid014
Posts: 112
Joined: Mon Aug 03, 2009 8:36 pm

Re: Translucent Lines in UDMF have high brightness?

Post by metroid014 »

Very true, my friend. Thank you very much :)
Locked

Return to “Editing (Archive)”