I exported a mesh with BLENDER 2.66
and as always I integrated the mesh (ogre) data to my program.
But for the first time I exported also the material.
Code: Select all
// Material1 generated by blender2ogre 0.6.0
material Material1
{
receive_shadows on
technique
{
pass Material1
{
ambient 1.0 0.0 0.0 1.0
diffuse 0.800000011920929 0.0 0.0 1.0
specular 0.5 0.5 0.5 1.0 2.5
emissive 0.0 0.0 0.0 1.0
alpha_to_coverage off
colour_write on
cull_hardware clockwise
depth_check on
depth_func less_equal
depth_write on
illumination_stage
light_clip_planes off
light_scissor off
lighting on
normalise_normals off
polygon_mode solid
scene_blend one zero
scene_blend_op add
shading gouraud
transparent_sorting on
}
}
}
Is this possible to use this directly ?
thanks,
marc

