Krzysztof Lesiak
2015-05-18 16:46:26 UTC
Hello,
I'm currently looking for a way to render any model transparently when certain conditions apply. Is there any place I can specify an alpha override on a per-entity basis?
I've read about material proxies, but if I'm correct, I'd have to edit hl2's .vmt files for model textures that I want to render that way, which would be a lot of work. I've also found material_modify_control, but that requires a proxy to be set inside the .vmt too, and I'm not sure if many of hl2's materials use it by default. It'd also change all instances of the material in my map, which I don't want to happen.
It really seems like something that should be easily doable, but I just can't find the right option. Any suggestions?
Krzysztof
I'm currently looking for a way to render any model transparently when certain conditions apply. Is there any place I can specify an alpha override on a per-entity basis?
I've read about material proxies, but if I'm correct, I'd have to edit hl2's .vmt files for model textures that I want to render that way, which would be a lot of work. I've also found material_modify_control, but that requires a proxy to be set inside the .vmt too, and I'm not sure if many of hl2's materials use it by default. It'd also change all instances of the material in my map, which I don't want to happen.
It really seems like something that should be easily doable, but I just can't find the right option. Any suggestions?
Krzysztof