Back to Filament

reflections

docs/android/dokka/filament-android/com.google.android.filament/-indirect-light/-builder/reflections.md

1.75.0565 B
Original Source

//filament-android/com.google.android.filament/IndirectLight/Builder/reflections

reflections

[main]
open fun reflections(cubemap: Texture): IndirectLight.Builder

Set the reflections cubemap mipmap chain.

Return

This Builder, for chaining calls.

Parameters

main

cubemapA mip-mapped cubemap generated by cmgen. Each cubemap level encodes the irradiance for a roughness level.