Code:
ambient[] = {1.0, 1.0, 1.0, 1.0}; //increased ambient to 1.0
diffuse[] = {0.5, 0.5, 0.5, 1.0};
forcedDiffuse[] = {0.5, 0.5, 0.5, 0.5};
emmisive[] = {0.0, 0.0, 0.0, 1.0};
specular[] = {0.045,0.045,0.045,0.2};
specularPower = 300;
PixelShaderID = "TreeAdv";
VertexShaderID = "TreeNoFade";
class Stage1 {
texture = "#(argb,8,8,3)color(0.5,0.5,1.0,1.0,NO)"
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.75,0.75,0.75,0.6,MCA)"; //increased the MCA to 0.75, before it was too dark, think of it as another ambient control
uvSource = "tex";
class uvTransform
{
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,0};
pos[] = {0,0,0};
};
};
//};
yeah they're pretty cool trees, im attempting to make the messmate eucalyptus