Talk:Env lightglow

From Valve Developer Community
Revision as of 13:35, 17 September 2006 by NykO18 (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Over light sources? Doesn't this entity vanish the closer the player is? The only use I can think of if that's the case, is for transitions between dark and light areas, as seen in the picture. Its disappearance at close range makes it a really poor choice for things like lightbulbs and such. Env_sprite would be a much better choice. --Andreasen 23:34, 16 Sep 2006 (PDT)

You can disable the fading if you like, by setting the MinDist, MaxDist, and OuterMaxDist values appropriately. It also has a flag that allows you to set it directionally, which can be useful with certain light fixtures. Its main disadvantage against the env_sprite is that it uses one glow texture, which can't be changed. --Demented 23:49, 16 Sep 2006 (PDT)
... and that it can't be parented to any other entity. Which is kind of weird because it don't seems to be a complex entity. Well that's kind of strange because as far as I can remember, this entity wasn't "parentable" at all and it seems to be able to do it now.. Andreasen, if you don't wan't the env_lightglow to fade out when you go closer, just set the MinDist at zero and the MaxDist at the smallest distance at which the player is able to see it. --NykO18
I was thinking: What happens if you put the min value as the max value and the max value as the min value? Is it possible? --Andreasen 06:22, 17 Sep 2006 (PDT)
Well, that's a good question. You should try it by yourself =) --NykO18