unreal.GeometryScriptBakeRenderCaptureOptions
¶
- class unreal.GeometryScriptBakeRenderCaptureOptions(resolution: GeometryScriptBakeResolution = Ellipsis, render_capture_resolution: GeometryScriptBakeResolution = Ellipsis, samples_per_pixel: GeometryScriptBakeSamplesPerPixel = Ellipsis, render_capture_anti_aliasing: bool = False, cleanup_tolerance: float = 0.0, base_color_map: bool = False, normal_map: bool = False, packed_mrs_map: bool = False, metallic_map: bool = False, roughness_map: bool = False, specular_map: bool = False, emissive_map: bool = False, opacity_map: bool = False, subsurface_color_map: bool = False)¶
Bases:
StructBase
Geometry Script Bake Render Capture Options
C++ Source:
Plugin: GeometryScripting
Module: GeometryScriptingCore
File: MeshBakeFunctions.h
Editor Properties: (see get_editor_property/set_editor_property)
base_color_map
(bool): [Read-Write]cleanup_tolerance
(float): [Read-Write] This threshold is used to detect occlusion artefacts (e.g., silhouettes/blotches in the base color) so that texels exhibiting them can be cleaned up i.e., rejected and filled in using the values of nearby valid texels instead.If the threshold is zero, the cleanup step is skipped. If the threshold is too large, texels with artefacts won’t be detected and the cleanup step is effectively skipped. If the threshold is too small, texels without artefacts get detected and results will be bad because there won’t be enough nearby valid texels from which to infill values.
A good starting point is to choose a threshold around the size of the distance (in world space) between the target and source meshes; if the target was generated by VoxWrap then the voxel size estimates this distance.
emissive_map
(bool): [Read-Write]metallic_map
(bool): [Read-Write]normal_map
(bool): [Read-Write] World space normal mapopacity_map
(bool): [Read-Write]packed_mrs_map
(bool): [Read-Write] Packed Metallic/Roughness/Specular Map. If this is true the separated channel booleans are ignoredrender_capture_anti_aliasing
(bool): [Read-Write] Whether to use anti-aliasing in the render captures, this may introduce artefacts if pixels at different scene depths get blendedrender_capture_resolution
(GeometryScriptBakeResolution): [Read-Write] The pixel resolution of render capture photo setresolution
(GeometryScriptBakeResolution): [Read-Write] The pixel resolution of the generated texturesroughness_map
(bool): [Read-Write]samples_per_pixel
(GeometryScriptBakeSamplesPerPixel): [Read-Write] Number of samples per pixelspecular_map
(bool): [Read-Write]subsurface_color_map
(bool): [Read-Write]
- property cleanup_tolerance: float¶
[Read-Write] This threshold is used to detect occlusion artefacts (e.g., silhouettes/blotches in the base color) so that texels exhibiting them can be cleaned up i.e., rejected and filled in using the values of nearby valid texels instead.
If the threshold is zero, the cleanup step is skipped. If the threshold is too large, texels with artefacts won’t be detected and the cleanup step is effectively skipped. If the threshold is too small, texels without artefacts get detected and results will be bad because there won’t be enough nearby valid texels from which to infill values.
A good starting point is to choose a threshold around the size of the distance (in world space) between the target and source meshes; if the target was generated by VoxWrap then the voxel size estimates this distance.
- Type:
(float)
- property packed_mrs_map: bool¶
[Read-Write] Packed Metallic/Roughness/Specular Map. If this is true the separated channel booleans are ignored
- Type:
(bool)
- property render_capture_anti_aliasing: bool¶
[Read-Write] Whether to use anti-aliasing in the render captures, this may introduce artefacts if pixels at different scene depths get blended
- Type:
(bool)
- property render_capture_resolution: GeometryScriptBakeResolution¶
[Read-Write] The pixel resolution of render capture photo set
- Type:
- property resolution: GeometryScriptBakeResolution¶
[Read-Write] The pixel resolution of the generated textures
- Type:
- property samples_per_pixel: GeometryScriptBakeSamplesPerPixel¶
[Read-Write] Number of samples per pixel