Talk:$blendmodulatetexture

From Valve Developer Community
Revision as of 10:26, 15 April 2011 by TrojanMonkey (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I'm doubting that this is a material parameter and is more likely a texture parameter. Anyone know for certain? --Coder0xff 00:59, 20 September 2009 (UTC)

Anything with a $ is a material param. How would this even work as a texture param (by which I assume you mean VTEX command)? :P --TomEdwards 10:17, 20 September 2009 (UTC)

I want your opinion on my Modulate Texture.

Modtexb.png

--TheWanderingScarab 20:21, 4 October 2009 (UTC)

Incompatible at L4D2 at 7.5

--user:TrojanMonkey This is a result of field testing, deleting that value is non-productive.

As I mentioned via the edit notes, the vtf version 7.5 was introduced with alienswarm. It's not expected to work in previous engine builds which do not support this version yet, like the ones you are mentioning. It would be counterproductive to reiterate any kind of version incompatibility between any vtf version and source game there is on every single material parameter article here. I won't remove it again to avoid an edit war. Incompatibility issues like this are not worth mentioning in my eyes (because they are to be expected, random example: you can't run games that require at least dx10 on windows xp because that os does not support the required version, though downward compatibility is warranted), but if there's need for better documentation on this matter I would rather suggest to add this kind of information to the vtf article I linked. --Biohazard 09:31, 15 April 2011 (UTC)

--user:TrojanMonkey I agree with you. But I thought it was relevant in case someone, like myself, used examples from Alienswarm and later on could not figure if the file was somehow corrupt or used incorrectly with the material parameters. I stumbled upon the $blendmodulatetexture from Alienswarm, I noticed how the two textures blend with each other in a way I never seen before. (HL2 was my first source game), so when I got around figuring out how they did it, my efforts to make it work returned as hours of figuring what's wrong. That note is for people who are taking examples from Alienswarm. Although, thanks for the heads-up; I will edit the note appropriately.