• <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
            <2025年7月>
            293012345
            6789101112
            13141516171819
            20212223242526
            272829303112
            3456789


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

            常用鏈接

            留言簿(94)

            隨筆分類(649)

            隨筆檔案(505)

            相冊(cè)

            BCB

            Crytek

            • crymod
            • Crytek's Offical Modding Portal

            Game Industry

            OGRE

            other

            Programmers

            Qt

            WOW Stuff

            搜索

            •  

            積分與排名

            • 積分 - 915233
            • 排名 - 14

            最新隨筆

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜


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

            大體看了下《用RenderMonkey 進(jìn)行shader開(kāi)發(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 七星重劍 閱讀(1310) 評(píng)論(0)  編輯 收藏 引用 所屬分類: Game GraphicsHLSL&ShaderMonkey
            久久香蕉一级毛片| 精品久久国产一区二区三区香蕉| 久久99精品久久久久久不卡| 国产精品免费久久久久久久久| 精品人妻久久久久久888| 久久精品国产福利国产秒| 狠狠色综合网站久久久久久久| 久久天天日天天操综合伊人av| 亚洲中文字幕无码久久2017| 欧美午夜精品久久久久免费视| 久久综合久久综合九色| 欧美国产成人久久精品| 久久er国产精品免费观看2| 国产精品久久久久久久久软件| 99久久精品国产高清一区二区| 久久国产成人午夜AV影院| 午夜天堂精品久久久久| 欧美粉嫩小泬久久久久久久 | 亚洲国产成人久久精品99| 欧美喷潮久久久XXXXx| 欧美激情精品久久久久久| 77777亚洲午夜久久多喷| 久久这里有精品| 久久免费视频6| 99久久精品国产一区二区三区 | 91麻豆精品国产91久久久久久| 久久精品国产日本波多野结衣| 久久av免费天堂小草播放| 99久久精品国产一区二区三区 | 亚洲精品无码久久久影院相关影片 | 久久亚洲高清观看| 成人综合伊人五月婷久久| 久久久婷婷五月亚洲97号色| 精品伊人久久久| 久久综合久久综合亚洲| 久久笫一福利免费导航| 亚洲日本va午夜中文字幕久久| 久久99精品久久久久久不卡 | 亚洲精品综合久久| 人人狠狠综合88综合久久| 久久99精品久久久久久不卡|