Vertex Map
Shader
顶点地图着色器
Basic 基础Shader 着色器
Vertex Map Shader
顶点地图着色器
Left a Vertex map, right Vertex Colors, each with
Viewport and rendered versions. 左边一个顶点贴图,右边的顶点颜色,每个都有视窗和渲染版本
The Vertex Map shader works well with Subdivision Surfaces — ensure that each Vertex Map tag has a unique
name.
顶点地图着色器与细分表面一起工作得很好ーー确保每个顶点地图标签都有一个唯一的名字。
With this shader you can do the following:
使用这个着色器,你可以做如下操作:
- Render Vertex Map tags as grayscale images. Areas with maximum weighting will be rendered white and areas
with minimum weighting will be rendered black. 将顶点映射标记渲染为灰度图像。最大权重的区域将被渲染为白色,最小权重的区域将被渲染为黑色
- Render Vertex Color tags. Note that an alpha channel in
a Vertex Color tag will only be evaluated for rendering if the same shader is also used in the Alpha
channel. 渲染顶点颜色标签。请注意,顶点颜色标签中的 Alpha 通道只有在 Alpha 通道中使用相同的着色器时才会进行渲染
Make sure to assign unique names to the tags.
请确保为标记分配唯一的名称。