Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ambient[]={1,1,1,1};
- diffuse[]={1,1,1,1};
- forcedDiffuse[]={0,0,0,0};
- emmisive[]={0,0,0,1};
- specular[]={0.1,0.1,0.1,0};
- specularPower=40;
- multiTopProjectionLayer = 3; // layer of multi material which will be projected down, -1 = no projection (0 layer can't be used as it's default everywhere)
- degAngleTopProjectionStart = 55; // 0 flat surface, 90 orthogonal to ground (start of blend according surface normal)
- degAngleTopProjectionEnd = 70; // 0 flat surface, 90 orthogonal to ground (end of blend according surface normal)
- multiTopProjectionBlend = 0; // 1 = blend with also original mask, 0 = only top down projection
- multiTopProjectionLayerNormal = 0; // <0, 3> , -1 use geometry normal
- PixelShaderID="Multi";
- VertexShaderID="Multi";
- class TexGen0
- {
- uvSource="tex";
- class uvTransform
- {
- aside[]={1,0,0};
- up[]={0,1,0};
- dir[]={0,0,1};
- pos[]={0,0,0};
- };
- };
- class TexGen1
- {
- uvSource="tex";
- class uvTransform
- {
- aside[]={1,0,0};
- up[]={0,1,0};
- dir[]={0,0,1};
- pos[]={0,0,0};
- };
- };
- class TexGen2
- {
- uvSource="tex";
- class uvTransform
- {
- aside[]={1,0,0};
- up[]={0,1,0};
- dir[]={0,0,1};
- pos[]={0,0,0};
- };
- };
- class TexGen3 //snow
- {
- uvSource="tex";
- class uvTransform
- {
- aside[]={2,0,0};
- up[]={0,2,0};
- dir[]={0,0,1};
- pos[]={0,0,0};
- };
- };
- class TexGen4
- {
- uvSource="tex";
- class uvTransform
- {
- aside[]={1,0,0};
- up[]={0,1,0};
- dir[]={0,0,1};
- pos[]={0,0,0};
- };
- };
- class TexGen5
- {
- uvSource="tex";
- class uvTransform
- {
- aside[]={150,0,0};
- up[]={0,150,0};
- dir[]={0,0,1};
- pos[]={0,0,0};
- };
- };
- class TexGen6
- {
- uvSource="tex";
- class uvTransform
- {
- aside[]={1,0,0};
- up[]={0,1,0};
- dir[]={0,0,1};
- pos[]={0,0,0};
- };
- };
- class TexGen7
- {
- uvSource="tex";
- class uvTransform
- {
- aside[]={1,0,0};
- up[]={0,1,0};
- dir[]={0,0,1};
- pos[]={0,0,0};
- };
- };
- class Stage0 //Base texture for Multimaterial - same as base in p3d file
- {
- texture="kik_Moskow_textures_3\veh\veh_g2_snow_co.paa";
- texGen="0";
- };
- class Stage1 //Red channel - base tilable rock
- {
- texture="#(argb,8,8,3)color(0,0,0,1)";
- texGen="1";
- };
- class Stage2 //Green channel texture - green tilable things like moss or grass
- {
- texture="#(argb,8,8,3)color(0,0,0,1)";
- texGen="2";
- };
- class Stage3 //Blue channel texture - snow
- {
- texture="kik_Moskow_textures\snow\snow_dsc_co.paa";
- texGen="3";
- };
- class Stage4
- {
- texture="#(argb,8,8,3)color(0,0,0,1,Mask)";
- texGen="4";
- };
- class Stage5
- {
- texture="kik_Moskow_textures_3\veh\veh_g2_smdi.paa";
- texGen="7";
- };
- class Stage6
- {
- texture="#(argb,8,8,3)color(0.5,0,0.5,1,DTSMDI)";
- texGen="7";
- };
- class Stage7
- {
- texture="#(argb,8,8,3)color(0.5,0,0.5,1,DTSMDI)";
- texGen="7";
- };
- class Stage8
- {
- texture="kik_Moskow_textures\snow\snow_dsc_smdi.paa";
- texGen="7";
- };
- class Stage9
- {
- texture="#(argb,8,8,3)color(0,0,0,0,MC)";
- texGen="4";
- };
- class Stage10
- {
- texture="#(argb,8,8,3)color(1,1,1,1,ADS)";
- texGen="4";
- };
- class Stage11
- {
- texture="kik_Moskow_textures_3\veh\veh_g2_NOHQ.paa";
- texGen="0";
- };
- class Stage12
- {
- texture="#(argb,8,8,3)color(0.5,0.5,1,1,NOHQ)";
- texGen="1";
- };
- class Stage13
- {
- texture="#(argb,8,8,3)color(0.5,0.5,1,1,NOHQ)";
- texGen="2";
- };
- class Stage14
- {
- texture="kik_Moskow_textures\snow\snow_dsc_nohq.paa";
- texGen="3";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement