Light is necessary to enhance the effect of three dimensioned scene. Based on the lighting theory and mechanism, the article mainly analyses how the lighting mechanism influenles the lighting effects by conducting tests. It brings forward solutions to the problem of special light on flat ground, and discusses the balance of effect and efficiency as well. It can be used to the exploitation and application of the Di-rect3D, especially the application of the special lighting effect.%为增强三维场景的真实感,可通过为场景增加光照来实现.文中在光照应用理论的基础上,通过对Direct3D中光照机制的研究,探讨光照机制对光照效果产生的影响.通过实验提出平坦地面特殊灯光效果应用问题的解决方案,并就方案的运行效果和效率进行分析研究,对Direct3D的开发应用尤其是特殊灯光效果的应用具有一定的参考价值.
展开▼