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

chaper2 , shadow project - CameraHelper doesn't work #33

Open
seunguri opened this issue Mar 29, 2024 · 1 comment
Open

chaper2 , shadow project - CameraHelper doesn't work #33

seunguri opened this issue Mar 29, 2024 · 1 comment

Comments

@seunguri
Copy link

CameraHelper position, rotation is fixed at original point
I replaced it to SpotLightHelper, and it works

스크린샷 2024-03-29 오후 12 24 38
const spotLightCameraHelper = new THREE.CameraHelper(spotLight.shadow.camera);
spotLightCameraHelper.visible = true;
scene.add(spotLightCameraHelper);

const spotLightHelper = new THREE.SpotLightHelper(spotLight);
spotLightHelper.visible = true;
scene.add(spotLightHelper);
@seunguri
Copy link
Author

if this repository not related to lesson project, please delete this issue

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

1 participant