2009年10月29日

Pixel Shader - 像素着色

摘要: IntroductionPixel Shader是一段执行在GPU上的程序,只限于光栅化阶段。与Vertex Shader不同的是,D3D不会使用软件模拟Pixel Shader,Pixel Shader基本上取代了fixed pipeline中的multitexturing阶段,它使我们能够直接操作单独的像素,访问他们的纹理坐标,这使我们能够获得许多特效,比如多重纹理,逐像素光照,depth of field, 云效果,火焰效果,以及一些成熟的着色技术。Multitexturing因为Multitexturing是能用Pixel Shader实现的最简单的技术,所以我们有必要看一下什么是Mu 阅读全文

posted @ 2009-10-29 16:38 前端风云志 阅读(1533) 评论(2) 推荐(0)

散射光的计算方法

摘要: diffuse lighting calculates the amount of light that a vertex receives based on the angle between the vertex normal and the light vector (which points in the direction of the light source). The smalle... 阅读全文

posted @ 2009-10-29 10:51 前端风云志 阅读(582) 评论(0) 推荐(0)

list of shading algorithm

摘要: http://en.wikipedia.org/wiki/List_of_common_shading_algorithms 阅读全文

posted @ 2009-10-29 10:49 前端风云志 阅读(318) 评论(0) 推荐(0)

导航

关注我

前端风云志