如何使用AO貼圖來增強細(xì)節(jié)3迹栓、4
本教學(xué)為翻譯教學(xué),轉(zhuǎn)載請注明來自aboutcg.net,以及注明翻譯者
原教學(xué)出自EVERFLOW STUDIOS網(wǎng)站拐格,原始鏈接如下:
http://www.everflow.com/support/tutorials/AO/Everflow_AmbientOcclusion3.html
http://www.everflow.com/support/tutorials/AO/Everflow_AmbientOcclusion4.html
作者:Bruce
Email:webmeister@everflow.com
翻譯:freeyy
關(guān)于譯者:
請尊重互聯(lián)網(wǎng)道德僧免,轉(zhuǎn)載請注明轉(zhuǎn)載出處和翻譯者,謝謝捏浊!
這是個系列教程懂衩,這是后面的兩個部分。
3.Creating custom occlusion maps
3.創(chuàng)建自定義遮擋貼圖
The skin shader for this model includes Sub Surface Scattering (SSS). This effect is mostly noticeable at the edges of the model as well as the ears. The AO Shader does a great job of accentuating details, but in this instance the Occlusion in the ears hides most of the SSS effect.
這個模型的皮膚著色器包含的次表面散射(SSS)金踪。這個效果在模型的邊緣以及耳朵的地方大部分區(qū)域顯而易見浊洞。AO 著色器在一些突出的細(xì)節(jié)起到了很好的作用,不過在這個實例中耳朵內(nèi)的遮擋因為 SSS 效果而大部分隱藏了胡岔。
What we will do is create a map for the AO shader that will control the strength of the effect, making it weaker at the ears so we keep more of our hard earned SSS.
那么我們這么做才能為 AO 著色器創(chuàng)建一個貼圖從而控制這個效果的強度法希,使它在耳朵區(qū)域減弱,同時更多的保持我們努力得到的 SSS姐军。
Above: an example of the Ambient Occlusion/Displacement with and without the ‘weight’ map. I didn’t want the Occlusion to obscure the detailing of the horn nub displacement as well as the ears.
上面:環(huán)境遮擋/置換以及沒有“權(quán)重”貼圖(譯者:指黑白的置換貼圖)的一個例子。我并不希望遮擋模糊掉角狀物的置換以及耳朵上的細(xì)節(jié)尖淘。
Left: The resulting composite render. The Sub Surface Scattering is still very visible on the left ear.左邊:合成后的渲染結(jié)果奕锌。次表面散射仍然在左耳上清晰可見。
Below: The weight map for the Occlusion. (Wireframe included for your reference)下面:遮擋使用的權(quán)重貼圖村生。(包含線框供你參考)
The application of this technique is quite simple. Using the existing mapping coordinates we paint a simple grayscale image indicating where we want less of the Ambient Occlusion effect. The darker the area, the less Occlusion will be rendered. Absolute black results in no Occlusion rendered on those polygons.
這個技術(shù)的應(yīng)用是非常簡單的惊暴。利用額外的貼圖坐標(biāo)我們繪制一幅簡單的灰度比例圖像來標(biāo)注我們希望那里的環(huán)境遮擋效果較少。暗色的區(qū)域趁桃,將渲染較少的遮擋辽话。在那些多邊形上絕對的黑色將導(dǎo)致沒有遮擋會被渲染。
Once we have our map painted, we apply it to our custom Occlusion Material. Click On the?Surface Slot?in which we have our Ambient Occlusion Base Material. Next click the?map box?next to the Dark Parameter. Select?Bitmap.
一旦我們有了我們繪制好的貼圖后卫病,我們將把它應(yīng)用到我們的自定義遮擋材質(zhì)上油啤。在我們已有的環(huán)境遮擋基礎(chǔ)材質(zhì)上點擊?Surface?貼圖通道。然后點擊 Dark 參數(shù)傍邊的貼圖按鈕蟀苛。選擇?Bitmap益咬。
Next scroll down to the?Output?options on our Weight map. Click?Invert.?This will invert our image. We could have drawn the map initially this way, white on black, but I find it easier to paint black on white over the wireframe and simply invert it in max as opposed to painting it White on Black.
下一步卷動到我們權(quán)重貼圖的?Output?操作部分。點擊?Invert(相反)帜平。這將會反轉(zhuǎn)我們的圖像幽告。我們可以在開始的階段把這個貼圖繪制成梅鹦,也就是在黑色上的白色,不過我找到了更容易些的方法冗锁,把黑色繪制在白色覆蓋的線框圖上然后簡單的在 max 翻轉(zhuǎn)它齐唆,就好像他是在黑色上繪制的白色一樣。
Apply our material to the object in question. Press render. Shake it like a polaroid picture.
應(yīng)用我們的材質(zhì)到先前談到的物體上冻河。點擊渲染箍邮。 然后….(不翻譯這個,這老外有毛病~~)
4 Alternative applications for the shader
4.著色器可選擇的應(yīng)用程序
I will briefly touch upon another possible use for this shader. I sometimes use it to help define mass when using Toon Shaders. This by no means is the only alternative use for this, just one of many. Please experiment and enjoy. Below is a simple comparison with the raw Toon render and the composited Toon render with Ambient Occlusion. Note the accentuation of detail of the eye sockets as well as the side of the head. These details don’t detract from the Toonlike feel, but add important surface information to the viewer.
我將簡短的涉及到這個著色器其它可能的用途芋绸。我有時候在利用卡通著色器的時候利用它來幫助定 義體積媒殉。這里并不意味著這是它唯一可以利用的地方,而是許多方 面的其中之一摔敛。請盡量實驗和享受吧廷蓉。下面是原始卡通渲染與用環(huán)境遮擋合成的卡通渲染的一個簡單比較。注意眼窩以及頭部的側(cè)面被強調(diào)出細(xì)節(jié)马昙。這里的細(xì)節(jié)并沒 有因為卡通樣式的感覺而減少桃犬,而相反的為觀察者添加了重要的表面信息。
hat’s it for now. I hoped this has helped and as usual; feel free to contact me with any questions, comments and suggestions.
-Bruce Updated 5.13.05
暫時就這樣吧行楞。我希望這篇文章就像往常一樣能有幫助攒暇;若干有問題、意見和建議的話可以隨意聯(lián)系我子房。
-Bruce 于 5.13.05