Material - Detail macro AS

From Bohemia Interactive Community
Jump to navigation Jump to search

DT+MC+AS

PixelShaderID = "DetailMacroAS";
VertexShaderID = "BasicAS";

class Stage1
{
	texture = "temp\domek\Omitka1_detail.paa";
	uvSource = "tex";
	class uvTransform
	{
		aside[]	= { 16, 0, 0 };
		up[]	= { 0, 16, 0 };
		dir[]	= { 0, 0, 16 };
		pos[]	= { 0, 0, 0 };
	};
};

class Stage2
{
	texture = "temp\domek\test02_MC.tga";
	uvSource = "tex1"; // coordinates from 2.UV set
};

class Stage3
{
	texture = "temp\domek\TestUV2_AS.tga";
	uvSource = "tex1"; // coordinates from 2.UV set
};