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