docs.unity3d.com
    显示 / 隐藏目录

    输入节点

    基本

    Boolean Color
    Image
    在着色器中定义一个常量布尔值。 使用 Color 字段在着色器中定义一个常量矢量 4 值。
    Constant Integer
    Image Image
    在着色器中定义一个 Float 数学常量值。 使用 Integer 字段在着色器中定义一个常量 Float 值。
    Slider Time
    Image Image
    使用 Slider 字段在着色器中定义一个常量 Float 值。 允许访问着色器中的各种 Time 参数。
    Float Vector 2
    Image Image
    在着色器中定义一个 Float 值。 在着色器中定义一个矢量 2 值。
    Vector 3 Vector 4
    Image Image
    在着色器中定义一个矢量 3 值。 在着色器中定义一个矢量 4 值。

    几何

    Bitangent Vector Normal Vector
    Image
    允许访问网格顶点或片元的副切线矢量。 允许访问网格顶点或片元的法线矢量。
    Position Screen Position
    Image Image
    允许访问网格顶点或片元的位置。 允许访问网格顶点或片元的屏幕位置。
    Tangent Vector UV
    Image Image
    允许访问网格顶点或片元的切线矢量。 允许访问网格顶点或片元的 UV 坐标。
    Vertex Color View Direction
    Image Image
    允许访问网格顶点或片元的顶点颜色值。 允许访问网格顶点或片元的视图方向矢量。

    渐变

    Blackbody Gradient
    Image Image
    从温度输入(以开尔文为单位)对基于辐射的渐变进行采样。 在着色器中定义一个常量渐变。
    Sample Gradient
    根据给定的 Time 输入对渐变进行采样。

    矩阵

    Matrix 2x2 Matrix 3x3
    Image
    在着色器中定义一个常量矩阵 2x2 值。 在着色器中定义一个常量矩阵 3x3 值。
    Matrix 4x4 Transformation Matrix
    Image Image
    在着色器中定义一个常量矩阵 4x4 值。 在着色器中定义一个默认 Unity 变换矩阵的常量矩阵 4x4 值。

    Mesh Deformation

    Compute Deformation Node Linear Blend Skinning Node
    Image Image
    将计算变形的顶点数据传递给顶点着色器。仅适用于 DOTS Hybrid Renderer。 应用线性混合顶点蒙皮。仅适用于 DOTS Hybrid Renderer。

    PBR

    Dielectric Specular Metal Reflectance
    Image
    返回物理材质的介电镜面反射 (Dielectric Specular) F0 值。 返回物理材质的金属反射 (Metal Reflectance) 值。

    场景

    Ambient Camera
    Image
    允许访问场景的环境颜色值。 允许访问当前摄像机的各种参数。
    Fog Baked GI
    Image
    允许访问场景的 Fog 参数。 允许访问顶点或片元位置的 Baked GI 值。
    Object Reflection Probe
    Image Image
    允许访问对象的各种参数。 允许访问对象最近的反射探针。
    Scene Color Scene Depth
    Image Image
    允许访问当前摄像机的颜色缓冲区。 允许访问当前摄像机的深度缓冲区。
    Screen
    Image
    允许访问屏幕的参数。

    纹理

    Cubemap Asset Sample Cubemap
    Image
    定义一个要在着色器中使用的常量立方体贴图资源。 对立方体贴图进行采样并返回矢量 4 颜色值以在着色器中使用。
    Sample Reflected Cubemap Node Sample Texture 2D
    Image Image
    使用反射矢量对立方体贴图进行采样,并返回一个矢量 4 颜色值以在着色器中使用。 对 2D 纹理进行采样,并返回一个颜色值以在着色器中使用。
    Sample Texture 2D Array Sample Texture 2D LOD
    Image Image
    在 Index 位置对 2D 纹理数组进行采样,并返回一个颜色值以在着色器中使用。 以指定的 LOD 对 2D 纹理进行采样,并返回一个颜色值以在着色器中使用。
    Sample Texture 3D Sample Virtual Texture
    Image image
    对 3D 纹理进行采样,并返回一个颜色值以在着色器中使用。 对虚拟纹理进行采样,并返回颜色值以在着色器中使用。
    Sampler State Texel Size
    Image Image
    定义一个采样纹理的采样器状态。 返回 2D 纹理输入的纹素大小的宽度 (Width) 和高度 (Height)。
    Texture 2D Array Asset Texture 2D Asset
    Image Image
    定义一个要在着色器中使用的常量 2D 纹理数组资源。 定义一个要在着色器中使用的常量 2D 纹理资源。
    Texture 3D Asset
    Image
    定义一个要在着色器中使用的常量 3D 纹理资源。
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)