• <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年11月>
            28293031123
            45678910
            11121314151617
            18192021222324
            2526272829301
            2345678


            子曾經(jīng)曰過:編程無他,唯手熟爾!

            常用鏈接

            留言簿(94)

            隨筆分類(649)

            隨筆檔案(505)

            相冊(cè)

            BCB

            Crytek

            • crymod
            • Crytek's Offical Modding Portal

            Game Industry

            OGRE

            other

            Programmers

            Qt

            WOW Stuff

            搜索

            •  

            積分與排名

            • 積分 - 911346
            • 排名 - 14

            最新隨筆

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜


            總是想看點(diǎn)新鮮的東西,或許是因?yàn)樯钐珕握{(diào)了。

            大體看了下《用RenderMonkey 進(jìn)行shader開發(fā)》,學(xué)了點(diǎn)皮毛。

            要真正理解這玩意兒,還得看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 七星重劍 閱讀(1306) 評(píng)論(0)  編輯 收藏 引用 所屬分類: Game GraphicsHLSL&ShaderMonkey
            国产一级做a爰片久久毛片| 国产精品美女久久久久网| 国产一区二区精品久久凹凸| 日产精品99久久久久久| 久久精品www| 色婷婷久久综合中文久久蜜桃av| 狠色狠色狠狠色综合久久| 久久亚洲av无码精品浪潮| 久久婷婷久久一区二区三区 | 精品久久久久成人码免费动漫 | 精品久久久久久无码免费| 亚洲第一永久AV网站久久精品男人的天堂AV | 77777亚洲午夜久久多人| 国产精品成人精品久久久| 久久精品水蜜桃av综合天堂| 久久久精品视频免费观看| 亚洲国产精品久久久久婷婷老年| 亚洲国产成人久久精品99| 国产香蕉97碰碰久久人人| 99国产欧美久久久精品蜜芽| 久久久久亚洲av无码专区导航 | 爱做久久久久久| 国产精品熟女福利久久AV| 精品久久久久久无码中文字幕 | 亚洲午夜久久久| 久久久久亚洲av综合波多野结衣| 色偷偷91久久综合噜噜噜噜| 久久精品无码av| 久久精品国产免费观看| 成人久久精品一区二区三区| 国产AV影片久久久久久| 色综合久久天天综线观看| 久久亚洲AV成人无码国产| 久久亚洲精品视频| 国产精品久久久久久吹潮| 久久这里有精品视频| 情人伊人久久综合亚洲| 精品免费久久久久久久| 狠狠色丁香久久婷婷综合图片| 亚洲AV无码1区2区久久| 精品久久久久久无码免费|