Alex_B
February 1, 2020, 7:40pm
1
I’m just digging around into various texture compression threads and I noticed that it’s possible to create a KTX
version of an HDR
file and use it in Filament.
https://google.github.io/filament/webgl/tutorial_suzanne.html
Is it possible to do this in Babylon? If not, is there a similar way to set up IBL using something other than a DDS
?
Pinging @bghgary and @drigax , the glTF A-Team
We don’t currently support KTX for IBL. @sebavan Please correct me if I’m wrong here.
We have our own custom format with the .env extension. See here .
Eventually, we will probably support whatever the glTF working group ends up with, likely using KTX2.
1 Like
Yup currently only supporting our own packed format based on RGBD and png.
1 Like
Pryme8
February 3, 2020, 8:26pm
5
Would he be able to utilize the compressed environment textures that can be generated in the sandbox?
Which would have a better compression factor?
Oh yes, @Alex_B , you should have a look at Use a HDR environment (for PBR) - Babylon.js Documentation
and more specifically: Use a HDR environment (for PBR) - Babylon.js Documentation
This would provide you with a nice fully featured ready to go env for babylon.
1 Like