Shader Translation
Topics in this section本節專題
- Supported Shaders(Maya) Maya支持的材質
Supported Shaders (Maya)
This document contains all the non-Redshift shaders that we support. With each shader, notable differences between the native dcc implementation and Redshift implementation are also outlined.
這一節的內容包含 Redshift支持的所有非Redshift材質節點。在每個節點的介紹中,三維軟體與Redshift對這一節點處理上的顯著區別被特別標示出來。
For all non-light shaders, we currently support the following Material ports under the Redshift Shading Group Tab:
對於所有非光源節點,我們當前支持Redshfit Shading Group選項卡中的以下埠:
- Surface表面材質
- Shadow陰影材質
- Environment環境材質
- Photon光子材質
- Bump Map凹凸材質
Surface
Anisotropic / Blinn / Lambert / Phong /PhongE
The following input parameters are not supported:下面這些輸入參數是不支持的:
- Ambient Color (Common Material Attributes) 環境顏色(通用材質屬性)
- Bump Mapping (Common Material Attributes) 凹凸貼圖(通用材質屬性)
- (Special Effects) 特殊效果
- (Matt Opacity)遮罩不透明
- Light Absorbance (Raytrace Options)燈光吸收(光線追蹤選項)
- Surface Thickness (Raytrace Options)表面厚度(光線追蹤選項)
- Shadow Attenuation (Raytrace Options)陰影衰減(光線追蹤選項)
- Chromatic Aberration (Raytrace Options)色差(光線追蹤選項)
- (Vector Renderer Control)矢量渲染控制
The following output parameters are not supported:下面這些輸出參數是不支持的
- outGlowColor輸出光暈顏色
- outMatteOpacity數尺遮罩不透明
Internally the BRDF is translated to the Redshift material Ashikhmin-Shirley model, instead of the native Maya implementation.
這裡強調一下,BRDF被編譯成Redshift材質叫作Ashikhmin-shirley
Model模型,代替一些Maya材質執行。SurfaceShader
The following parameters are not supported:下面屬性不被Redshift支持:
- Out Glow Color輸出光暈顏色
- Out Matte Opacity輸出遮罩不透明
LayeredShader層材質
Due to memory restrictions, only 7 layers are supported.由於顯存限制,僅僅支持7層材質。
2D Textures
Bulge凸起
Checker棋盤格
Cloth布料
File文件
The following parameters are not supported:下面節點屬性Redshift不支持:
- Filter Type (see Renderer Settings -> Optimizations ->Texture Sampling) (File Attributes)
- Pre Filter (File Attributes)
- Pre Filter Radius (File Attributes)
- Use BOT (File Attributes)
- Disable File Load (File Attributes)
- (Interactive Sequence Caching Options)(交互序列緩存選項)
- (High Dynamic Range Image Preview Options)(高動態圖像預覽選項)
- (Effects)
The following parameters are not supported:下面參數Redshift不支持
- Level Min最小級別
- Filter Offset過濾偏移
The following parameters are not supported:下面參數Redshift不支持
- Level Min最小級別
- Filter Offset過濾偏移
The following parameters are not supported:下面參數Redshift不支持:
- Noise噪波
- Fast快速
Ramp漸變紋理
Due to memory limitation, Redshift only allows up to 8 ramp 『knots』.由於顯存限制Redshift最多只支持8個Ramp節點。
Two ramp 『Type』s are not currently supported (『Tartan』 and 『UVRamp』).有兩種Ramp類型不被支持(Tartan和UVRamp)
3D Textures 3D紋理
Brownian布朗
The following parameters are not supported:下面參數Redshift不支持:
- Local局部
- Filter過濾
SolidFractal固態分形
The following parameters are not supported:下面參數Redshift不支持
- Local局部
- Filter過濾
Snow雪
The following parameters are not supported:下面參數Redshift不支持:
- Local局部
- Filter過濾
Other Textures其他紋理貼圖
Layered Texture層紋理
Due to memory limitation, Redshift only allows up to 8 texture layers.
由於內存限制,Redshift僅僅支持8層紋理
Environment環境
EnvBall環境球
Utility實用
- AddDoubleLinear增加雙線性
- AngleBetween角度
- BlendColors融合顏色
- Clamp剪切
- Condition條件
- Contrast對比
- DistanceBetween距離
- GammaCorrect伽馬校正
- HSVToRgb HSV轉RGB
- Luminance亮度
- MultDoubleLinear多重雙線性
- MultiplyDivide乘除
- plusMinusAverage加減平均
Due to memory limitation, Redshift only allows up to 8 items in each array.由於內存限制,Redshift僅僅支持8次矩陣演算法
Projection投射The following parameters are not supported:下面參數Redshift不支持
- Local局部
- Filter, Filter Offset過濾,過濾偏移
- Blend融合
- Noise Attributes / Recursion Depth噪波屬性/遞歸深度
When used for displacement or bump mapping, the colorGain/Offset, alphaGain/Offset and defaultColor are not support. Please use the equivalent parameters in the texture node instead.
我們之前經常使用Colorgain/Offset(顏色增益/偏移),AlphaGain/Offset(阿爾法增益/偏移)和DefaultColor(默認顏色)來調節置換或者凹凸貼圖,但是這些參數Redshift不支持,請使用等價的紋裂節點代替。
- Reverse翻轉
- RGBToHsv RGB轉HSV
- VectorProduct矢量乘
- RemapColor映射顏色
- RemapHsv映射HSV
- RemapValue映射亮度值
- SetRange設置範圍
- SamplerInfo採樣信息
推薦閱讀: