Skip to content
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

Cubemaps not getting applied in my <a-scene> component #5601

Open
PratikPatel-113 opened this issue Nov 8, 2024 · 1 comment
Open

Cubemaps not getting applied in my <a-scene> component #5601

PratikPatel-113 opened this issue Nov 8, 2024 · 1 comment

Comments

@PratikPatel-113
Copy link

PratikPatel-113 commented Nov 8, 2024

Description:
After updating my a-frame version to 1.5.0 my cubemaps attached to my scene are not getting reflected. It does not have any impact in my scene. How to solve for this?

  • A-Frame Version: 1.5.0
  • Platform / Device:
  • Reproducible Code Snippet or URL:
<a-scene iframe-inner rec shadow="type: pcfsoft" physics
    renderer="antialias:true;colorManagement:true;sortObjects:true;physicallyCorrectLights: false;gammaOutput: true; gammaFactor: 2.2; toneMappingExposure: 1"
    gltf-model="dracoDecoderPath: https://www.gstatic.com/draco/versioned/decoders/1.4.3/;"
    shadow="autoUpdate: false; enabled: true" xrextras-pause-on-blur vr-mode-ui="enabled: false"
    device-orientation-permission-ui="enabled: false">
    <a-assets>
      <a-asset-item id="room" src=""></a-asset-item>
      <a-asset-item id="glbModelPathHolder" src=""></a-asset-item>
      <img crossorigin="anonymous" id="posx" src="../cubemap/px.png">
      <img crossorigin="anonymous" id="posy" src="../cubemap/py.png">
      <img crossorigin="anonymous" id="posz" src="../cubemap/pz.png">
      <img crossorigin="anonymous" id="negx" src="../cubemap/nx.png">
      <img crossorigin="anonymous" id="negy" src="../cubemap/ny.png">
      <img crossorigin="anonymous" id="negz" src="../cubemap/nz.png">
    </a-assets>
</a-scene>

If i remove this my scene will no impact of this.

@dmarcos
Copy link
Member

dmarcos commented Nov 8, 2024

Use latest A-Frame 1.6.0. Also share complete example people can run with https://glitch.com/~aframe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants