Talk:$phong: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 8: Line 8:


Can anyone figure out what $basemapluminancephongmask does? Because it seems interesting to find out what things it can do. --[[User:Breakin' Benny|Breakin' Benny]] 16:37, 10 December 2010 (UTC)
Can anyone figure out what $basemapluminancephongmask does? Because it seems interesting to find out what things it can do. --[[User:Breakin' Benny|Breakin' Benny]] 16:37, 10 December 2010 (UTC)
== Phong matering with envmap? ==
Can a Phong material also have the $envmap parameter?
I tried it, but got some strange results. --[[User:Pandaboy|Pandaboy]] 12:51, 22 June 2013 (PDT)

Revision as of 12:51, 22 June 2013

Anyone figure out what Phongalbedotint does?

Just wondering if anyone found out what the Phongalbedotint does, I'm guessing that it actually uses the colors in the phongexponent texture to determine what color the highlight will be, I say this because on many of the l4d2 textures that have this value set to one have exponent textures that are colored. --Stoopdapoop 13:56, 9 August 2010 (UTC)

Well I believe the albedo is the basetexture so I'd assume it tints the basetexture. --Omnicoder 17:37, 9 August 2010 (UTC)
I've never used that command but I expect that it works the other way around, with the basetexture colour value tinting the phong reflection. --TomEdwards 18:57, 9 August 2010 (UTC)

Base luminance phong mask?

Can anyone figure out what $basemapluminancephongmask does? Because it seems interesting to find out what things it can do. --Breakin' Benny 16:37, 10 December 2010 (UTC)

Phong matering with envmap?

Can a Phong material also have the $envmap parameter? I tried it, but got some strange results. --Pandaboy 12:51, 22 June 2013 (PDT)