I have created a sample that applies Unreal Bloom to a specific entity in an A-Frame.
Unreal Bloom is a feature that I would like to use often, so if anyone needs it, please feel free to use it.
This is just a slight extension of Evan Carlson’s “aframe: camera + scene postprocessing”, but it was quite difficult for me, to do so for someone similar.
Also I made A-Frame Halftone to specific item.
The code for this project is also public, so feel free to use it if you are interested.(The Unreal Bloom project is also public) bench.8thwall.app/halftone-aframe/
Thanks so much for putting this out. Exactly what i was missing in an old project i was working on. Just one issue is that when i clone the project i get errors
XR threw an exception Error: No valid session manager to handle this session.
at onException xr-simd-27.1.9.427.js
at cb xr-simd-27.1.9.427.js
at (anonymous) xr-simd-27.1.9.427.js
at Z xr-simd-27.1.9.427.js
at Y xr-simd-27.1.9.427.js
at (anonymous) xr-simd-27.1.9.427.js
at E xr-simd-27.1.9.427.js
6:52:55 PM
Error: No valid session manager to handle this session.
at https://cdn.8thwall.com/xr-simd-27.1.9.427.js:18:85181
at Generator.next ()
at e (https://cdn.8thwall.com/xr-simd-27.1.9.427.js:1:5189)
6:52:55 PM
Unhandled promise rejection: TypeError: THREE.EffectComposer is not a constructor
postprocessing.js:161:21
6:52:55 PM
TypeError: THREE.EffectComposer is not a constructor
Thank you @Tirso_Perez !
I think it is the same error that is being discussed here.
Where the EffectComposer is not being read, I think it is happening because of the No valid session manager. (I am not sure, but…)