PbrEnvironmentLight Op

PbrEnvironmentLight

PBR image based lighting setup


<p>This operator is your image based lighting setup for all <a href="/op/Ops.Gl.Pbr.PbrMaterial">Ops.Gl.Pbr.PbrMaterial</a> 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.</p> <p>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.</p> <p>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.</p> <p>You can also find some RGBE environment examples in the file library.</p> <p>additional reading: <a href="https://en.wikipedia.org/wiki/RGBE_image_format">https://en.wikipedia.org/wiki/RGBE_image_format</a></p> <p>and an HDRI library here: <a href="https://polyhaven.com/hdris">https://polyhaven.com/hdris</a></p> <p>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 <a href="https://cables.gl/docs/0_howtouse/ui_walkthrough/ui_walkthrough">https://cables.gl/docs/0_howtouse/ui_walkthrough/ui_walkthrough</a></p>


Full Name
  • Ops.Gl.Pbr.PbrEnvironmentLight
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubCredits



INPUT PORTS


render (Trigger)
Intensity (Number)
RGBE Environment map (Object:texture)

<p>RGBE format input, or RGB texture</p>

Size Irradiance map index (Number:

<i>integer</i>

)

<p>large is more information</p>

Size pre-filtered environment index (Number:

<i>integer</i>

)

<p>large is more information</p>

Size IBL LUT index (Number:

<i>integer</i>

)

<p>large is more information</p>

Force 8bit IBL (Number:

<i>boolean</i>

)

Environment map does not contain RGBE data (Number:

<i>boolean</i>

)

<p>toggle ON if not using an RGB texture</p>

Rotation (Number)

<p>rotate the environment around the up axis in degrees</p>

Parallax Correction

Use parallax correction (Number:

<i>boolean</i>

)

<p>manually adjust your reflection area for your scene</p>

center X (Number)

<p>center of your scene on X axis</p>

center Y (Number)

<p>center of your scene on Y axis</p>

center Z (Number)

<p>center of your scene on Z axis</p>

Box min X (Number)

<p>minimum bounds on X axis</p>

Box min Y (Number)

<p>minimum bounds on Y axis</p>

Box min Z (Number)

<p>minimum bounds on Z axis</p>

Box max X (Number)

<p>maximum bounds on X axis</p>

Box max Y (Number)

<p>maximum bounds on Y axis</p>

Box max Z (Number)

<p>maximum bounds on Z axis</p>

OUTPUT PORTS


next (Trigger)
IBL LUT (Object)

<p>for PBR Material (not required)</p>

cubemap (diffuse irradiance) (Object)

<p>for PBR Material (not required)</p>

cubemap (pre-filtered environment map) (Object)

<p>for PBR Material (not required)</p>

Number of Pre-filtered mip levels (Number)

<p>for PBR Material (not required)</p>


Patches using PbrEnvironmentLight

  • Examples
  • Public
  • My Patches

Changelog


created opuser avataramajesticseaflapflap - 2022-01-19 14:38
Ops.Dev.PbrPrecomputeIbl renamed to Ops.Dev.PbrEnvironmentLightuser avatarpandur - 2022-01-28 08:34
Ops.Dev.PbrEnvironmentLight renamed to Ops.Gl.Pbr.PbrEnvironmentLightuser avatarpandur - 2022-02-07 11:13
bugfixadded workaround for amd cards where cubemaps were rendered wrong, because of clearColoruser avatarpandur - 2022-12-14 17:21