rendered paste bodymaterial normal_map_multilight
{
technique
{
pass ambient
{
ambient 1 1 1
diffuse 0 0 0
specular 0 0 0 0
vertex_program_ref ambient_one_texture
{
param_named_auto worldViewProj worldviewproj_matrix
param_named_auto ambient ambient_light_colour
}
}
pass perlight
{
ambient 0 0 0
iteration once_per_light
scene_blend add
fragment_program_ref cgbump_vp
{
param_named_auto lightPosition light_position_object_space 0
param_named_auto worldViewProj worldviewproj_matrix
}
fragment_program_ref cgbump_fp
{
param_named_auto lightDiffuse light_diffuse_colour 0
}
// Add this to child material:
//texture_unit normalmap
//{
// texture arena_bump.jpg
// colour_op replace
//}
}
pass decal
{
lighting off
scene_blend dest_colour zero
vertex_program_ref ambient_one_texture
{
param_named_auto worldViewProj worldviewproj_matrix
param_named ambient float4 1 1 1 1
}
// Add this to child material:
//texture_unit detail
//{
// texture arena.jpg
//}
}
}
}