question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to apply an IBL texture with any file name?

See original GitHub issue

I tried applying an IBL texture to glTF using Ashes. https://cx20.github.io/gltf-test/examples/ashes3d/index.html?category=tutorialModels&model=BoomBox&scale=100&type=glTF

IBL texture can be load with the following file names, but is it possible to use other file names?

helipad/<pos|neg><x|y|z>.hdr

I want to use the following files for IBL textures.

https://github.com/ux3d/glTF-Sample-Environments/tree/4eace30f795fa77f6e059e3b31aa640c08a82133/papermill/specular

before after
helipad/posx.hdr specular/specular_right_0.hdr
helipad/negx.hdr specular/specular_left_0.hdr
helipad/posy.hdr specular/specular_top_0.hdr
helipad/negy.hdr specular/specular_bottom_0.hdr
helipad/posz.hdr specular/specular_front_0.hdr
helipad/negz.hdr specular/specular_back_0.hdr

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
but0ncommented, Mar 26, 2020

Do you mean visual the skybox in the scene? I will handle this feature in next version!

1reaction
cx20commented, Mar 26, 2020

Thank you for telling me how to use IBL correctly. I will wait for the next version for specular environment texture issues.

BTW, Please tell me another one. How can I apply a CubeMap Texture to the background using Ashes instead of IBL as follows:

image

If that is feasible, I would like to update the gltf-test sample to use CubeMap like other libraries.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Does anyone know where to put the IBL presets and
This can help. Click on folder near IBL in the panel and load or replace IBL downloaded image. ... This can help. Click...
Read more >
How to create .env texture file? - Questions - Babylon.js Forum
When IBLBaker saves a texture in DDS format, the following files are generated. Which DDS file should I use for Babylon.js CubeMap and...
Read more >
ibl-converter/readme.md at master - GitHub
Generate IBL maps for use with PBR shaders. Use this to convert different environment maps into the required formats for use in a...
Read more >
Specular IBL - LearnOpenGL
In these tutorials, we've pre-computed all the relevant PBR image-based lighting data at the start of our application, before the render loop. This...
Read more >
Image based lighting node attributes | Maya
Image Name. Name of image on disk. Click the browse button to browse to the file. Use Frame Extension. If turned on, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found