今天学习XNA中的shader,发现了一个挺好的学习网址,保存下来。。。
写写自己郁闷的学习过程,让大家都不再郁闷。。。。
1 - Intro to HSLS, ambient light
2 - Diffuse light
3 - Specular light
4 - Normal mapping
5 - Deform vertex shader
6 - Shader demo: Simple ocean/island scenery
7 - Toon shading
8 - Gloss map
9 - Wiggle post process
10 - Invert post process
11 - Grayscale shader
12 - Pixel distortion shader
13 - Alpha mapping
14 - Transmittance/depth buffers
15 - Dynamic Environment mapping
16 - Refraction
17 - Point light + Self-Shadowing
18 - Multiple Point Lights
19 - Hemispheric ambient light
20 - Depth of Field
21 - Transition: Fade
22 - Transition: Cross
23 - Blur
24 - Bloom
如果觉得对英文比较吃力,国内也是有人翻译了一部分可以参考以下网址,但推荐英文学习,因为比较原版,讲得清楚
下面这个觉得也不错的学习资料。推荐。
1-环境光 http://forum.indiegame.cn/viewthread.php?tid=68
2-纹理加载http://forum.indiegame.cn/viewthread.php?tid=124&extra=page%3D1
3-漫反射与镜面反射http://forum.indiegame.cn/viewthread.php?tid=147&extra=page%3D1
仍然学习中,网址会不断更新。。。。(待续)