Table of Contents

Enum RenderingServer.BakeChannels

Namespace
Godot
Assembly
GodotSharp.dll
public enum RenderingServer.BakeChannels : long

Fields

AlbedoAlpha = 0

Index of Image in array of Images returned by BakeRenderUV2(Rid, Array<Rid>, Vector2I). Image uses Rgba8 and contains albedo color in the .rgb channels and alpha in the .a channel.

Emission = 3

Index of Image in array of Images returned by BakeRenderUV2(Rid, Array<Rid>, Vector2I). Image uses Rgbah and contains emission color in the .rgb channels and nothing in the .a channel.

Normal = 1

Index of Image in array of Images returned by BakeRenderUV2(Rid, Array<Rid>, Vector2I). Image uses Rgba8 and contains the per-pixel normal of the object in the .rgb channels and nothing in the .a channel. The per-pixel normal is encoded as normal * 0.5 + 0.5.

Orm = 2

Index of Image in array of Images returned by BakeRenderUV2(Rid, Array<Rid>, Vector2I). Image uses Rgba8 and contains ambient occlusion (from material and decals only) in the .r channel, roughness in the .g channel, metallic in the .b channel and sub surface scattering amount in the .a channel.