-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flip issue with ldr (jpg and png) background texture on environment-settings component #21
Comments
I have this code: aframe-gltf-model-plus/src/inflators/environment-settings.js Lines 81 to 85 in cf6805c
flipY true has no effect here. If I change to false, there is no change. I confirmed it's right here we set the background by commenting the scene.background = line. :)There is something I don't get here. |
I have no idea on this one. |
https://threejs.org/docs/#api/en/textures/Texture.flipY If I remember I tested loading jpg image for backgroundTexture with environment-settings aframe component you can use directly on a-scene with Not sure how to fix that and what we do differently from hubs code. |
I tried to understand the issue but without success. The thing I noticed was that any change to filpY in the inflateEnvironmentSettings does not have any effect on the background image orientation. May flipY be overridden somewhere else in other parts of the code? |
Maybe we need this patch Hubs-Foundation/three.js@928eb3c to be tested. |
I apparently didn't test that properly when I wrote the code. An hdr background texture works correctly.
The text was updated successfully, but these errors were encountered: