Houdini 20.5 Nodes Object nodes

Environment Light object node

Environment Lights provide background illumination from outside the scene.

On this page
Since 11.0

Environment lights illuminate the scene from a virtual hemisphere (or sphere) that is beyond that farthest geometry objects in the scene. Environment lights can be rotated to orient directional illumination, but they cannot be translated.

An environment light may use a texture map to provide HDRI illumination from an environment map. With no rotation, the environment map is oriented so that the top face aligns with the positive Y axis.

See how to create an environment/reflection map.

Sky Light shelf tool

Adds an environment light with an automatic sky reflection map.

This tool creates an Environment light node with the Sky Environment Map enabled.

To change the sky parameters in the Environment Light parameters, click the Light tab and then the Sky Environment Map sub-tab.

Portal Light shelf tool

Adds an environment light that only shines through geometry you select. This is much more efficient for enclosed environments where the environment light can only enter through a few portals (windows, doors).

This tool creates an Environment light and sets the Portal geometry parameter to the geometry object you select.

A regular environment light casts light on the scene from all directions. For an enclosed scene such as a room, where the “environment” light is outside and only enters through a few windows and doors, most of the light will simply hit the walls. The Portal geometry parameter specifies geometry (e.g. windows and doors) through which the light can enter. The environment light will only calculate light traveling through the portals, greatly improving efficiency.

  • Select the object(s) you want to act as portals for the environment light, then click the Portal Light tool on the shelf.

    or

  • With nothing selected, click the Portal Light tool on the shelf, then select the object(s) you want to act as portals for the environment light and press Enter.

Parameters

Transform

Transform Order

The left menu chooses the order in which transforms are applied (for example, scale, then rotate, then translate). This can change the position and orientation of the object, in the same way that going a block and turning east takes you to a different place than turning east and then going a block.

The right menu chooses the order in which to rotate around the X, Y, and Z axes. Certain orders can make character joint transforms easier to use, depending on the character.

Rotate

Degrees rotation about XYZ axes.

Viewing Options

Display

Whether or not this object is displayed in the viewport and rendered. Turn on the checkbox to have Houdini use this parameter, then set the value to 0 to hide the object in the viewport and not render it, or 1 to show and render the object. If the checkbox is off, Houdini ignores the value.

Icon scale

Scales the viewport geometry. This parameter is only for display purposes.

Cache Object Transform

Caches object transforms once Houdini calculates them. This is especially useful for objects whose world space position is expensive to calculate (such as Sticky objects), and objects at the end of long parenting chains (such as Bones). This option is turned on by default for Sticky and Bone objects.

See the OBJ Caching section of the Houdini Preferences window for how to control the size of the object transform cache.

Viewport Selecting Enabled

Object is capable of being picked in the viewport.

Select Script

Script to run when the object is picked in the viewport. See select scripts .

Lookat Options

Light

Light Color

The environment color or environment map tint if a map is used.

Light Intensity

A scale on the color. If the intensity is 0, the light is disabled. The light will only be sent to the renderer if the object is included in the Force Lights parameter of the output driver.

Environment Map

Environment map to control the color and intensity of light arriving from different directions. The color from the environment map will be tinted by the light color.

This parameter will be disabled if Enable Sky Environment Map (on the Sky Environment Map tab) is on.

Light Enabled

Turning this toggle off is equivalent to setting the light intensity to 0.

Enable Light In Viewport

Turning this off removes the light from consideration in the viewport. This is useful for lights which only make sense at render time.

Diffuse contribution

The light will contribute to diffuse illumination when illuminating a surface.

Specular contribution

The light will provide specular highlights on the surface when illuminating a surface.

Light Contributions

Provides more detailed control over which shading components the light affects. To disable contribution to a named component, specify the component name and disable the toggle.

Render Light Geometry

Display the light as a geometry object in the render. Environment lights will appear as a background image in the render when this toggle is enabled.

Clip To Positive Y Hemisphere

Forces the environment lighting to only emit light from the +Y hemisphere. When lighting a scene that occludes most illumination in the -Y hemisphere (eg. a scene with a large ground plane), turning on this toggle can improve rendering quality.

Categories

The space or comma separated list of categories to which this object belongs.

Currently not supported for per-primitive material assignment (material SOP).

Render Options

Options that affect how light is produced by the environment light.

Rendering Mode

The sampling style for environment illumination. Environment lighting is computed with raytracing by sending rays out into the hemisphere above the shaded surface to analyze the amount of light arriving at the surface from different directions.

Which rendering mode you choose to use will depend on the type of environment illumination as well as the geometry in your scene.

Direct Lighting

The environment will be treated as a large area light enclosing the scene. If an environment map is used, mantra will send more samples toward bright portions of the environment. If you want the environment to contribute to specular or reflective surfaces, you should use this option.

Direct lighting enables support for variance antialiasing when rendering with PBR or when using the /nodes/vop/surfacemodel.html VOP. Variance antialiasing makes use of the min/max ray samples to automatically detect and reduce noise in the lighting.

Tip

Normally “Direct Lighting” should be preferred in the following scenarios:

  • When the environment map contains directional illumination (eg. parts of the map are much brighter than others)

  • When you require a specular contribution from the environment

  • When you require per-light exports

Ambient Occlusion

The environment will be computed using ambient occlusion. Ambient occlusion is computed using the VEX Global Illumination shader, and will send evenly distributed rays in the hemisphere to check for blocking surfaces. Ambient occlusion works best when computing lighting without an environment map or with a map that has little variation in color over the hemisphere. Occlusion will only contribute to diffuse lighting.

Tip

Use ambient occlusion in the following scenarios:

  • When rendering without an environment map or when the environment lighting is uniform and not very intense.

  • When using irradiance caching.

Ray Tracing Background

The environment will contribute to the scene indirectly for shaders that trace rays that exit the scene. This mode is supported through the resolvemissedray VEX function, which can be used in shaders to query the background illumination for a given ray. Ray Tracing Background mode is supported for the following scenarios:

In this mode, deep rasters from the environment light will appear in the “indirect_emission” export plane rather than the per-light diffuse/reflect/refract planes. This will occur because the light is treated like an emissive background object rather than as a true light source.

Tip

Normally “Ray Tracing Background” should be preferred in the following scenarios:

  • When rendering without an environment map or when the environment lighting is uniform and not very intense

  • When you are using PBR or a shader that performs ray tracing to calculate most indirect lighting

  • When using an Indirect Light to calculate irradiance, to speed up lighting for secondary rays

Sampling Quality

The sampling quality multiplier for the light. A value of 1 will use the ray sampling parameters (Min Ray Samples) from the output driver directly. Other values will proportionally increase or decrease the sampling quality.

Glossy Filter Amount

When set to a non-zero value, this parameter enables renderer-controlled filtering of the environment map to filter out high frequency noise in glossy reflections of the environment light. The amount of filtering is determined by the surface bsdf - with glossy surfaces receiving more filtering. Filtering is automatically disabled for diffuse surfaces and for mirror reflections to preserve accuracy in the render for these components. Using a non-zero value for this setting may change the average brightness of the glossy highlights, introducing some bias in the render.

Portal Geometry

Specifies a geometry object that can be used to optimize sampling of environment lights in enclosed scenes. The portal geometry describes to the renderer where light can enter the enclosed scene, so that the sampling algorithm can concentrate on the parts of the environment that actually contribute lighting to a pixel. Normally, the portal geometry should be a geometry object that is not rendered, so that it does not cast shadows on the scene, and that has only a single layer of surface visible from any point in the scene - so that illumination is not multiply counted.

A correctly configured portal should produce the same rendered result as when the portal is disabled, but with much less noise. Portals should normally not be used in outdoor scenes where the environment map is fully visible, or when the environment map contains sharp variations in intensity - since in these cases the standard direct lighting algorithm may produce better results.

Using an environment light with a portal is equivalent to creating a standard geometry light with physically correct attenuation, no intensity normalization, and transform into this object enabled.

Ray Distance

Maximum distance from the sample point to consider geometry for irradiance/occlusion.

Sampling Angle

Half-angle over which to send rays for irradiance/occlusion. 90 degrees is a full hemisphere.

Adaptive Sampling

Turns on an automatic optimization that will reduce the number of samples when there is little variation in occlusion above the sample point. This can improve performance at the expense of some possible flickering or additional noise. Adaptive sampling will only take effect with more than 64 samples.

Sky Environment Map

Options to automatically create a “sky and ground” environment map for the light.

Enable Sky Environment Map

Automatically create a “sky and ground” environment map. When this parameter is on, the Environment Map parameter (on the Environment tab) will be disabled.

Resolution

The resolution (in pixels per cube side) of the environment map.

The other parameters on this tab are identical to the parameters of the Sky Environment Map compositing node.

Direction

The type of direction to calculate. Either Away from Sun or Towards the Sun.

Calculated Vector

The direction vector for the sun.

Calculated Rotate

The Euler rotation angles to align -Z axis with the Calculated Vector.

Shadow

Shadow Type

None

No shadows will be cast by this light.

Ray-Traced Shadows

Ray-tracing will be used to compute shadows from this light source.

Shadow Mask

A mask of objects which will be considered occluders for the light source. When ray-traced shadows are used, only these objects will be intersected by shadow rays. When depth map shadows are used, only these objects will appear in the depth map.

Note

It is possible to use categories by adding the shadowcategories rendering parameter.

Shadow Intensity

A scale on how much light is blocked by occluders. By decreasing the shadow intensity, the occluders will not block all the light, allowing some illumination through.

Transparent Shadows

When this option is turned on, the surface shader of occluders will be evaluated to determine the opacity. Turning this option on will cause deep shadow maps to be used when shadowing using Depth Map Shadows.

Examples

PortalBox Example for Environment Light object node

This example shows how to create a portal light using window geometry. A box is modeled and then split into 2 SOPs - one representing windows and the other walls. The walls are rendered, while the windows are used to specify the portal for an environment light. Toggle on and off the portal to see the render quality difference while rendering in the Render View.

Object nodes

  • Agent Cam

    Create and attach camera to a crowd agent.

  • Alembic Archive

    Loads the objects from an Alembic scene archive (.abc) file into the object level.

  • Alembic Xform

    Loads only the transform from an object or objects in an Alembic scene archive (.abc).

  • Ambient Light

    Adds a constant level of light to every surface in the scene (or in the light’s mask), coming from no specific direction.

  • Auto Bone Chain Interface

    The Auto Bone Chain Interface is created by the IK from Objects and IK from Bones tools on the Rigging shelf.

  • Blend

    Switches or blends between the transformations of several input objects.

  • Blend Sticky

    Computes its transform by blending between the transforms of two or more sticky objects, allowing you to blend a position across a polygonal surface.

  • Bone

    The Bone Object is used to create hierarchies of limb-like objects that form part of a hierarchy …

  • Camera

    You can view your scene through a camera, and render from its point of view.

  • Common object parameters

  • Dop Network

    The DOP Network Object contains a dynamic simulation.

  • Environment Light

    Environment Lights provide background illumination from outside the scene.

  • Extract Transform

    The Extract Transform Object gets its transform by comparing the points of two pieces of geometry.

  • Fetch

    The Fetch Object gets its transform by copying the transform of another object.

  • Formation Crowd Example

    Crowd example showing a changing formation setup

  • Fuzzy Logic Obstacle Avoidance Example

  • Fuzzy Logic State Transition Example

  • Geometry

    Container for the geometry operators (SOPs) that define a modeled object.

  • Groom Merge

    Merges groom data from multiple objects into one.

  • Guide Deform

    Moves the curves of a groom with animated skin.

  • Guide Groom

    Generates guide curves from a skin geometry and does further processing on these using an editable SOP network contained within the node.

  • Guide Simulate

    Runs a physics simulation on the input guides.

  • Hair Card Generate

    Converts dense hair curves to a polygon card, keeping the style and shape of the groom.

  • Hair Card Texture Example

    An example of how to create a texture for hair cards.

  • Hair Generate

    Generates hair from a skin geometry and guide curves.

  • Handle

    The Handle Object is an IK tool for manipulating bones.

  • Indirect Light

    Indirect lights produce illumination that has reflected from other objects in the scene.

  • Instance

    Instance Objects can instance other geometry, light, or even subnetworks of objects.

  • LOP Import

    Imports transform data from a USD primitive in a LOP node.

  • LOP Import Camera

    Imports a USD camera primitive from a LOP node.

  • Labs Fire Presets

    Quickly generate and render fire simulations using presets for size varying from torch to small to 1m high and low

  • Light

    Light Objects cast light on other objects in a scene.

  • Light template

    A very limited light object without any built-in render properties. Use this only if you want to build completely custom light with your choice of properties.

  • Microphone

    The Microphone object specifies a listening point for the SpatialAudio CHOP.

  • Mocap Acclaim

    Import Acclaim motion capture.

  • Mocap Biped 1

    A male character with motion captured animations.

  • Mocap Biped 2

    A male character with motion captured animations.

  • Mocap Biped 3

    A male character with motion captured animations.

  • Null

    Serves as a place-holder in the scene, usually for parenting. this object does not render.

  • Path

    The Path object creates an oriented curve (path)

  • PathCV

    The PathCV object creates control vertices used by the Path object.

  • Python Script

    The Python Script object is a container for the geometry operators (SOPs) that define a modeled object.

  • Ragdoll Run Example

    Crowd example showing a simple ragdoll setup.

  • Reference Image

    Container for the Compositing operators (COP2) that define a picture.

  • Rivet

    Creates a rivet on an objects surface, usually for parenting.

  • Simple Biped

    A simple and efficient animation rig with full controls.

  • Simple Female

    A simple and efficient female character animation rig with full controls.

  • Simple Male

    A simple and efficient male character animation rig with full controls.

  • Sound

    The Sound object defines a sound emission point for the Spatial Audio chop.

  • Stadium Crowds Example

    Crowd example showing a stadium setup

  • Stereo Camera Rig

    Provides parameters to manipulate the interaxial lens distance as well as the zero parallax setting plane in the scene.

  • Stereo Camera Template

    Serves as a basis for constructing a more functional stereo camera rig as a digital asset.

  • Sticky

    Creates a sticky object based on the UV’s of a surface, usually for parenting.

  • Street Crowd Example

    Crowd example showing a street setup with two agent groups

  • Subnet

    Container for objects.

  • Switcher

    Acts as a camera but switches between the views from other cameras.

  • TOP Network

    The TOP Network operator contains object-level nodes for running tasks.

  • VR Camera

    Camera supporting VR image rendering.

  • Viewport Isolator

    A Python Script HDA providing per viewport isolation controls from selection.

  • glTF