react-postprocessing
react-postprocessing copied to clipboard
Depth issue on Safari
Safari:
https://user-images.githubusercontent.com/3739536/108192698-a4f23f00-7125-11eb-9c90-a3e2b4382878.mp4
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
Is it still present with v2?
I haven’t tried.
I’ve resolved the issue by using logarithmic depth buffer then and the project has already been delivered.
Cihad Turhan
v 1 r t l @.***> şunları yazdı (3 May 2021 12:24):

Is it still present with v2?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/pmndrs/react-postprocessing/issues/65#issuecomment-831137575, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA4Q7EBQMOS53Q7OQPJ6NBLTLZTUTANCNFSM4XYD6VXQ.