{"id":16126078,"url":"https://github.com/rreusser/bloom-effect-example","last_synced_at":"2025-07-28T11:06:58.051Z","repository":{"id":39982352,"uuid":"241025746","full_name":"rreusser/bloom-effect-example","owner":"rreusser","description":"sub-optimal regl-based bloom effect in nearly-vanilla WebGL","archived":false,"fork":false,"pushed_at":"2022-12-05T08:45:45.000Z","size":2584,"stargazers_count":29,"open_issues_count":7,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T16:04:52.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rreusser.github.io/bloom-effect-example/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rreusser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-17T05:19:00.000Z","updated_at":"2025-02-08T20:02:12.000Z","dependencies_parsed_at":"2023-01-24T04:15:59.096Z","dependency_job_id":null,"html_url":"https://github.com/rreusser/bloom-effect-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rreusser/bloom-effect-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rreusser%2Fbloom-effect-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rreusser%2Fbloom-effect-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rreusser%2Fbloom-effect-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rreusser%2Fbloom-effect-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rreusser","download_url":"https://codeload.github.com/rreusser/bloom-effect-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rreusser%2Fbloom-effect-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267505099,"owners_count":24098346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T21:35:09.683Z","updated_at":"2025-07-28T11:06:57.995Z","avatar_url":"https://github.com/rreusser.png","language":"JavaScript","readme":"# Bloom Effect Example\n\n\u003e [regl](https://github.com/regl-project/regl)-based bloom effect in nearly-vanilla WebGL\n\n## Introduction\n\nThis example performs a bloom effect in WebGL using a [separable Gaussian blur](https://github.com/Jam3/glsl-fast-gaussian-blur). To achieve a relatively smooth blur with relatively few passes, it downsamples the full-size framebuffer when computing the blur and performs blur passes of, for example, radius 32, 16, 8, 4, 2, and finally 1 pixel. That makes it not really an exact Gaussian blur, but seems to get the job done.\n\nPlease be advised that the goal here is not an optimal implementation of a bloom effect but more to present a way to implement post-processing effects like these effects in [regl](https://github.com/regl-project/regl). I hope maybe this repo is useful for someone, but don't overestimate its value. 😄  The standard if you really want to perform real-time bloom seems to be some combination of mip-maps/image pyramids and [Kawase's method](https://software.intel.com/en-us/blogs/2014/07/15/an-investigation-of-fast-real-time-gpu-based-image-blur-algorithms).\n\nUpdate: I've added an FFT implementation as well which performs a full convoution and uses some sort of star pattern instead of a gaussian kernel.\n\n\n[Live example](https://rreusser.github.io/bloom-effect-example/)\n\n![bloom](./docs/bloom.jpg)\n\n## License\n\n\u0026copy; 2020 Ricky Reusser. MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frreusser%2Fbloom-effect-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frreusser%2Fbloom-effect-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frreusser%2Fbloom-effect-example/lists"}