Material - Normal map HQ detail map specular: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "^ " to "")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{enHeader}}
'''Material with high quality Normal map, specular and detail map, per pixel specularity'''
'''Material with high quality Normal map, specular and detail map, per pixel specularity'''



Latest revision as of 21:30, 31 January 2021

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";
};