I'm trying to create a glass texture which blurs and distorts anything behind it, similar to the lab windows in Portal, for CS Source. Is this even possible or is it utilising features post Orange Box?
Glass refraction/blur in CS Source.
-
-
this is possible since the beginning.
usually you need two maps: a dudv and a normal map. i think there are several examples avaible. best way would be to look out for a standard material in the gcf files and import it into photoshop / texteditor.
-
apologies for the stupid question. I had a look through the standard materials in the gcf file and although there are examples there, I couldn't find 'em. I ended up finding an excellent reference map with many examples (25 different maps!!!) for refractive maps made by a guy called "nudel" http://%7boption%7d
I still have no idea what a dudv map is and intend to look into that further. They look unusual and I'm interested in finding out how they're produced.
-
as far as i remember they are generated from a normalmap. but they arent the same. google might help there.
-
they work the very same way as normals do. You use red for left right refraction and green for up/down. Not sure what the blue channel does (most probably zoom)
-
I think DuDv is something to do with wave trasformation over time in two axis.
edit: lol
-
i was actually considering this at some point for a few places in my portfolio map, thanks!
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!