Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ambient[]={
- 0.3, // crown bleed MUL factor
- 0.48, // crown bleed ADD factor
- 0.35, // per-pixel bleed level
- 0.35}; // per-pixel bleed level
- diffuse[]={
- 0.5, // Diffuse + ambient R
- 0.5, // Diffuse + ambient G
- 0.5, // Diffuse + ambient B
- 0.5}; // Transparency MUL factor (2x)
- forcedDiffuse[]={
- 0.35, // per-pixel translucency MUL
- 0.35, // per-pixel translucency ADD
- 0.5, // crown attenuation MUL
- 1.0}; // crown attenuation ADD
- emmisive[]={
- 1.0, // translucency modulation color (for sky) R
- 1.0, // translucency modulation color (for sky) G
- 1.0, // translucency modulation color (for sky) B
- 0.5}; // translucency color MUL factor for main light (x2)
- specular[]={
- 0.00715, // specular color for main light R
- 0.0082, // specular color for main light R
- 0.00512, // specular color for main light R
- 5.51}; // specular color MUL factor for ambient
- specularPower=10; // SpecularPower
- PixelShaderID="TreeAdv";
- //VertexShaderID="TreeAdv";
- VertexShaderID="TreeAdvModNormals";
- class Stage1
- {
- texture="A3\Plants_F\_PolyPlane\data\polyplane_PinusSylvestris_L2_nohq.tga";
- //texture="#(argb,8,8,3)color(0.5,0.5,1.0,1.0,NOHQ)";
- uvSource="tex";
- class uvTransform
- {
- aside[]={1.0,0.0,0.0};
- up[]={0.0,1.0,0.0};
- dir[]={0.0,0.0,0.0};
- pos[]={0.0,0.0,0.0};
- };
- };
- class Stage2
- {
- //texture="#(argb,8,8,3)color(0.5,0.5,0.5,1.0,MCA)";
- texture="A3\Plants_F\Tree\data\t_PinusS2s_a_F_LOD1_Crown_mca.tga";
- uvSource="tex1";
- class uvTransform
- {
- aside[]={1.0,0.0,0.0};
- up[]={0.0,1.0,0.0};
- dir[]={0.0,0.0,0.0};
- pos[]={0.0,0.0,0.0};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement