上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 27 下一页
摘要: This sample shows how to apply Spherical Harmonic diffuse lighting as Global Illusion (GI). GI could give some more realistic effect to improve the global lighting effect than the traditional ambie... 阅读全文
posted @ 2012-09-03 23:54 opencoder 阅读(703) 评论(0) 推荐(0) 编辑
摘要: This program is ParallaxOcclusionMapping Sample from D3D samples. I touch this technology because I found some one use DXT5 format as normal maps. DXT5 means the texture still keep full range of al... 阅读全文
posted @ 2012-08-24 09:01 opencoder 阅读(383) 评论(0) 推荐(0) 编辑
摘要: Today, I found this very interesting program when I was surfing on the Internet. Occlusion culling, that is a big topic on Computer Graphic industry. The original passage come from here: http://ww... 阅读全文
posted @ 2012-08-24 08:53 opencoder 阅读(519) 评论(0) 推荐(0) 编辑
摘要: This demo shows how D3D hardware instance works. HW Instance means call DrawIndexedPrimitive on time, but with a group of geometry rendered. Those geometries could be positioned in different place ... 阅读全文
posted @ 2012-08-24 08:48 opencoder 阅读(373) 评论(0) 推荐(0) 编辑
摘要: This demo shows how to apply the render to texture target feature with D3D API. The whole content of the Quad geometry was rendered into a texture, and after a cube mesh take this texture as it’s d... 阅读全文
posted @ 2012-08-24 08:42 opencoder 阅读(545) 评论(0) 推荐(0) 编辑
摘要: This demo shows how to using d3d alpha blend. Before you switch on the alpha blend operation, you should specify where this alpha value come from. We could specify this alpha value come from the ma... 阅读全文
posted @ 2012-08-24 08:40 opencoder 阅读(326) 评论(0) 推荐(0) 编辑
摘要: This demo come from book <Direct3D Graphic Programming introduction>. It show mirror effect and shadow effect, both of them using stencil buffer. In the mirror effect, the stencil buffer used to fi... 阅读全文
posted @ 2012-08-24 08:36 opencoder 阅读(292) 评论(0) 推荐(0) 编辑
摘要: The demo how to use D3D vertex shader and pixel shaders. The difference between GPU API rendering and shaders one is not so hurge. While using shaders, you need to create vertex declaration instead... 阅读全文
posted @ 2012-08-24 08:34 opencoder 阅读(392) 评论(0) 推荐(0) 编辑
摘要: This demo shows the D3D lighting + texture. More accurately, you should name such texture as diffuse map. There are a lots of map exist, not only diffuse map. Like specular map, cube map or environ... 阅读全文
posted @ 2012-08-24 08:32 opencoder 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Based on the previous D3D Frame work demo, I write a simple program that using D3D hardware lighting. HW lighting means just use some D3D lighting API to create the lighting effect instead lighting... 阅读全文
posted @ 2012-08-24 08:31 opencoder 阅读(153) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 27 下一页