• <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
            <2007年10月>
            30123456
            78910111213
            14151617181920
            21222324252627
            28293031123
            45678910


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

            常用鏈接

            留言簿(94)

            隨筆分類(649)

            隨筆檔案(505)

            相冊

            BCB

            Crytek

            • crymod
            • Crytek's Offical Modding Portal

            Game Industry

            OGRE

            other

            Programmers

            Qt

            WOW Stuff

            搜索

            •  

            積分與排名

            • 積分 - 912421
            • 排名 - 14

            最新隨筆

            最新評論

            閱讀排行榜

            評論排行榜


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

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

            要真正理解這玩意兒,還得看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 七星重劍 閱讀(1308) 評論(0)  編輯 收藏 引用 所屬分類: Game GraphicsHLSL&ShaderMonkey
            久久精品一区二区| 国内精品人妻无码久久久影院导航| 国产毛片欧美毛片久久久| 亚洲精品乱码久久久久久| 久久久久亚洲av无码专区喷水 | 伊人久久综合无码成人网| 久久综合国产乱子伦精品免费| 精品久久久久久国产91| 久久天天躁狠狠躁夜夜2020 | 97精品伊人久久大香线蕉| 2022年国产精品久久久久| 久久伊人精品一区二区三区| 久久青青草原精品影院| 成人久久免费网站| 久久青青草原精品国产不卡| 久久er99热精品一区二区| 午夜精品久久影院蜜桃| 青草影院天堂男人久久| 麻豆成人久久精品二区三区免费| 久久久中文字幕日本| 一本大道久久a久久精品综合| 久久香蕉超碰97国产精品| 一本色道久久88—综合亚洲精品| 久久精品免费网站网| 久久成人影院精品777| 久久成人国产精品| 久久精品国产第一区二区三区| 久久精品中文字幕一区| 久久久噜噜噜久久中文字幕色伊伊 | 久久久www免费人成精品| 久久有码中文字幕| 欧美性猛交xxxx免费看久久久| 国产精品成人精品久久久 | 久久伊人五月丁香狠狠色| 波多野结衣久久一区二区| 亚洲精品久久久www| 怡红院日本一道日本久久 | 久久久久久精品成人免费图片| 日韩久久无码免费毛片软件| 久久97久久97精品免视看| 国产成人精品久久一区二区三区av |