GoldenEye: Source Forums

Debriefing => Questions, Help, & How To's => Topic started by: Boris_Crack on January 25, 2012, 12:04:21 am

Title: Frozen Glass Textures
Post by: Boris_Crack on January 25, 2012, 12:04:21 am
Hey guys! I found out how to create costum textures to use in Hammer for my map. But I would really like to know if someone here as an idea on how to create a texture for frozen glass. Not frozen with ice, frozen like these windows wich you can't really see through, like they're blurred. I would need it for my map.

Thanks.
Title: Re: Frozen Glass Textures
Post by: Rick Astley on January 25, 2012, 12:18:23 am
you mean Frozen....
Title: Re: Frozen Glass Textures
Post by: major on January 25, 2012, 12:22:33 am
Last I heard we had it, but its was extremely resource intensive.
Title: Re: Frozen Glass Textures
Post by: Boris_Crack on January 25, 2012, 12:28:59 am
you mean Frozen....
Yeah...
Title: Re: Frozen Glass Textures
Post by: Boris_Crack on January 25, 2012, 12:29:50 am
Last I heard we had it, but its was extremely resource intensive.
Do you know how to do it?
Title: Re: Frozen Glass Textures
Post by: major on January 25, 2012, 12:34:12 am
Negative, luchador will be one that knows.
Title: Re: Frozen Glass Textures
Post by: Boris_Crack on January 25, 2012, 12:35:15 am
Negative, luchador will be one that knows.
Ok, thank you anyway!
Title: Re: Frozen Glass Textures
Post by: Rodney 1.666 on January 25, 2012, 12:38:18 am
you mean Frozen....

He means Frosted.
Title: Re: Frozen Glass Textures
Post by: Luchador on January 25, 2012, 01:57:20 am
You can create frosted glass in Source using a refractive texture, but as major said, it's very expensive. I'm not an expert, but I made frosted glass for the new Archives. Then I took it out because it was eating up performance. It also quit working whenever I tried to make it not 100% transparent or give it color. Also it might not work at all for people with old computers so you'll have to figure out how to make fallback textures.  I also made a refractive waterfall texture for Casino which isn't used in 4.1 (again, because of performance), but you can still find the files under materials/Goldeneye/Casino/waterfall_normal.

Screenshot of the "waterfall." Notice how unlike regular transparent textures the pixels behind the waterfall are actually displaced. A frosted glass window is similar except without the scrolling.
http://luchadordev.com/images/goldeneyesource/luch_devland0007.jpg (http://luchadordev.com/images/goldeneyesource/luch_devland0007.jpg)

Some links that might be helpful:
https://developer.valvesoftware.com/wiki/Refract (https://developer.valvesoftware.com/wiki/Refract)
http://www.interlopers.net/tutorials/7216 (http://www.interlopers.net/tutorials/7216)
https://developer.valvesoftware.com/wiki/Creating_a_Waterfall_Material (https://developer.valvesoftware.com/wiki/Creating_a_Waterfall_Material)
Title: Re: Frozen Glass Textures
Post by: Boris_Crack on January 25, 2012, 08:04:32 am
You can create frosted glass in Source using a refractive texture, but as major said, it's very expensive. I'm not an expert, but I made frosted glass for the new Archives. Then I took it out because it was eating up performance. It also quit working whenever I tried to make it not 100% transparent or give it color. Also it might not work at all for people with old computers so you'll have to figure out how to make fallback textures.  I also made a refractive waterfall texture for Casino which isn't used in 4.1 (again, because of performance), but you can still find the files under materials/Goldeneye/Casino/waterfall_normal.

Screenshot of the "waterfall." Notice how unlike regular transparent textures the pixels behind the waterfall are actually displaced. A frosted glass window is similar except without the scrolling.
http://luchadordev.com/images/goldeneyesource/luch_devland0007.jpg (http://luchadordev.com/images/goldeneyesource/luch_devland0007.jpg)

Some links that might be helpful:
https://developer.valvesoftware.com/wiki/Refract (https://developer.valvesoftware.com/wiki/Refract)
http://www.interlopers.net/tutorials/7216 (http://www.interlopers.net/tutorials/7216)
https://developer.valvesoftware.com/wiki/Creating_a_Waterfall_Material (https://developer.valvesoftware.com/wiki/Creating_a_Waterfall_Material)
Wow, the image of your waterfall looks really good. Thank you for the information. I'm gonna find another way to do the glass, but thank you very much for pointing me in the right direction. I should be able to give you guys an update soon.