Material - Normal map detail macro AS

From Bohemia Interactive Community
Jump to navigation Jump to search

NO+DT+MC+AS

PixelShaderID="NormalMapDiffuseMacroAS";
VertexShaderID="NormalMapDiffuseAS";
class Stage1
{
  texture="temp\domek\krabice_up_NO.paa";
  uvSource="tex";
  class uvTransform
  {
    aside[]={1,0,0};
    up[]={0,1,0};
    dir[]={0,0,1};
    pos[]={0,0,0};
  };
};
class Stage2
{
  texture="temp\domek\Omitka1_detail.paa";
  uvSource="tex";
  class uvTransform
  {
    aside[]={1,0,0};
    up[]={0,1,0};
    dir[]={0,0,1};
    pos[]={0,0,0};
  };
};
class Stage3
{
  texture="temp\domek\test02_MC.tga";
  uvSource="tex1"; // souřadnice z 2.UV setu / coordinates from 2.UV set
};
class Stage4
{
  texture="temp\domek\TestUV2_AS.tga";
  uvSource="tex1"; // souřadnice z 2.UV setu / coordinates from 2.UV set
};