flutter_scene icon indicating copy to clipboard operation
flutter_scene copied to clipboard

Add basic environment lighting

Open bdero opened this issue 10 months ago • 0 comments

Add the ability to specify an image to use as a faux HDRI.

For the initial implementation, just do equirectangular sampling for the specular component (shiny). Don't worry about accurate diffuse sampling.

Later on, we can expand this functionality to properly preprocess the image into a mipmapped cubemap with progressively blurrier mip levels with higher roughness.

bdero avatar Apr 09 '24 16:04 bdero