material tree { transparency_casts_shadows on technique { pass { cull_hardware none cull_software none iteration once lighting off // Oikea PMA: //scene_blend one one_minus_src_alpha // Perus-alphablendi: scene_blend src_alpha one_minus_src_alpha // joka on sama kuin: // scene_blend alpha_blend alpha_rejection greater_equal 160 //depth_write off //ambient 1.0 1.0 1.0 1 //diffuse 1.0 1.0 1.0 1 /////emissive 0.5 0.5 0.5 1.0 specular 0.801 0.801 0.801 68 0 texture_unit { texture tree.png tex_address_mode clamp } } } }