Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::IBakeInputProperties

    └>Geo::IGeoSerialisable
        └>Geo::IGeoReleasable

Bake properties class, used by calculation tasks to hold global and task specific data.

Functions

NameDescription
Create()

Creates a new IBakeInputProperties.

GetAOCullingThreshold()

The AO culling threshold.

GetAODistance()

The AO cutoff distance in your modelling units.

GetAOMaxAntiAliasingSamples()

The maximum number of times to super sample a pixel to remove aliasing for AO.

GetAOQuality()

The number of rays to cast for computing AO.

GetBackFaceTolerance()

Tolerance of ratio of samples up to which hitting invalid faces is still considered acceptable.

GetEnableDirectionalIrradiance()

Enables generation of directional irradiance maps used for relighting of normal mapped geometry.

GetEnableFinalGather()

Enables final gather as a high-quality alternative to upsampling.

GetEnableLegacyRelighting()

Enables use of the legacy surface relighting model.

GetFinalGatherNumSamples()

The number of samples to cast rays from for each output pixel during final gather.

GetFinalGatherPostFiltering()

Perform filtering after final gather to remove noise.

GetFinalGatherQuality()

The number of rays to cast for each output pixel during final gather.

GetFinalGatherTransparency()

Enable the evaluation of transparency during final gather.

GetGuid()

Every IBakeInputProperties object needs to be assigned a globally unique identifier.

GetMaxAntiAliasingSamples()

The maximum number of times to super sample a pixel to remove aliasing.

GetMaxLightSamples()

The maximum number of times to super sample an area light to capture soft shadowing effects.

GetNumProbeInterpolants()

The maximum number of probes to use when interpolating probes for bounding box corners when lifting indirect lighting from probes into lightmaps.

GetOutputIsIntensity()

Should we generate intenstiy values instead of irradiance values in light maps.

GetOutputType()

What type of output is offered by this bakesystem.

GetPackUVs()

Should we pack all instances in this bakesystem.

GetPostProcessingFilterSize()

Set the size for a post-processing filter applied to the baked direct lighting.

GetPushOff()

The amount to push off geometry for ray tracing, in your modelling units.

GetResolution()

The resolution of the output, in pixels.

GetShadowFaces()

Deprecated: Which faces of the input geometry should block incoming light (for calculating shadows for directional visibility and/or baking direct light).

GetSolverDisableEmissive()

Whether to use emissive lighting for the radiosity.

GetSolverForceWhiteAlbedo()

Force using white albedo for radiosity computations.

GetTileCullingThreshold()

The IBakeVisibilityBuffer created for baking direct light maps will cull tiles if their visibility is too low.

GetVisibilityAwareUpsampling()

Enables visibility aware upsampling.

