Is it possible to make brushes glow?

Is it possible to make brushes glow?

Re: Is it possible to make brushes glow? Posted by Orkin on Tue Jan 25th 2005 at 7:56pm
Orkin
13 posts
Posted 2005-01-25 7:56pm
Orkin
member
13 posts 1 snarkmarks Registered: Jan 7th 2005 Occupation: Network Administrator Location: USA
I think this has been mentioned before, but I searched and can't find any answers.

I'm trying to make a decent looking glow for my fluorescent lights (I'm using the fluorescent light texture defined in lights.rad). The lighting works great, but when looking at the actual light...it just doesn't look bright enough, so I want to add a nice glow effect to them.

I tried using env_lightglow...but it fades out when you get close, and doesn't quite look right anyway.

I also tried using env_sprite, but all the sprites are round, and the light source is rectangular...which looks weird.

The last thing I thought of was using a rectangular brush about the size of my lights textured with a nice glow texture, tied to a func_brush entity with the render mode set to Glow or World Space Glow (not sure what the difference is, but the latter is used by Valve for most light glows). In Hammer it looks pretty good, but in-game it's rendered without any alpha...it draws the black parts of the texture along with the white part.

Is there any way to get the render mode to work properly with a bush entity, or is there some other way to make a good-looking rectangular glow?
Re: Is it possible to make brushes glow? Posted by RaPtoR on Tue Jan 25th 2005 at 8:10pm
RaPtoR
212 posts
Posted 2005-01-25 8:10pm
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
Yes, tie your object to a func_brush, and select "glow" as your
perfered "Render Mode". I think you'll get it to work if you experiment
with the settings a bit.
Re: Is it possible to make brushes glow? Posted by Orkin on Wed Jan 26th 2005 at 4:38pm
Orkin
13 posts
Posted 2005-01-26 4:38pm
Orkin
member
13 posts 1 snarkmarks Registered: Jan 7th 2005 Occupation: Network Administrator Location: USA
This doesn't seem to work. The closest I got was when I tried using an "additive" texture, but even then it was tinted purple when I set the render mode to "Glow", and tinted yellow when I set it to "Additive".

It looks like it just may not be possible.
Re: Is it possible to make brushes glow? Posted by Andrei on Wed Jan 26th 2005 at 4:45pm
Andrei
2455 posts
Posted 2005-01-26 4:45pm
Andrei
member
2455 posts 1248 snarkmarks Registered: Sep 15th 2003 Location: Bucharest, Romania
I'm not sure I fully understood what you mean, but here goes: Put a func_illusionary, about the same size with the brush you want to glow, over the mentioned brush. Make sure the surface of the illusionary doesn't overlap with the brush (don't know how to explain, let's just say the illusionary needs to be half a unit off the surface of the brush). Then set the illusionary like this:

RenderFX "Slow Wide Pulse" (for example)
RenderMode "Additive"
Rendernt "60"

Not sure if setting rendercolor will do anything. Doubt it.

Then look for a blank red/blue/yellow texture and apply it to the func_illusionary.
This should make your brush glow (I used this effect with HL1, and worked nicely).
Re: Is it possible to make brushes glow? Posted by DrGlass on Wed Jan 26th 2005 at 5:31pm
DrGlass
1825 posts
Posted 2005-01-26 5:31pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
You can also make a white (or any color solid texture) add that texture
to your
.rad
file
Then place a brush in the shape you want and apply your new
texture to it.

Now to make it 'glow' place one or two env_sprite along the length of the brush.

It should look fine in game.