Tom Deleu
Tom Deleu

Reputation: 1187

THREE.EffectComposer in A-Frame

Anyone has a good example on how to use THREE.EffectComposer correctly in A-Frame? Especially the combination of EffectComposer and PMRemGenerator.

Used https://gist.github.com/donmccurdy/31560945d5723737e6c656a2974ab628 for now, but this method breaks a couple of things. The inspector, but more importantly the use of PMRemGenerator for example. (It also doesn't work in VR, but that's minor for my specific project)

And https://github.com/wizgrav/aframe-effects doesn't work on recent versions anymore, and doesn't seem to be maintained anymore. (And I'm too much of a newbie to try and fix that I'm afraid) (edited)

UPDATE: Edited the original question to make it clear the combination PMRemGenerator / EffectComposer is the important part. VR not so much, but that wasn't clear in the original form.

Upvotes: 2

Views: 842

Answers (1)

Diego Marcos
Diego Marcos

Reputation: 4585

Not possible. VR post-processing depends on on-going THREE work that you can follow on this PR: https://github.com/mrdoob/three.js/pull/15840

Upvotes: 1

Related Questions