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

SpotLight #98

Open
GRajKumar2512 opened this issue Aug 19, 2023 · 6 comments
Open

SpotLight #98

GRajKumar2512 opened this issue Aug 19, 2023 · 6 comments

Comments

@GRajKumar2512
Copy link

<spotLight position={[-20, 50, 10]} angle={0.12} penumbra={1} intensity={1} castShadow shadow-mapSize={1024} />
this Lines of the code for the spotLight isn't working.
And the hemisphere Light is working with this lines of code:
<hemisphereLight intensity={1} position={[0, 1, 0]} groundColor="black" />

@Thebigjoe10
Copy link

true

@Hypotech
Copy link

Check your project's dependencies in package.json and see if you're using three "^0.155". In 0.155 intensity needs to be higher as you can see on this post. Setting intensity to 1000 worked for me

@GRajKumar2512
Copy link
Author

@Hypotech Can you please share your configuration for the spot-light, hemisphere-light and Point-light with us.

@tamago01
Copy link

image

@tamago01
Copy link

image

this one worked for me

@GRajKumar2512
Copy link
Author

@tamago01 Thanks mate !

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

4 participants