Talk:Material proxies

From Valve Developer Community
Jump to: navigation, search

Maybe I'm missing something here but how is that the proxies that require an entity talk to it. I want to animate a texture between 3 frames so how is it the entities repsonsibility to tell it to do that and how does it tell it to do that? A couple of working examples wouldn't go amis for this page. --Angry Beaver 16:52, 11 Aug 2006 (PDT)

Where can I find info about these dods parameters and do they work in sourcesdk base? $lightwarptexture $blendmodulatetexture --Bluestrike 10:02, 7 Dec 2006 (PST)

"The following proxies are defined in the client DLL for use in any Source game." Are those ALL the proxies, or is the list incomplete? I've found proxies in the gcf that I don't know if it's in the dll. Apart from those already added, I've also found "DepthWrite" (which is also a shader). --Andreasen 11:23, 28 Jan 2008 (PST)


I'm doing "resultVar" "$color[0] but it's always returning not found. What am I missing?

My proxy: "Proxies" { "TracerScroll" { "textureScrollVarR" "$color[0]" ...

Then in code: char const* nameR = data->GetString( "textureScrollVarR" ); then... m_pTextureScrollVarR = material->FindVar( nameR, &foundR, false );

foundR always returns false.

--Mflux 04:00, 12 October 2009 (UTC)


It's possible to use Proxies with Sprays in game? --Mehiller 10:30, 3 April 2011 (UTC)

I don't know (many apologies), but I would consider this question on a game-to-game basis. For example, L4D Series might have restrictions on sprays that other Valve games don't have.--ThaiGrocer 19:25, 2 April 2011 (UTC)

"Deleted" --Mehiller 18:10, 3 April 2011 (UTC)

You can't modify the vmt of sprays, afaik a default vmt per player is used and its basetexture param is modified to point to your custom spray. --Biohazard 10:51, 3 April 2011 (UTC)
Hmmm... Ok. Of course! That why "temp" folder in "materials" have only .vtf! This folder haven't any .vmt files. --Mehiller 18:10, 3 April 2011 (UTC)