I've been trying to teach myself how to make custom shaders in the UDK Material Editor lately, but I'm stuck on how to get a shader to work how I want it to for a project I'm working on. Its going to be a modified glass glass type material that doesn't really make sense, but its purely for aesthetics. I'll try to explain what I'm looking for.
It needs to be a glass material that is only transparents through the area of the window the player is looking through. From the center of the players view, the opacity will gradually falloff until its opaque. Any ideas on how I could accomplish this? Let me know if thats not clear, I can try to explain it better.