百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bevy-hikari

> 编程语言
开源

Bevy 的实时路径追踪器

383 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Bevy 的实时路径追踪器

Realtime Path Tracer for Bevy

bevy-hikari is an implementation of global illumination for Bevy.

After Bevy releasing 0.8, the plugin moves to deferred hybrid path tracing. For the old version (0.1.x) which uses voxel cone tracing with anisotropic mip-mapping, please check the bevy-0.6 branch.

:construction: This project is under heavily development. Certain passes are yet optimized, public interfaces may change between major versions, and minor versions may release very often.

:warning: Notes:

  • Please run examples with --release flag to avoid the texture non-uniform indexing error
  • Please compile this libaray in release mode when using as a dependency
  • Supported meshes must have these 3 vertex attributes: position, normal and uv

Bevy Version Support

bevy bevy-hikari
0.6 0.1
0.8 0.2
0.9 0.3

Progress

  • Extraction and preparation of mesh assets and instances
  • Asynchronous building of acceleration structures
  • G-Buffer generation
  • N-bounce indirect lighting
  • Transparency
  • Next event estimation
  • Better light sampling (L-BVH + Alias table)
  • ReSTIR: Temporal sample reuse
  • ReSTIR: Spatial sample reuse
  • Spatiotemporal filtering
  • Temporal anti-aliasing
  • Spatial up-scaling (FSR 1.0)
  • Temporal up-scaling (SMAA TU4X)
  • Skinned animation
  • HDR output
  • Bloom
  • Hardware ray tracing (upstream related)

Basic Usage

  1. Add HikariPlugin to your App after PbrPlugin
  2. Setup the scene with a directional light
  3. Insert HikariSettings component to the camera

One can configure the renderer through HikariSettings component on the camera entity. Available options are:

…

If you are unsure about some terms in these options, you could check render passes for details.

…

Custom Materials

bevy-hikari is built based on bevy's PBR standard material. A material that is eligible for lighting needs to have surface properties a StandardMaterial has (base color, metallic, etc). In order to render with custom materials,

  1. Implement Into for the material CustomMaterial, and
  2. Add GenericMaterialPlugin::::default() to the app
  3. Add GenericInstancePlugin::::default() to the app

Screenshots

Here are the screenshots of examples.

Simple

Cornell (2 Indirect Bounces)

City (Song Dynasty)

Scene (WW2)

Render Passes

License

Just like Bevy, all code in this repository is dual-licensed under either:

  • MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)

at your option.

Credits

  • "Fire Extinguisher" model and textures by Cameron 'cron' Fraser.
  • "WW2 City Scene" from sketchfab.
  • "Song Dynasty Architectures" by 唐晨.

References

  • ReSTIR: https://cs.dartmouth.edu/wjarosz/publications/bitterli20spatiotemporal.pdf
  • ReSTIR GI: https://d1qx31qr3h6wln.cloudfront.net/publications/ReSTIR%20GI.pdf
  • GRIS: https://d1qx31qr3h6wln.cloudfront.net/publications/sig22_GRIS.pdf
  • SVGF: https://cg.ivd.kit.edu/publications/2017/svgf/svgf_preprint.pdf
  • Filmic SMAA TU: https://www.activision.com/cdn/research/Dynamic_Temporal_Antialiasing_and_Upsampling_in_Call_of_Duty_v4.pdf

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言