Displacement Map

Displacement Map effect

置換貼圖效果

The Displacement Map effect distorts a layer by displacing pixels horizontally and vertically based on the color values of pixels in the control layer specified by the Displacement Map Layer property. The type of distortion created by the Displacement Map effect can vary greatly, depending on the control layer and options you select.

置換貼圖效果通過置換水平與垂直方向的像素來達(dá)到扭曲圖層的效果,原理是根據(jù)置換貼圖屬性來指定圖層中像素的色值。根據(jù)所選擇的圖層與選項(xiàng)不同,扭曲的類型也會變化很大。


The displacement is determined from the color values of the displacement map. The color values range from 0 to 255. Each value is converted into a scale ranging from -1 to 1. The displacement amount is calculated by multiplying the converted value by the maximum displacement amount you specify. A color value of 0 produces maximum negative displacement (–1 * maximum displacement). A color value of 255 produces maximum positive displacement. A color value of 128 produces no displacement.

置換效果取決于置換圖層的色值,色值范圍從0-255。每一個(gè)值轉(zhuǎn)換為一個(gè)從-1到1的縮放范圍。置換數(shù)量通過轉(zhuǎn)換值乘以指定的最大置換數(shù)量得出。0表示最大數(shù)量的負(fù)置換(-1*最大置換值)255表示最大數(shù)量的正置換。128表示沒有置換。

The effect uses the control layer specified by Displacement Map Layer, without considering any effects or masks. If you want to use the control layer with its effects, precompose it. If the control layer isn’t the same size as the layer to which the effect is applied, it is centered, stretched, or tiled depending on the setting for Displacement Map Behavior.

置換貼圖中的置換層不包含任何效果與遮罩。如果希望使用置換層中的效果,預(yù)合成次圖層。如果置換層與應(yīng)用置換貼圖效果層的尺寸不同,可修改置換貼圖屬性來設(shè)置:居中、拉伸、平鋪。

Select Expand Output to allow the results of the effect to extend beyond the original boundaries of the layer to which it’s applied. Select? Pixels Around to copy pixels displaced outside the original layer boundaries to the opposite side of the layer; that is, pixels pushed off the right side appear on the left side, and so on.

選擇擴(kuò)展輸出可在應(yīng)用了效果的圖層上實(shí)現(xiàn)超過原始素材邊界的效果。選擇扭曲像素包圍表示將在原始圖層邊界外部的像素復(fù)制到圖層的另一側(cè),將右側(cè)的像素推出到左側(cè)。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容