Material - Normal map macro AS: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^ " to "")
m (Text replacement - ";[ ]+ " to "; ")
 
Line 23: Line 23:
  {
  {
   texture="#(ai,32,128,1)irradiance(8)";
   texture="#(ai,32,128,1)irradiance(8)";
   uvSource="none";  
   uvSource="none";
  };
  };
  class Stage4
  class Stage4

Latest revision as of 00:53, 8 August 2021

NO+MC+AS

PixelShaderID="NormalMapMacroAS";
VertexShaderID="NormalMapAS";
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\test02_MC.tga";
  uvSource="tex1"; // coordinates from 2.UV set
};
class Stage3
{
  texture="#(ai,32,128,1)irradiance(8)";
  uvSource="none";
};
class Stage4
{
  texture="temp\domek\TestUV2_AS.tga";
  uvSource="tex1"; // coordinates from 2.UV set
};