Enum RenderingServer.BakeChannels
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum RenderingServer.BakeChannels : long
Fields
AlbedoAlpha = 0Index of Image in array of Images returned by BakeRenderUV2(Rid, Array<Rid>, Vector2I). Image uses Rgba8 and contains albedo color in the
.rgbchannels and alpha in the.achannel.Emission = 3Index of Image in array of Images returned by BakeRenderUV2(Rid, Array<Rid>, Vector2I). Image uses Rgbah and contains emission color in the
.rgbchannels and nothing in the.achannel.Normal = 1Index 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
.rgbchannels and nothing in the.achannel. The per-pixel normal is encoded asnormal * 0.5 + 0.5.Orm = 2Index 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
.rchannel, roughness in the.gchannel, metallic in the.bchannel and sub surface scattering amount in the.achannel.