0

I have used PointsMaterial to create particles in three.js in console it is working fine but nothing appearing on the screen,my screen is black and the position of my camera is

// Base camera

const camera = new THREE.PerspectiveCamera(75, sizes.width / sizes.height, 0.1, 100)

camera.position.z = 3

scene.add(camera)

and i didn't forget to add it to the scene

this is the picture of my code

1 Answer 1

0

Your point size is 0.02, but to show particle big as one pixel you should use default size 1.0 .

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.