Page 1 of 1

Glass Texture

Posted: Sat Mar 01, 2003 5:48 am
by rezner
Im looking for a regular pane of glass
all i can find are windows with grids

...just glass

Posted: Sat Mar 01, 2003 6:01 am
by mohaa_rox
I don't think there're any window textures.

Posted: Sat Mar 01, 2003 7:16 am
by rezner
Well if they done exist could i use one from RTCW

Posted: Sat Mar 01, 2003 10:06 am
by Gen Cobra
If you really want one just stretch the texture out to the middle of one of the panes and it will be transparent glass. :wink:

Posted: Sat Mar 01, 2003 11:34 am
by nuggets
hey, Good Thinking Gen (i'd already thought of it, but still... good thinking :>), but sometimes u need really really big windows, and applying the texture 2 that can sometimes b a pain in the arse, i'm goin 2 make my own glass texture with just a pain of glass on monday, it's in my tooo dooo list, if some1 will tell me where 2 post it, i'll have it grabbable 4 all u wonderful people out there, (oh and that SGT Stafford chap) :D

Posted: Wed Mar 12, 2003 6:30 pm
by wacko

Posted: Wed Mar 12, 2003 6:57 pm
by General Death
there is texture in the common section called "glass".

in a map it just looks like a big ol pane of glass..hehe

Posted: Wed Mar 12, 2003 8:29 pm
by wacko
Just have found glassclip, so I made this one with no frames and stuff.

Posted: Thu Mar 13, 2003 1:13 am
by Bjarne BZR
Make a shader containing this:

Code: Select all

textures/MyMap/glass
{
	qer_editorimage textures/MyMap/glass.tga
	qer_trans .4
	qer_keyword window
	qer_keyword glass
	surfaceparm glass
	{
		map textures/MyMap/reflection.tga
		tcgen environment
		alphagen const .2
		blendFunc blend
	}
	{
		map textures/MyMap/glass.tga
		depthWrite
		alphaFunc GE128
		nextbundle
		map $lightmap
	}
}
And make 2 .tga files:
glass.tga and reflection.tga

glass.tga should be plain white ( or maby a bit gray ).
reflection.tga should be what is mirrored in the glass ( like a snowy forrest or the inside of an office )
Both .tga's should be 32 bit.
The size of both tga's should be the same.
If you want a big window make a big texture...
Put the files in textures/MyMap/ in main ( or in textures/MyMap/ in a .pk3 placed in main )

I use this kind of reflective windows in my latest map obj/vemork_factory_small ( under downloads ) ... feel free to rip the glass textures :)

PS: replace all MyMap with the name of your map :wink:

Posted: Thu Mar 13, 2003 2:05 am
by TheShiznaeSpe
honor glass on alliedassault.us :wink: