flutter_scene
flutter_scene copied to clipboard
Add basic environment lighting
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.