Difference between revisions of "Talk:Material modify control"

From Valve Developer Community
Jump to: navigation, search
Line 9: Line 9:
  
 
Don't works on shader water with parameter "$fogenable" et "$fogcolor". Help pls. --[[User:Anarkia777|Anarkia777]] 21:37, 27 July 2010 (UTC)
 
Don't works on shader water with parameter "$fogenable" et "$fogcolor". Help pls. --[[User:Anarkia777|Anarkia777]] 21:37, 27 July 2010 (UTC)
 +
Edit : Oh ok I thing it's because I forget transform my block water to entity, but water shader don't works on block entity, how I can do ?. --[[User:Anarkia777|Anarkia777]] 22:09, 27 July 2010 (UTC)

Revision as of 22:09, 27 July 2010

Added an important detail to getting this to work in the description. --Gir 01:40, 16 Feb 2007 (PST)

Ooh, didn't know I could use this on models. I'm going to guess "no" but it won't hurt to ask: does it work on env_screenoverlay? Because that would be awesome if it did. --4LT 10:56, 19 Aug 2008 (PDT)

It should if you can get the material proxy in the overlay. And someone how to tie it to that. --JakeB 17:11, 19 Aug 2008 (PDT)
I played around with it, and it seems to work. You have to use material proxy on a brush (or maybe model) that has the material, then apply the same material as a screen overlay. The thing is, using material_modify_control does not work while the overlay is enabled, you have to use it before enabling the screen overlay. --4LT 09:37, 22 Aug 2008 (PDT)


Don't works on shader water with parameter "$fogenable" et "$fogcolor". Help pls. --Anarkia777 21:37, 27 July 2010 (UTC) Edit : Oh ok I thing it's because I forget transform my block water to entity, but water shader don't works on block entity, how I can do ?. --Anarkia777 22:09, 27 July 2010 (UTC)