vray學習筆記(4)混合材質是個什么東西


看下定義:

The Blend material lets you mix two materials on a single side of the surface. 

Blend material材質的出現時為了解決怎么將兩種材質混合的問題而出現的。

混合材質一般用在什么地方呢?

我所了解的是游戲地形方面會用到,我做了一個demo,可以看下效果。

它是由兩個材質構成的,一個是黃土的材質,一個是綠草地的材質,看下材質編輯器里面是個什么情況。

 

上面就是混合材質的直觀感受,我們再回顧下定義,”將兩個材質混合為一個材質“,既然有兩個材質,那么應該需要一個方式來控制兩種材質的混合量,哪個多一些,哪個少一些,這個東西在3dsmax里面是怎么控制的呢?

在3dsmax的官方文檔中我找到了一些東西。

 

為了解決”混合度“的問題,3dsmax提供了兩種方式,第一種mix amount,第二種是mask 貼圖。

 

Mix Amount

Determines the proportion of the blend (percentage). 0 means only Material 1 is visible on the surface; 100 means only Material 2 is visible. Unavailable if you have assigned a mask map and the mask's checkbox is on.
 
Mix Amount控制混合的百分比,0意味着只有材質1是有效的;100意味着只有材質2是有效的,如果你通過mask貼圖來控制混合度,那么mix amount這個功能就失效了。
 
Mask
Click to assign a map to use as a mask. The degree of blending between the two materials depends on the intensity of the mask map. Lighter (whiter) areas of the mask show more of Material 1, while darker (blacker) areas of the mask show more of Material 2. Use the checkbox to turn the mask map on or off.
可以通過mask貼圖來控制混合材質的混合度的問題,混合度和mask貼圖中的像素的亮度有關系,像素越亮的部分表示這個地方材質1的混分份數更多,剩下的少部分是材質2,越黑的地方表示材質2的混合份數越多,剩下的少部分是材質1。
 
大概就是這么個樣子。
 
 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM