beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

PbrEnvironmentLight Op

Ops.Gl.Pbr.PbrEnvironmentLight


PbrEnvironmentLight

PBR image based lighting setup


summary (oneliner)

This operator is your image based lighting setup for all Ops.Gl.Pbr.PbrMaterial operators that will be located under it in your scene stack. For the highest quality, you will be using RGBE format equirectangular textures as the lighting scene input for this operator.

When using PBR Material with this operator, you can ignore connecting the output ports as they are silently communicated to your materials that are under the Environment operator. You can of course experiment with inputting custom textures for your PBR Material.

You can import your own .HDRI equirectangular images into the cables editor and it will automatically generate an RGBE format texture for you to use. You will find the texture file in your files library after your HDRI has been processed.

You can also find some RGBE environment examples in the file library.

additional reading:
https://en.wikipedia.org/wiki/RGBE_image_format

and an HDRI library here:
https://polyhaven.com/hdris

PBR Environment also supports Parallax Correction, which can improve the look and feel of your scene by correcting how you see your reflected environment on your PBR Materials on your objects. When using this feature it is advised to first make sure to turn on your Helper and Transform Gizmos in the editor canvas to easily see where your Scene bounds are. Adjust the center, minimum and maximum values to fit the PBR Environment bounding box to your desired coverage.
To review how to hide and unhide Gizmos for transform and Op helpers, please refer to this page and search for transforms https://cables.gl/docs/0_howtouse/ui_walkthrough/ui_walkthrough



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

RGBE Environment map (Object)

RGBE format input, or RGB texture


Size Irradiance map index (integer /Number)

large is more information


Size pre-filtered environment index (integer /Number)

large is more information


Size IBL LUT index (integer /Number)

large is more information


Environment map does not contain RGBE data (boolean /Number)

toggle ON if not using an RGB texture


Rotation (Number)

rotate the environment around the up axis in degrees


Parallax Correction

Use parallax correction (boolean /Number)

manually adjust your reflection area for your scene


center X (Number)

center of your scene on X axis


center Y (Number)

center of your scene on Y axis


center Z (Number)

center of your scene on Z axis


Box min X (Number)

minimum bounds on X axis


Box min Y (Number)

minimum bounds on Y axis


Box min Z (Number)

minimum bounds on Z axis


Box max X (Number)

maximum bounds on X axis


Box max Y (Number)

maximum bounds on Y axis


Box max Z (Number)

maximum bounds on Z axis


Outputs

next (Trigger)

IBL LUT (Object)

for PBR Material (not required)


cubemap (diffuse irradiance) (Object)

for PBR Material (not required)


cubemap (pre-filtered environment map) (Object)

for PBR Material (not required)


Number of Pre-filtered mip levels (Number)

for PBR Material (not required)


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

PBR Material Example

Open Example In Editor


Youtube Video Tutorial

Patches using PbrEnvironmentLight

Changelog


created op
2022-01-19 - amajesticseaflapflap

Ops.Dev.PbrPrecomputeIbl renamed to Ops.Dev.PbrEnvironmentLight
2022-01-28 - pandur

Ops.Dev.PbrEnvironmentLight renamed to Ops.Gl.Pbr.PbrEnvironmentLight
2022-02-07 - pandur