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

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Some wiki formatting)
 
Line 1: Line 1:
'''NOHQ+DT+MC+AS+SM'''
'''NOHQ+DT+MC+AS+SM'''


specular[] = {0.5,0.5,0.5,0};
<syntaxhighlight lang = "cpp">
specularPower = 10;
specular[] = { 0.5, 0.5, 0.5, 0 };
PixelShaderID="NormalMapDetailMacroASSpecularMap";
specularPower = 10;
VertexShaderID="NormalMapAS";
PixelShaderID = "NormalMapDetailMacroASSpecularMap";
class Stage1
VertexShaderID = "NormalMapAS";
{
 
  texture="temp\domek\normmap_NOHQ.tga";
class Stage1
  uvSource="tex";
{
};
texture = "temp\domek\normmap_NOHQ.tga";
class Stage2
uvSource = "tex";
{
};
  texture="temp\domek\detmap_detail.paa";
 
  uvSource="tex";
class Stage2
  class uvTransform
{
  {
texture = "temp\domek\detmap_detail.paa";
    aside[] = {3,0,0};
uvSource = "tex";
    up[]   = {0,6,0};
class uvTransform
    dir[]   = {0,0,8};
{
    pos[]   = {0,0,0};
aside[] = { 3, 0, 0 };
  };
up[] = { 0, 6, 0 };
};
dir[] = { 0, 0, 8 };
class Stage3
pos[] = { 0, 0, 0 };
{
};
  texture="temp\domek\test02_MC.tga";
};
  uvSource="tex1";
 
};
class Stage3
class Stage4
{
{
texture = "temp\domek\test02_MC.tga";
  texture="temp\domek\TestUV2_AS.tga";
uvSource = "tex1";
  uvSource="tex1";
};
};
 
class Stage5
class Stage4
{
{
  texture="temp\domek\specmap_SM.tga";
texture = "temp\domek\TestUV2_AS.tga";
  uvSource="tex";
uvSource = "tex1";
};
};
 
class Stage5
{
texture = "temp\domek\specmap_SM.tga";
uvSource = "tex";
};
</syntaxhighlight>

Latest revision as of 16:39, 22 March 2024

NOHQ+DT+MC+AS+SM

specular[] = { 0.5, 0.5, 0.5, 0 };
specularPower = 10;
PixelShaderID = "NormalMapDetailMacroASSpecularMap";
VertexShaderID = "NormalMapAS";

class Stage1
{
	texture = "temp\domek\normmap_NOHQ.tga";
	uvSource = "tex";
};

class Stage2
{
	texture = "temp\domek\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\domek\test02_MC.tga";
	uvSource = "tex1";
};

class Stage4
{
	texture = "temp\domek\TestUV2_AS.tga";
	uvSource = "tex1";
};

class Stage5
{
	texture = "temp\domek\specmap_SM.tga";
	uvSource = "tex";
};