Material - Normal map HQ specular

From Bohemia Interactive Community
Revision as of 19:34, 28 November 2011 by Dwarden (talk | contribs) (Text replace - "{{enHeader}}" to "")
Jump to navigation Jump to search


Material with high quality Normal map and specular map, per pixel specularity

specular[] = {0.5,0.5,0.5,0};
specularPower = 10;
PixelShaderID = "NormalMapSpecularMap";
VertexShaderID = "NormalMap";
class Stage1
{
  texture="temp\NormalMap\normmap_NOHQ.tga";
  uvSource="tex";
};
class Stage2
{
  texture="temp\NormalMap\specmap_SM.tga";
  uvSource="tex";
};