• <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
            亚洲国产精品婷婷久久| 久久久噜噜噜久久中文字幕色伊伊 | 久久精品国产91久久综合麻豆自制| 丁香五月网久久综合| 国产99久久久国产精品~~牛| 久久www免费人成看片| 久久精品亚洲精品国产欧美| 午夜欧美精品久久久久久久| 久久久噜噜噜久久| www.久久精品| 日韩人妻无码一区二区三区久久99| www.久久精品| 久久国产精品无码HDAV | 精品久久久无码人妻中文字幕豆芽| 久久精品无码av| 97超级碰碰碰碰久久久久| 精品国产乱码久久久久久郑州公司 | 精品久久人人爽天天玩人人妻| 色欲久久久天天天综合网| 久久人人爽人人精品视频| 99热精品久久只有精品| 潮喷大喷水系列无码久久精品| 久久天天躁狠狠躁夜夜2020一 | 精品水蜜桃久久久久久久| 亚洲精品无码久久久影院相关影片 | 日产精品久久久久久久性色| 久久91精品国产91久| 久久婷婷色香五月综合激情| 一级女性全黄久久生活片免费 | 免费无码国产欧美久久18| 一级做a爰片久久毛片看看 | 伊人色综合久久| 99久久成人18免费网站| 99久久精品久久久久久清纯| 99久久国产综合精品成人影院| 国产一区二区三精品久久久无广告 | 久久午夜伦鲁片免费无码| 久久精品国产亚洲av影院| 久久99国产精品一区二区| 国产精品欧美亚洲韩国日本久久| 精品久久久久久无码国产|