Volumetric Textures?
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
**What problem does this solve or what need does it fill?**
Hi, I'm awfully new to Bevy.
I have microscopy images in z-stack (z slices of images of cells) and I'd like to be able to display them in 3D. One way to do this is to create multiple cubes, each with the z-stack thickness and spaced according to the images.
Each cube would have a volumetric texture such that apparent color from the camera in world location , and cube-local location is determined completely by the coordinate. In other words it is a volumetric "extrusion" of the image, with opacity to create the effect.
This is a crude demonstration of this kind of effect:

Is this possible to do in Bevy? I didn't see anything obvious in the documentation to indicate that it is, but am hoping there may be a way forward. I would like to understand if so. If not, is this trivial to implement, even if it is inefficient MVP-grade work? I admittedly do not understand how these techniques are implemented efficiently in other engines, forgive me.
I know bevy community / core team is not interested in supporting ray tracing at this time, and I am not interested in utilizing ray tracing. I am guessing raster techniques work for this type of limited matte volumetric texture work.
A description of why this particular feature should be added.
Volumetric Textures are useful, other engines support them (well, sometimes), and I want them 😁.
**Describe the solution would you like?**
I'm in no position to suggest API structure, but adding or documenting (here at least) some minimum amount of volumetric texture support would be a dream.
Contributor guide
Assessment
This issue has not been assessed yet.