aframe-environment-component icon indicating copy to clipboard operation
aframe-environment-component copied to clipboard

Change size of the environment

Open KawanaS opened this issue 3 years ago • 4 comments

How to change the width or the size of the environment? I have tried using scaling, but that distorts the sky and other features.

KawanaS avatar Feb 08 '22 17:02 KawanaS

I would also like to know this. How to change size of the environment sphere and the ground grid?

VictorSOS avatar Feb 14 '22 09:02 VictorSOS

Me too. Searching in the source code I saw there is a variable called STAGE_SIZE that was hard coded

image https://github.com/supermedium/aframe-environment-component/blob/master/index.js

I will work on this when I have some time :)

RodrigoWebDev avatar May 07 '22 06:05 RodrigoWebDev

Yeah, I have hacked it before to modify stage size and then update. that works for me.

kylebakerio avatar Oct 03 '22 22:10 kylebakerio

Yeah, I think I'm having issues with STAGE_SIZE as well as some objects with a cube-env-map aren't working correct, and it seems to be related to if they're near the sky sphere. I didn't think it should be an issue, and only happens on my VR device, but maybe it does affect it? Maybe should be a param on the component as it is for ?

tntmonty avatar Jan 28 '24 18:01 tntmonty