PDA

View Full Version : How do I create glass?



Longshot
March 7th, 2009, 12:20 AM
So I've got this map, but I need to add a glass texture to some of the windows/doors, but I'm not sure how to do it. I don't think the HEK came with any glass textures, so I'm really lost here.

I know I'd use the % to make it two-sided and all, I really just need a texture I think.

Can anyone fill me in?

p0lar_bear
March 7th, 2009, 02:02 AM
First off, glass uses its own shader: shader_transparent_glass

The HEK comes with some examples, look in each folder in the levels folder.

Longshot
March 7th, 2009, 03:36 AM
Thanks a lot, worked perfectly!

Also is it possible to create textures by screen capping them straight from Guerilla? The current texture I'm using is out of place.

.Wolf™
March 7th, 2009, 04:40 AM
Use uvw/uvw Unwrap in 3ds max/gmax to get the textures place where you want and point in the direction you want them to.

p0lar_bear
March 7th, 2009, 10:58 AM
Thanks a lot, worked perfectly!

Also is it possible to create textures by screen capping them straight from Guerilla? The current texture I'm using is out of place.

Yeah, open a bitmap, view it, screenshot it, and then crop it so you've got the highest-res mipmap. Then do it again for the alpha channel, and save it as a TIF as if you were going to recompile it.

_TheArbiter_
March 7th, 2009, 01:16 PM
Or you could use the bitmap extractor firescythe made. Search for it on halomaps (www.halomaps.org)

Inferno
March 7th, 2009, 01:25 PM
Which is slow as hell. It takes forever to extract anything over 256x256.

_TheArbiter_
March 7th, 2009, 08:52 PM
Which is slow as hell. It takes forever to extract anything over 256x256.

Only for you then. I just extracted a 1024x1024 bitmap instantly, and with no errors.