Material - Normal map detail macro AS: 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}}
'''NO+DT+MC+AS'''
'''NO+DT+MC+AS'''



Latest revision as of 21:31, 31 January 2021

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