-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Repro
- Download ibl.ktx from https://github.com/bjornbytes/lovr-docs/tree/v0.16.0/examples/Lighting/PBR_Materials
- Expected: Should look something like
- Current result: Interpreted as a file with RGB channels all black, alpha channel all white
This file is the output of the Google Filament "cmgen" tool on a panoramic photo of a building.
Alternate expected behavior: After some experimentation I suspect the reason this is happening is because the file is rg11b10f [GL_R11F_G11F_B10F] and many viewers do not support this. However, if a ktx file is entered the sandbox cannot process, it should display an error message rather than an incorrect result.
Desktop (please complete the following information):
- Windows 10 Build 19045
- Chrome 110.0.5481.178 (Official Build) (64-bit)
- Video card: Geforce RTX 3070 Ti, Directx 12 runtime
Additional context
I am not a babylonJS user, I was just recommended your sandbox as a good way of viewing files such as KTX. The instructions say to only file here if you have posted on the forum first but I do not have a forum account and so due to the simplicity of the bug I did not do this. Sorry.