节点文献
基于shader实现的光线透射效果
Implementation of light-bleed effect based on shader
【摘要】 真实的模拟光线的透射效果是实时计算机图形学中一个非常令人关注的内容。对于这种自然现象的模拟所要达到的两个目标是真实性和实时性。为了达到这一要求,介绍了一种能够实时并且真实的模拟这种自然现象的算法,在Microsoft Visual Studio开发环境下,利用DirectX 9.0软件包进行3D开发,并结合shader技术编程实现,运行的结果表明此算法是可行的和高效的。
【Abstract】 The realistic representation of light-bleed effect is one of the key topics in real-time computer graphics.Realistic simulating this nature phenomenon has two main aims,which are reality and real-time rendering.To this aim,an algorithm to simulate light-bleed effect realistic and real-time is introduced.Implementation of light-bleed effect is realized by using Microsoft visual studio,DirectX 9.0 and shader technique.The implementation result indicates that this algorithm is feasible and effective.
【关键词】 实时计算机图形学;
光线透射效果;
图形处理器;
混和;
遮挡查询;
【Key words】 real-time rendering; light-bleed effect; GPU; alpha blend; occlusion query;
【Key words】 real-time rendering; light-bleed effect; GPU; alpha blend; occlusion query;
- 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2007年08期
- 【分类号】TP391.41
- 【被引频次】4
- 【下载频次】156