• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 505  文章 - 1034  trackbacks - 0
            <2006年11月>
            2930311234
            567891011
            12131415161718
            19202122232425
            262728293012
            3456789


            子曾經曰過:編程無他,唯手熟爾!

            常用鏈接

            留言簿(94)

            隨筆分類(649)

            隨筆檔案(505)

            相冊

            BCB

            Crytek

            • crymod
            • Crytek's Offical Modding Portal

            Game Industry

            OGRE

            other

            Programmers

            Qt

            WOW Stuff

            搜索

            •  

            積分與排名

            • 積分 - 914474
            • 排名 - 14

            最新隨筆

            最新評論

            閱讀排行榜

            評論排行榜


            總是想看點新鮮的東西,或許是因為生活太單調了。

            大體看了下《用RenderMonkey 進行shader開發(fā)》,學了點皮毛。

            要真正理解這玩意兒,還得看DirectX Documentation.

            Shaders

            At a very high level, data enters the graphics pipeline as a stream of primitives and is processed by up to as many as three shader stages:

            • A vertex shader performs per-vertex processing such as transformations, skinning, vertex displacement, and calculating per-vertex material attributes. Tessellation of higher-order primitives should be done before the vertex shader executes. As a minimum, a vertex shader must output vertex position in homogeneous clip space. Optionally, the vertex shader can output texture coordinates, vertex color, vertex lighting, fog factors, and so on.
            • A geometry shader performs per-primitive processing such as material selection and silhouette-edge detection, and can generate new primitives for point sprite expansion, fin generation, shadow volume extrusion, and single pass rendering to multiple faces of a cube texture.
            • A pixel shader performs per-pixel processing such as texture blending, lighting model computation, and per-pixel normal and/or environmental mapping. Pixel shaders work in concert with vertex shaders; the output of a vertex shader provides the inputs for a pixel shader. In Direct3D 9 some pixel operations (such as fog blending, stencil operations, and render-target blending) occur after the pixel shader is finished.

            These stages are completely programmable using the High Level Shading Language (see HLSL). Authored HLSL shaders can be compiled at author-time or at runtime, and set at runtime into the appropriate pipeline stage.

            All Direct3D 10 shaders are compiled with the shader model 4 target. Functions like D3D10CompileShader and D3D10CompileEffectFromMemory require a shader profile to tell the compiler which shader model to compile for.

            posted on 2007-10-21 04:11 七星重劍 閱讀(1310) 評論(0)  編輯 收藏 引用 所屬分類: Game GraphicsHLSL&ShaderMonkey
            久久午夜夜伦鲁鲁片免费无码影视| 狠狠久久综合伊人不卡| 亚洲Av无码国产情品久久| 精品一久久香蕉国产线看播放| 久久无码AV中文出轨人妻| 久久人做人爽一区二区三区| 久久亚洲春色中文字幕久久久| 久久综合九色综合网站| 久久精品99无色码中文字幕| 亚洲人AV永久一区二区三区久久| 亚洲AV日韩AV永久无码久久| 久久91精品国产91久久麻豆| 亚洲国产日韩欧美久久| 久久综合88熟人妻| 久久久久97国产精华液好用吗| 久久精品国产精品青草app| 久久婷婷激情综合色综合俺也去| 国内精品久久九九国产精品| 亚洲AV日韩精品久久久久久| 亚洲狠狠综合久久| 97久久超碰国产精品旧版| 日本精品久久久久中文字幕| 伊人久久大香线蕉AV一区二区| 偷偷做久久久久网站| 亚洲精品乱码久久久久66| 99久久亚洲综合精品网站| 欧美精品一区二区久久| 久久久噜噜噜久久中文福利| 一本久久精品一区二区| 国产精品禁18久久久夂久| 人妻无码精品久久亚瑟影视| 久久99精品久久久久久噜噜| 久久婷婷成人综合色综合| 亚洲午夜精品久久久久久app| 国产欧美一区二区久久| 久久精品国产亚洲AV影院| 久久久久久av无码免费看大片| 久久免费高清视频| 国产精品岛国久久久久| 国内精品久久久久久久97牛牛| 久久丫精品国产亚洲av不卡|