-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix lighting issue #514
Fix lighting issue #514
Conversation
what happens if we keep using the |
|
The standard material uses PBR so it's actually good we're switching to this! |
i know, but are they needed if we use zero decay? Could you post a screenshot of using |
on it |
Integration tests repot: appsharing.space |
Preview PR at appsharing.space |
phong.mov |
Thanks, indeed it looks better with the |
@@ -227,7 +227,8 @@ export class MainView extends React.Component<IProps, IStates> { | |||
|
|||
this._scene.add(new THREE.AmbientLight(0xffffff, 0.5)); // soft white light | |||
|
|||
this._cameraLight = new THREE.PointLight(0xffffff, 1); | |||
this._cameraLight = new THREE.PointLight(0xffffff, 100); | |||
this._cameraLight.decay = 5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we would be using decay 0
with an intensity of 1
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh Shoot 😬 , this is my bad I think i pushed the wrong changes as I was changing them rapidly. So Sorry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries!
light.mov