• <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>

            實(shí)時(shí)陰影繪制技術(shù)研究

            C++博客 首頁(yè) 新隨筆 聯(lián)系 聚合 管理
              48 Posts :: 20 Stories :: 57 Comments :: 0 Trackbacks
            今天無(wú)意間鏈到了Unreal的網(wǎng)頁(yè),看到了UnReal Engine 3的overview.因?yàn)槭怯螒蛞妫灾T如物理系統(tǒng)、腳本系統(tǒng)、動(dòng)畫(huà)、AI、聲音、網(wǎng)絡(luò)基本都不在我的觀察之列,我只看了一下visual effect,并著重研究了一下當(dāng)前最好引擎的陰影實(shí)現(xiàn)效果。
            下面是Unreal Engine 3自己的陳述和截圖。
             

            Visual Features

            1. 64-bit color High Dynamic Range rendering pipeline. The gamma-correct, linear color space renderer provides for immaculate color precision while supporting a wide range of post processing effects such as light blooms, lenticular halos, and depth-of-field.
            2. Support for all modern per-pixel lighting and rendering techniques including normal mapped, parameterized Phong lighting; custom artist controlled per material lighting models including anisotropic effects; virtual displacement mapping; light attenuation functions; pre-computed shadow masks; directional light maps; and pre-computed bump-granularity self-shadowing using spherical harmonic maps.
            3. Advanced Dynamic Shadowing. Unreal Engine 3 provides full support for four shadowing techniques:
              • Dynamic stencil buffered shadow volumes supporting fully dynamic, moving light sources casting accurate shadows on all objects in the scene.
              • Dynamic characters casting dynamic soft, fuzzy shadows on the scene using 16X-oversampled shadow buffers.
              • Ultra high quality and high performance pre-computed shadow masks allow offline processing of static light interactions, while retaining fully dynamic specular lighting and reflections.
              • Directional Light Mapping enables the static shadowing and diffuse normal-mapped lighting of an unlimited number of lights to be precomputed and stored into a single set of texture maps, enabling very large light counts in high-performance scenes.
            4. All of the supported shadow techniques are visually compatible and may be mixed freely at the artist's discretion, and may be combined with colored attenuation functions enabling properly shadowed directional, spotlight, and projector lighting effects.
            5. Powerful material system, enabling artists to create arbitrarily complex realtime shaders on-the-fly in a visual interface that is comparable in power to the non-realtime functionality provided by Maya.
            6. The material framework is modular, so programmers can add not just new shader programs, but shader components which artists can connect with other components on-the-fly, resulting in dynamic composition and compilation of shader code.
            7. Full support for seamlessly interconnected indoor and outdoor environments with dynamic per-pixel lighting and shadowing supported everywhere.
            8. Artists can build terrain using a dynamically-deformable base height map extended by multiple layers of smoothly-blended materials including displacement maps, normal maps and arbitrarily complex materials, dynamic LOD-based tessellation, and vegetation layers with procedurally-placed meshes. Further, the terrain system supports artist-controlled layers of procedural weathering, for example, grass and vegetation on the flat areas of terrain, rock on high slopes, and snow at the peaks.
            9. Volumetric environmental effects including height fog.
            10. Extensible particle system with visual editor, supporting particle physics and environmental effects.

            我們可以看到在全部Unreal官方展示出來(lái)的效果中有四條提到了陰影,而且最大篇幅的一條給了陰影,這多少還是可以說(shuō)明我們研究這個(gè)東西還是有點(diǎn)價(jià)值的。

            Characters in Unreal Engine 3 produce dynamic soft shadows with self-shadowing.
            Shadows with fuzzy attenuation sweep around the scene as the torch moves.
            Artist-authored panning and iridescent materials all seamlessly combine with per-pixel lighting and shadowing.
            Normal-mapped translucent object distorts and attenuates the frame buffer, simulating ray-traced reflections.
            The fuzzy shadows of clouds smoothly roll across the hills, while the windmill's rotating blades cast shadows on the ground beneath.
            Soft-shadowed character standing in a bank of volumetric fog.
            Light blooms using 64-bit color High Dynamic Range color.
            The subtle interplay of normal mapped diffuse and specular lighting with fuzzy shadows.
             

            可以看到:

            1. Unreal Engine 3里邊實(shí)現(xiàn)了"soft,fuzzy"的陰影,并沒(méi)有說(shuō)是physically exact,同時(shí)也提到了是"Dynamic characters"投射的,也就是說(shuō)軟陰影仍然是有條件的。
            2. 預(yù)計(jì)算的陰影掩碼和紋理仍然是產(chǎn)生良好陰影效果的主要手段,動(dòng)態(tài)對(duì)象的陰影仍然采用shadow volume的方式。
            3. 從圖片效果來(lái)看,場(chǎng)景的陰影/光照效果看起來(lái)好像仍然采用紋理的方式,物體的陰影的柔和度并不明顯。當(dāng)然這也可能是室外場(chǎng)景的原因,但是號(hào)稱(chēng)可以在室內(nèi)室外場(chǎng)景做到無(wú)縫鏈接的Unreal Engine 3并沒(méi)有給我們展示"很柔和"的陰影。

            今天我還根據(jù)同步blog的一篇關(guān)于Source引擎的文章回復(fù)看了一點(diǎn)HDR,發(fā)現(xiàn)doom3里邊還沒(méi)有真正的HDR,只有bloom,但是到了far cry1.3 patch,以及后來(lái)的valve source,Unreal3已經(jīng)提到把HDR實(shí)現(xiàn)了很好的效果。那么同shadow相比較來(lái)說(shuō),目前的shdow仍然在doom3的shadow volume與貼圖技術(shù)混合使用的方法中,有待進(jìn)一步革新。

            原載:http://blog.sina.com.cn/u/40d00f170100020r

            posted on 2006-01-16 18:25 苦行僧 閱讀(5836) 評(píng)論(0)  編輯 收藏 引用 所屬分類(lèi): shadow 、rendering engine
            亚洲国产精品久久66| 久久久午夜精品| 国产V亚洲V天堂无码久久久| 99久久成人国产精品免费| 国产成人无码精品久久久免费| 久久精品国产精品亚洲| 五月丁香综合激情六月久久| 久久这里只有精品首页| 久久久国产视频| A级毛片无码久久精品免费| 久久精品国产亚洲av麻豆蜜芽| 国产精品久久久久影院嫩草| 一本色道久久88综合日韩精品 | 九九热久久免费视频| 亚洲狠狠婷婷综合久久久久| 久久免费视频一区| 国产麻豆精品久久一二三| 亚洲国产精品一区二区三区久久 | 香蕉aa三级久久毛片| 久久国产精品久久| 无码任你躁久久久久久老妇App| 99久久精品无码一区二区毛片| 色综合久久久久无码专区| 久久久久亚洲爆乳少妇无| 女人香蕉久久**毛片精品| 久久棈精品久久久久久噜噜| 人人狠狠综合久久亚洲高清| 91久久成人免费| 久久精品视频免费| 狠狠色丁香婷婷久久综合不卡| 免费精品久久天干天干| 久久天天躁夜夜躁狠狠躁2022| 久久男人中文字幕资源站| 久久久久亚洲AV综合波多野结衣 | 国产91色综合久久免费| 人妻无码久久一区二区三区免费 | 狠狠色丁香久久婷婷综合蜜芽五月| 99久久精品费精品国产| 精品久久一区二区三区| 国产精品久久自在自线观看| 国产精品久久久久久久久鸭|