|
|
场景中有多个光源, 一个物体, 天空盒. 物体的材质属性
material Shape
{
technique Default
{
pass Main
{
ambient 0.164706 0.2 0.933333 1
specular 0.9 0.9 0.9 1 0.1
iteration once_per_light
scene_blend add
vertex_program_ref BlinnVP
{
}
fragment_program_ref Blinn_Pure_FP
{
param_named ambientColor float4 0.164706 0.2 0.933333 1
param_named diffuseColor float4 0.164706 0.2 0.933333 1
param_named specularColor float4 0.9 0.9 0.9 1
param_named specularLevel float 0
param_named glossLevel float 10
param_named opacity float 2.10195e-044
}
}
}
}
中设置了: iteration once_per_light
scene_blend add
结果从物体中可以看到天空盒,太奇怪了,请高手指点?
|
|