HDR JPG Loader Request

I humbly request that Babylon.js implement a similar loader to this Three.js loader.

I think this is currently covered just not in the same ways. For Environment / reflection textures, there is a tool to create .env files, it escapes me where at the moment, that takes in a .hdr and does all the pre-processing ahead of time, instead of at “go time”. It can also make it significantly smaller than the .hdr.

I have a 5199kb .hdr that comes out as a 622kb .env.

A texture itself is of zero worth unless it is attached to a material which is then attached to a mesh. For 360 jpegs there is a photo dome mesh.

I think this arrangement is better. That is just an example. It says so in the page title. It as most example code, does not really go anywhere, as a practical matter.

1 Like

@SirFizX what is the limitation you are experiencing with our env format ?

I think some users only have JPG or PNG environment ball images, so they want to use them directly as the background or material for the Sky Box

Can you elaborate more on the need here? We already support hdr files (and I’ve just added exr as well)

It’s just a regular EquiRectangular, and I see in the documentation that EquiRectangular CubeTexture is already supported.

Yep:) hence my question :slight_smile: I feel like this feature is already supported

Indeed, it’s great :+1:

1 Like

This is what I saw: