显示标签为“资料”的博文。显示所有博文
显示标签为“资料”的博文。显示所有博文

2009年5月2日星期六

2009年4月2日星期四

Nebula Device Tutorials

http://www.geocities.com/chicoze2/

2009年2月26日星期四

Generating Shaders From HLSL Fragments

Shaders are cool. You can do all sorts of interesting things with them: this and previous ShaderX books are full of examples. Alongside their power, however, programmable shaders can lead to an explosion of permutations: my last Xbox game contained 89 different pixel shaders, and my current project already has far more. Many of these shaders are variations on a few basic themes, for instance level-of-detail approximations of a material, or the same lighting model both with and without animation skinning. The total number of combinations is huge and is increasing all the time. Typing everything out by hand would be time consuming, error prone, and a maintenance nightmare.

This article will describe how to automatically generate large numbers of shader permutations from a smaller set of handwritten input fragments.

全文:Generating Shaders From HLSL Fragments

2009年2月10日星期二

2009年2月8日星期日

2009年2月6日星期五