Load(IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Release()

Free this object that was created within the Enlighten libraries.

Save(IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.

SetAOCullingThreshold(float)

The AO culling threshold.

SetAODistance(float)

The AO cutoff distance in your modelling units.

SetAOMaxAntiAliasingSamples(Geo::s32)

The maximum number of times to super sample a pixel to remove aliasing for AO.

SetAOQuality(Geo::s32)

The number of rays to cast for computing AO.

SetBackFaceTolerance(float)

Tolerance of ratio of samples up to which hitting invalid faces is still considered acceptable.

SetEnableDirectionalIrradiance(bool)

Enables generation of directional irradiance maps used for relighting of normal mapped geometry.

SetEnableFinalGather(bool)

Enables final gather as a high-quality alternative to upsampling.

SetEnableLegacyRelighting(bool)

Enables use of the legacy surface relighting model.

SetFinalGatherNumSamples(Geo::s32)

The number of samples to cast rays from for each output pixel during final gather.

SetFinalGatherPostFiltering(bool)

Perform filtering after final gather to remove noise.

SetFinalGatherQuality(Geo::s32)

The number of rays to cast for each output pixel during final gather.

SetFinalGatherTransparency(bool)

Enable the evaluation of transparency during final gather.

SetGuid(Geo::GeoGuid)

Every IBakeInputProperties object needs to be assigned a globally unique identifier.

SetMaxAntiAliasingSamples(Geo::s32)

The maximum number of times to super sample a pixel to remove aliasing.

SetMaxLightSamples(Geo::s32)

The maximum number of times to super sample an area light to capture soft shadowing effects.

SetNumProbeInterpolants(Geo::s32)

The maximum number of probes to use when interpolating probes for bounding box corners when lifting indirect lighting from probes into lightmaps.

SetOutputIsIntensity(bool)

Should we generate intenstiy values instead of irradiance values in light maps.

SetOutputType(Enlighten::EBakeType)

What type of output is offered by this bakesystem.

SetPackUVs(bool)

Should we pack all instances in this bakesystem.

SetPostProcessingFilterSize(Geo::s32)

Set the size for a post-processing filter applied to the baked direct lighting.

SetPushOff(float)

The amount to push off geometry for ray tracing, in your modelling units.

SetResolution(Geo::s32, Geo::s32)

The resolution of the output, in pixels.

SetShadowFaces(Geo::s32)

Deprecated: Which faces of the input geometry should block incoming light (for calculating shadows for directional visibility and/or baking direct light).

SetSolverDisableEmissive(bool)

Whether to use emissive lighting for the radiosity.

SetSolverForceWhiteAlbedo(bool)

Force using white albedo for radiosity computations.

SetTileCullingThreshold(float)

The IBakeVisibilityBuffer created for baking direct light maps will cull tiles if their visibility is too low.

SetVisibilityAwareUpsampling(bool)

Enables visibility aware upsampling.

Variables

NameDescription
const Geo::s32 kShadowFaceBack = 0

Shadows are cast when the back face points towards the light.

const Geo::s32 kShadowFaceBoth = -1

Shadows are always cast.

const Geo::s32 kShadowFaceBothWithInvalidBack = 2

Similar to kShadowFaceBoth but marks back face shadows as 'invalid'.

const Geo::s32 kShadowFaceFront = 1

Shadows are cast when the front face points towards the light.

const Geo::s32 kShadowFaceUseMaterialAPI = -2

Deprecated.


Anchor
ad566ccadb3550d2867420efa807222f1
ad566ccadb3550d2867420efa807222f1

static IBakeInputProperties* Enlighten::IBakeInputProperties::Create

...

public: IBakeInputProperties * Create()

...

Creates a new IBakeInputProperties.


Anchor
ad6a0a428e609ee8e01908f870915ab13
ad6a0a428e609ee8e01908f870915ab13

virtual float Enlighten::IBakeInputProperties::GetAOCullingThreshold

...

public: float GetAOCullingThreshold() const

...

The AO culling threshold.

If the proportion of frontface hits is less than this value the pixel is rejected and interpolated from nearby samples.


Anchor
a77445bfd039255d5f2bb7da24ccf3f23
a77445bfd039255d5f2bb7da24ccf3f23

virtual float Enlighten::IBakeInputProperties::GetAODistance

...

public: float GetAODistance() const

...

The AO cutoff distance in your modelling units.

Hits closer than this value is assume to be occluded.


Anchor
a969e6c653f6a2ad83daf76d15f469f19
a969e6c653f6a2ad83daf76d15f469f19

virtual Geo::s32 Enlighten::IBakeInputProperties::GetAOMaxAntiAliasingSamples

...

public: Geo::s32 GetAOMaxAntiAliasingSamples() const

...

The maximum number of times to super sample a pixel to remove aliasing for AO.

Increasing this value does not increase baking times as the number of rays is only defined by the AO quality. Effectively this parameters controlls how to distribute the rays in the baking pixel. The default is 16, which gives good results.


Anchor
a8ddf2efb378e5155813654d1865448ff
a8ddf2efb378e5155813654d1865448ff

virtual Geo::s32 Enlighten::IBakeInputProperties::GetAOQuality

...

public: Geo::s32 GetAOQuality() const

...

The number of rays to cast for computing AO.


Anchor
a9e6bf316193de3ffc6545fc845a7db28
a9e6bf316193de3ffc6545fc845a7db28

virtual float Enlighten::IBakeInputProperties::GetBackFaceTolerance

...

public: float GetBackFaceTolerance() const

...

Tolerance of ratio of samples up to which hitting invalid faces is still considered acceptable.

The default is 0.9. Note that invalid faces need to have their ShadowFace attribute set to invalid.


Anchor
aed424d79b4c1eeecb3f7ce892300f65a
aed424d79b4c1eeecb3f7ce892300f65a

virtual bool Enlighten::IBakeInputProperties::GetEnableDirectionalIrradiance

...

public: bool GetEnableDirectionalIrradiance() const

...

Enables generation of directional irradiance maps used for relighting of normal mapped geometry.

Enabled by default.


Anchor
a114cd167fd6e57dd7031093cfd4cc15b
a114cd167fd6e57dd7031093cfd4cc15b

virtual bool Enlighten::IBakeInputProperties::GetEnableFinalGather

...

public: bool GetEnableFinalGather() const

...

Enables final gather as a high-quality alternative to upsampling.

Disabled by default.


Anchor
a1cf2d7ec87ce4df31b731afc2a7da748
a1cf2d7ec87ce4df31b731afc2a7da748

virtual bool Enlighten::IBakeInputProperties::GetEnableLegacyRelighting

...

public: bool GetEnableLegacyRelighting() const

...

Enables use of the legacy surface relighting model.

Disabled by default.


Anchor
a10319983b2554467f1869cd47204f785
a10319983b2554467f1869cd47204f785

virtual Geo::s32 Enlighten::IBakeInputProperties::GetFinalGatherNumSamples

...

public: Geo::s32 GetFinalGatherNumSamples() const

...

The number of samples to cast rays from for each output pixel during final gather.


Anchor
a47165f89ca661c2574de74338840459c
a47165f89ca661c2574de74338840459c

virtual bool Enlighten::IBakeInputProperties::GetFinalGatherPostFiltering

...

public: bool GetFinalGatherPostFiltering() const

...

Perform filtering after final gather to remove noise.

Enabled by default.


Anchor
a36d4b3e044db5bd7aa4efb618cc8eb5c
a36d4b3e044db5bd7aa4efb618cc8eb5c

virtual Geo::s32 Enlighten::IBakeInputProperties::GetFinalGatherQuality

...

public: Geo::s32 GetFinalGatherQuality() const

...

The number of rays to cast for each output pixel during final gather.


Anchor
aa4368590796e75a02d0d4e9e93100bd7
aa4368590796e75a02d0d4e9e93100bd7

virtual bool Enlighten::IBakeInputProperties::GetFinalGatherTransparency

...

public: bool GetFinalGatherTransparency() const

...

Enable the evaluation of transparency during final gather.

Results might be inconsistent with real-time output. Disabled by default.


Anchor
a126d30847adb373ece1292b9458a267f
a126d30847adb373ece1292b9458a267f

virtual Geo::GeoGuid Enlighten::IBakeInputProperties::GetGuid

...

public: Geo::GeoGuid GetGuid() const

...

Every IBakeInputProperties object needs to be assigned a globally unique identifier.


Anchor
a18ae9b87074e0004b3580074211abc6c
a18ae9b87074e0004b3580074211abc6c

virtual Geo::s32 Enlighten::IBakeInputProperties::GetMaxAntiAliasingSamples

...

public: Geo::s32 GetMaxAntiAliasingSamples() const

...

The maximum number of times to super sample a pixel to remove aliasing.

The default is 16, which gives good results.


Anchor
af39b552620baaa903686120e648eedc3
af39b552620baaa903686120e648eedc3

virtual Geo::s32 Enlighten::IBakeInputProperties::GetMaxLightSamples

...

public: Geo::s32 GetMaxLightSamples() const

...

The maximum number of times to super sample an area light to capture soft shadowing effects.

The default is 32, which gives good results in most cases. You may need to increase this for larger area light sources.


Anchor
a947d9a4d85bbaa1a10ce776462293276
a947d9a4d85bbaa1a10ce776462293276

virtual Geo::s32 Enlighten::IBakeInputProperties::GetNumProbeInterpolants

...

public: Geo::s32 GetNumProbeInterpolants() const

...

The maximum number of probes to use when interpolating probes for bounding box corners when lifting indirect lighting from probes into lightmaps.

The default is 8, which gives good results. You may need to decrease this when using sparse probes or probes laid out in grids or single rows.


Anchor
ad34a9dc9949e8da7f796f6bcfe8ac91e
ad34a9dc9949e8da7f796f6bcfe8ac91e

virtual bool Enlighten::IBakeInputProperties::GetOutputIsIntensity

...

public: bool GetOutputIsIntensity() const

...

Should we generate intenstiy values instead of irradiance values in light maps.


Anchor
a3a81c621d44e22b36985ec7b8f1e252f
a3a81c621d44e22b36985ec7b8f1e252f

virtual Enlighten::EBakeType Enlighten::IBakeInputProperties::GetOutputType

...

public: Enlighten::EBakeType GetOutputType() const

...

What type of output is offered by this bakesystem.


Anchor
ad2ce4f4405cc42e118e8d399259f5184
ad2ce4f4405cc42e118e8d399259f5184

virtual bool Enlighten::IBakeInputProperties::GetPackUVs

...

public: bool GetPackUVs() const

...

Should we pack all instances in this bakesystem.


Anchor
a558f150092820fa494e596db1bc5e136
a558f150092820fa494e596db1bc5e136

virtual Geo::s32 Enlighten::IBakeInputProperties::GetPostProcessingFilterSize

...

public: Geo::s32 GetPostProcessingFilterSize() const

...

Set the size for a post-processing filter applied to the baked direct lighting.

The default is 0, which turns the filter off. The size is given in pixels.


Anchor
a53ba4fe94a075e4d66e299e9db774bea
a53ba4fe94a075e4d66e299e9db774bea

virtual float Enlighten::IBakeInputProperties::GetPushOff

...

public: float GetPushOff() const

...

The amount to push off geometry for ray tracing, in your modelling units.


Anchor
a6beaa20510872af4fe21b6ca7dcd1de7
a6beaa20510872af4fe21b6ca7dcd1de7

virtual Geo::GeoPair<Geo::s32, Geo::s32> Enlighten::IBakeInputProperties::GetResolution

...

public: Geo::GeoPair< Geo::s32, Geo::s32 > GetResolution() const

...

The resolution of the output, in pixels.


Anchor
a92c526e9736fec8ba3effbd970f48bf4
a92c526e9736fec8ba3effbd970f48bf4

virtual Geo::s32 Enlighten::IBakeInputProperties::GetShadowFaces

...

public: Geo::s32 GetShadowFaces() const

...

Deprecated: Which faces of the input geometry should block incoming light (for calculating shadows for directional visibility and/or baking direct light).


Anchor
a3f38826f4581cf9dc53a6889d9013457
a3f38826f4581cf9dc53a6889d9013457

virtual bool Enlighten::IBakeInputProperties::GetSolverDisableEmissive

...

public: bool GetSolverDisableEmissive() const

...

Whether to use emissive lighting for the radiosity.


Anchor
a576b31812e58228ba8c5b3856c3a48a5
a576b31812e58228ba8c5b3856c3a48a5

virtual bool Enlighten::IBakeInputProperties::GetSolverForceWhiteAlbedo

...

public: bool GetSolverForceWhiteAlbedo() const

...

Force using white albedo for radiosity computations.


Anchor
a375f625d5bf13c852c5c95d10d3affa2
a375f625d5bf13c852c5c95d10d3affa2

virtual float Enlighten::IBakeInputProperties::GetTileCullingThreshold

...

public: float GetTileCullingThreshold() const

...

The IBakeVisibilityBuffer created for baking direct light maps will cull tiles if their visibility is too low.

This parameter specifies the threshold. Please contact Enlighten support if you believe that this is causing issues.


Anchor
a6ce1d8494538a13ef4a6e8d669698e76
a6ce1d8494538a13ef4a6e8d669698e76

virtual bool Enlighten::IBakeInputProperties::GetVisibilityAwareUpsampling

...

public: bool GetVisibilityAwareUpsampling() const

...

Enables visibility aware upsampling.

Only works when no detail meshes are used. Disabled by default.


Anchor
ae5fb810c8f4470cb3c9fcb16c6f7f7fe
ae5fb810c8f4470cb3c9fcb16c6f7f7fe

virtual bool Geo::IGeoSerialisable::Load

...

public: bool Load
(
    IGeoInputStream & stream,
    Geo::u32 section
)

...

Load an instance of this class from an IGeoInputStream.

The stream must be ready to read from. You can load sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will load all sections. It is also safe to call this method on an object multiple times with different section arguments to load multiple parts.


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

virtual void Geo::IGeoReleasable::Release

...

public: void Release()

...

Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'


Anchor
a5b03439626a3dac9b9c27feb1a3978d3
a5b03439626a3dac9b9c27feb1a3978d3

virtual bool Geo::IGeoSerialisable::Save

...

public: bool Save
(
    IGeoStream & stream,
    Geo::u32 section
) const

...

Save an instance of this class to an IGeoStream.

The stream must be ready to write to. You can save sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will save all sections that are available.


Anchor
a55bad0ca122c8483fc13ebdc61454258
a55bad0ca122c8483fc13ebdc61454258

virtual void Enlighten::IBakeInputProperties::SetAOCullingThreshold

...

public: void SetAOCullingThreshold
(
    float s
)

...

The AO culling threshold.

If the proportion of frontface hits is less than this value the pixel is rejected and interpolated from nearby samples.


Anchor
aa05e173d8f5070a8ced348268cc4826e
aa05e173d8f5070a8ced348268cc4826e

virtual void Enlighten::IBakeInputProperties::SetAODistance

...

public: void SetAODistance
(
    float s
)

...

The AO cutoff distance in your modelling units.

Hits closer than this value is assume to be occluded.


Anchor
a0207d8a4cd88e9b43679a088ddccc448
a0207d8a4cd88e9b43679a088ddccc448

virtual void Enlighten::IBakeInputProperties::SetAOMaxAntiAliasingSamples

...

public: void SetAOMaxAntiAliasingSamples
(
    Geo::s32 t
)

...

The maximum number of times to super sample a pixel to remove aliasing for AO.

Increasing this value does not increase baking times as the number of rays is only defined by the AO quality. Effectively this parameters controlls how to distribute the rays in the baking pixel. The default is 16, which gives good results.


Anchor
a60a35e32578b6796c61f9b394b3474d2
a60a35e32578b6796c61f9b394b3474d2

virtual void Enlighten::IBakeInputProperties::SetAOQuality

...

public: void SetAOQuality
(
    Geo::s32 v
)

...

The number of rays to cast for computing AO.


Anchor
a806988a1d2faba581e8aabc7228f8a06
a806988a1d2faba581e8aabc7228f8a06

virtual void Enlighten::IBakeInputProperties::SetBackFaceTolerance

...

public: void SetBackFaceTolerance
(
    float t
)

...

Tolerance of ratio of samples up to which hitting invalid faces is still considered acceptable.

The default is 0.9. Note that invalid faces need to have their ShadowFace attribute set to invalid.


Anchor
a41086acafcf23ff7c7a76b320bfd816f
a41086acafcf23ff7c7a76b320bfd816f

virtual void Enlighten::IBakeInputProperties::SetEnableDirectionalIrradiance

...

public: void SetEnableDirectionalIrradiance
(
    bool s
)

...

Enables generation of directional irradiance maps used for relighting of normal mapped geometry.

Enabled by default.


Anchor
afa9c6f037a8a4902e4eea464f2abaf05
afa9c6f037a8a4902e4eea464f2abaf05

virtual void Enlighten::IBakeInputProperties::SetEnableFinalGather

...

public: void SetEnableFinalGather
(
    bool s
)

...

Enables final gather as a high-quality alternative to upsampling.

Disabled by default.


Anchor
a1b7eff47a717a4e8077964db48e343e1
a1b7eff47a717a4e8077964db48e343e1

virtual void Enlighten::IBakeInputProperties::SetEnableLegacyRelighting

...

public: void SetEnableLegacyRelighting
(
    bool s
)

...

Enables use of the legacy surface relighting model.

Disabled by default.


Anchor
ac5a4ee41b0fa84dfaad43e3dcdb4caba
ac5a4ee41b0fa84dfaad43e3dcdb4caba

virtual void Enlighten::IBakeInputProperties::SetFinalGatherNumSamples

...

public: void SetFinalGatherNumSamples
(
    Geo::s32 v
)

...

The number of samples to cast rays from for each output pixel during final gather.


Anchor
a1f1cc0e8fb1f45dac0ac06f77016caa4
a1f1cc0e8fb1f45dac0ac06f77016caa4

virtual void Enlighten::IBakeInputProperties::SetFinalGatherPostFiltering

...

public: void SetFinalGatherPostFiltering
(
    bool s
)

...

Perform filtering after final gather to remove noise.

Enabled by default.


Anchor
a94f1ec42a6eec40daa16e4159fcc314b
a94f1ec42a6eec40daa16e4159fcc314b

virtual void Enlighten::IBakeInputProperties::SetFinalGatherQuality

...

public: void SetFinalGatherQuality
(
    Geo::s32 v
)

...

The number of rays to cast for each output pixel during final gather.


Anchor
a37dba2cb923bbb95c18ec240c67bf348
a37dba2cb923bbb95c18ec240c67bf348

virtual void Enlighten::IBakeInputProperties::SetFinalGatherTransparency

...

public: void SetFinalGatherTransparency
(
    bool s
)

...

Enable the evaluation of transparency during final gather.

Results might be inconsistent with real-time output. Disabled by default.


Anchor
a31e92826b7998160ff6993de416f8fd8
a31e92826b7998160ff6993de416f8fd8

virtual void Enlighten::IBakeInputProperties::SetGuid

...

public: void SetGuid
(
    Geo::GeoGuid guid
)

...

Every IBakeInputProperties object needs to be assigned a globally unique identifier.


Anchor
a4b8f7aafda0405a145b272d83755644e
a4b8f7aafda0405a145b272d83755644e

virtual void Enlighten::IBakeInputProperties::SetMaxAntiAliasingSamples

...

public: void SetMaxAntiAliasingSamples
(
    Geo::s32 t
)

...

The maximum number of times to super sample a pixel to remove aliasing.

The default is 16, which gives good results.


Anchor
ae926a7607976ba156122c11aae643fb6
ae926a7607976ba156122c11aae643fb6

virtual void Enlighten::IBakeInputProperties::SetMaxLightSamples

...

public: void SetMaxLightSamples
(
    Geo::s32 t
)

...

The maximum number of times to super sample an area light to capture soft shadowing effects.

The default is 32, which gives good results in most cases. You may need to increase this for larger area light sources.


Anchor
af009c71eb4c00571765035e43edee0b8
af009c71eb4c00571765035e43edee0b8

virtual void Enlighten::IBakeInputProperties::SetNumProbeInterpolants

...

public: void SetNumProbeInterpolants
(
    Geo::s32 n
)

...

The maximum number of probes to use when interpolating probes for bounding box corners when lifting indirect lighting from probes into lightmaps.

The default is 8, which gives good results. You may need to decrease this when using sparse probes or probes laid out in grids or single rows.


Anchor
a6a450011ad02525bc3eba7fd76542467
a6a450011ad02525bc3eba7fd76542467

virtual void Enlighten::IBakeInputProperties::SetOutputIsIntensity

...

public: void SetOutputIsIntensity
(
    bool v
)

...

Should we generate intenstiy values instead of irradiance values in light maps.


Anchor
a1ab18155694acbde5613075ac0f6cb24
a1ab18155694acbde5613075ac0f6cb24

virtual void Enlighten::IBakeInputProperties::SetOutputType

...

public: void SetOutputType
(
    Enlighten::EBakeType v
)

...

What type of output is offered by this bakesystem.


Anchor
a19c21c1939b276a863f959b5fa791a18
a19c21c1939b276a863f959b5fa791a18

virtual void Enlighten::IBakeInputProperties::SetPackUVs

...

public: void SetPackUVs
(
    bool v
)

...

Should we pack all instances in this bakesystem.


Anchor
a5efbc557f4120c9085bc48ce30ae9388
a5efbc557f4120c9085bc48ce30ae9388

virtual void Enlighten::IBakeInputProperties::SetPostProcessingFilterSize

...

public: void SetPostProcessingFilterSize
(
    Geo::s32 s
)

...

Set the size for a post-processing filter applied to the baked direct lighting.

The default is 0, which turns the filter off. The size is given in pixels.


Anchor
a7afb9c43dd8ef9cf8235776f862008da
a7afb9c43dd8ef9cf8235776f862008da

virtual void Enlighten::IBakeInputProperties::SetPushOff

...

public: void SetPushOff
(
    float s
)

...

The amount to push off geometry for ray tracing, in your modelling units.


Anchor
a137b183a758296c84c87534024bd2fdb
a137b183a758296c84c87534024bd2fdb

virtual void Enlighten::IBakeInputProperties::SetResolution

...

public: void SetResolution
(
    Geo::s32 x,
    Geo::s32 y
)

...

The resolution of the output, in pixels.


Anchor
ab03e25acb9c83f322a5cdbcdf2e02b00
ab03e25acb9c83f322a5cdbcdf2e02b00

virtual void Enlighten::IBakeInputProperties::SetShadowFaces

...

public: void SetShadowFaces
(
    Geo::s32 shadowFaces
)

...

Deprecated: Which faces of the input geometry should block incoming light (for calculating shadows for directional visibility and/or baking direct light).


Anchor
abf2b06fd0990a4b487e34ee406a384bb
abf2b06fd0990a4b487e34ee406a384bb

virtual void Enlighten::IBakeInputProperties::SetSolverDisableEmissive

...

public: void SetSolverDisableEmissive
(
    bool s
)

...

Whether to use emissive lighting for the radiosity.


Anchor
a72580544a27de3a75da8d5b84a75fb71
a72580544a27de3a75da8d5b84a75fb71

virtual void Enlighten::IBakeInputProperties::SetSolverForceWhiteAlbedo

...

public: void SetSolverForceWhiteAlbedo
(
    bool s
)

...

Force using white albedo for radiosity computations.


Anchor
a1df09c78ae3f8b3b0d8ddd72f3118229
a1df09c78ae3f8b3b0d8ddd72f3118229

virtual void Enlighten::IBakeInputProperties::SetTileCullingThreshold

...

public: void SetTileCullingThreshold
(
    float t
)

...

The IBakeVisibilityBuffer created for baking direct light maps will cull tiles if their visibility is too low.

This parameter specifies the threshold. Please contact Enlighten support if you believe that this is causing issues.


Anchor
a78e096eb2e53d62fc62702772adb219f
a78e096eb2e53d62fc62702772adb219f

virtual void Enlighten::IBakeInputProperties::SetVisibilityAwareUpsampling

...

public: void SetVisibilityAwareUpsampling
(
    bool s
)

...

Enables visibility aware upsampling.

Only works when no detail meshes are used. Disabled by default.