mirror of
https://github.com/troisjs/trois.git
synced 2024-11-23 20:02:32 +08:00
fix dof
This commit is contained in:
parent
786555ea5c
commit
561ae0938d
@ -64,7 +64,7 @@ function createEffect(
|
||||
effect = new PP.BloomEffect(options)
|
||||
break
|
||||
case 'dof' :
|
||||
effect = new PP.DepthEffect(renderer, options)
|
||||
effect = new PP.DepthOfFieldEffect(renderer, options)
|
||||
break
|
||||
case 'smaa' :
|
||||
effect = createSmaaEffect(options, assets)
|
||||
|
Loading…
Reference in New Issue
Block a user