Material - Normal map HQ detail map specular

From Bohemia Interactive Community
Revision as of 20:30, 31 January 2021 by Lou Montana (talk | contribs) (Text replacement - "^ " to "")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

specular[] = {0.5,0.5,0.5,0};
specularPower = 10;
PixelShaderID = "NormalMapDetailSpecularMap";
VertexShaderID = "NormalMap";
class Stage1
{
  texture="temp\NormalMap\normmap_NOHQ.tga";
  uvSource="tex";
};
class Stage2
{
  texture="temp\NormalMap\detmap_detail.paa";
  uvSource="tex";
  class uvTransform
  {
    aside[] = {3,0,0};
    up[]    = {0,6,0};
    dir[]   = {0,0,8};
    pos[]   = {0,0,0};
  };
};
class Stage3
{
  texture="temp\NormalMap\specmap_SM.tga";
  uvSource="tex";
};