File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
examples/showcase/post-processing Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,6 @@ import { EffectComposer } from "three/addons/postprocessing/EffectComposer.js";
11
11
import { RenderPass } from "three/addons/postprocessing/RenderPass.js" ;
12
12
import { UnrealBloomPass } from "three/addons/postprocessing/UnrealBloomPass.js" ;
13
13
import { OutputPass } from "three/addons/postprocessing/OutputPass.js" ;
14
- import { FullScreenQuad } from "three/addons/postprocessing/Pass.js" ;
15
-
16
- // Disable XR projection for fullscreen effects
17
- // https://github.com/mrdoob/three.js/pull/26160
18
- const _render = FullScreenQuad . prototype . render ;
19
- FullScreenQuad . prototype . render = function ( renderer ) {
20
- const xrEnabled = renderer . xr . enabled ;
21
- renderer . xr . enabled = false ;
22
- _render . apply ( this , arguments ) ;
23
- renderer . xr . enabled = xrEnabled ;
24
- } ;
25
14
26
15
AFRAME . registerComponent ( "bloom" , {
27
16
schema : {
@@ -34,10 +23,6 @@ AFRAME.registerComponent("bloom", {
34
23
this . renderer . getSize ( this . size ) ;
35
24
this . composer . setSize ( this . size . width , this . size . height ) ;
36
25
} ,
37
- "enter-vr" : function ( ) {
38
- this . renderer . getSize ( this . size ) ;
39
- this . composer . setSize ( this . size . width , this . size . height ) ;
40
- } ,
41
26
} ,
42
27
init ( ) {
43
28
this . size = new THREE . Vector2 ( ) ;
You can’t perform that action at this time.
0 commit comments