Could someone help? Whenever I made every part of the preset transparent beside the left body and right body. Anyways, whenever I did this, only the eye code is wrong since it's yellow and black. Could some help me with my coding?
material preset_1_bodyMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1bodyL.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_1bodyL.png
}
}
}
}
material preset_1_bodyMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1bodyR.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_1bodyR.png
}
}
}
}
material preset_1_headMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1head.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_1head.png
}
}
}
}
material preset_1_headMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1head.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_1head.png
}
}
}
}
material preset_1_eyeMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 2.000000 2.000000 2.000000 2.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 1.0 1.0 1.0 1.0
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_1eye.png
}
}
}
}
material preset_1_eyeMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 2.000000 2.000000 2.000000 2.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 1.0 1.0 1.0 1.0
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_1eye.png
}
}
}
}
material preset_1_tailMat
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1tail.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_1tail.png
}
}
}
}
material preset_1_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_1mane.png
}
}
}
}