Randomize light properties

This node randomizes the properties of light prims.

Installation

To use this Node, you must enable omni.replicator.random in the Extension Manager.

Inputs

Name

Type

Description

Default

samplePrim

bundle

prim(s) to set location

colorMin

float[3]

The minimum R, G, B values of light color. Scale is from 0 to 1

[0, 0, 0]

colorMax

float[3]

The maximum R, G, B values of light color. Scale is from 0 to 1

[1, 1, 1]

intensityRange

float[2]

First element contains the min value for intensity, second element contains max value

[1, 100000]

enableTemperature

bool

Enable if temperature of light needs to be randomized

False

temperatureRange

float[2]

Range of light temperature randomization. Will only be used if inputs:enableTemperature is enabled

[1000, 10000]

execIn

execution

exec

seed

int

random seed

Outputs

Name

Type

Description

Default

execOut

execution

exec