# Lens Flare Component - Threejs

> Ultimate Lens Flare is almost done. We now have object occlusion using a raycaster. The hardest so far. I loved this 3D model of the Star Wars Naboo Royal…

Canonical page: https://andersonmancini.dev/videos/lens-flare-component-threejs

Published: 2023-05-18 · Duration: 1:36 · Category: Components · Tags: three.js, react-three-fiber, shaders, react, fiber, lens-flare, flare, threejsjourney

Watch: [YouTube](https://www.youtube.com/watch?v=BBB4d3Bqpto) · [Subscribe to the channel](https://www.youtube.com/@AndersonMancini?sub_confirmation=1)

Ultimate Lens Flare is almost done. We now have object occlusion using a raycaster. The hardest so far. I loved this 3D model of the Star Wars Naboo Royal spaceship. Looks great with a jet engine shader.

## Related projects

- [Ultimate Lens Flare](https://andersonmancini.dev/projects/ultimate-lens-flare.md) — Realistic lens flare component for R3F and Threejs

## Related articles

- [Ultimate Lens Flare: an effect that knows what blocks the sun](https://andersonmancini.dev/blog/ultimate-lens-flare.md)
