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

Depth issue on Safari #65

Open
cihadturhan opened this issue Feb 17, 2021 · 2 comments
Open

Depth issue on Safari #65

cihadturhan opened this issue Feb 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@cihadturhan
Copy link

cihadturhan commented Feb 17, 2021

Safari:
https://user-images.githubusercontent.com/3739536/108192698-a4f23f00-7125-11eb-9c90-a3e2b4382878.mp4
image

Chrome or Firefox:
https://user-images.githubusercontent.com/3739536/108192859-d3701a00-7125-11eb-9a3f-082aa4f77ed3.mp4

Simplest reproducible code

import React from 'react'
import {EffectComposer, SMAA} from '@react-three/postprocessing'
import { SMAAPreset } from 'postprocessing'


export default function Effects() {
  return <EffectComposer depthBuffer={true} >
      <SMAA preset={SMAAPreset.HIGH}/>
    </EffectComposer>
}

One thing I noticed is, if you change a prop on EffectComposer and save, it fixes after hot reload.
So I think this is a bug.
Thanks

@talentlessguy talentlessguy added the bug Something isn't working label Feb 17, 2021
@talentlessguy
Copy link
Member

Is it still present with v2?

@cihadturhan
Copy link
Author

cihadturhan commented May 3, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants