How to change the default HDR env inside the Viewer #4156
Answered
by
elalish
digityze2023
asked this question in
Q&A
-
Hello, I'm going to create a custom viewer in order to validate my GLB models. I want to create a new one with my custom HDR - I don't need to change it or other things. I started to modify the space-opera.js file but I don't know how to change the default HDR as I told you, could you please help me? |
Beta Was this translation helpful? Give feedback.
Answered by
elalish
Mar 15, 2023
Replies: 1 comment 2 replies
-
By viewer, I'm guessing you mean our editor? You can just drag and drop your HDR there. For |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, as I said, just set
environment-image
in model-viewer. If you search that string in space-opera, you'll see where it's currently set and you can change it.