egui/examples/custom_3d_glow
Emil Ernerfeldt e0b5bb17e5
Improve the look of thin lines, making them look weaker (#2437)
* Revert "fix all clippy lints and remove them from allow list in cranky (#2419)"

This reverts commit 930ef2db38.

* Explain the cranky lints better

* Add Color32::gamma_multiply

* Remove unused pub use

* Remove non-existing crate category

* Improve color test with more lines

* Improve the look of thin lines, making them look weaker

Before they looked were too strong for the thickness.

* Use asserts for shader compilations

* Update changelogs
2022-12-12 16:18:05 +01:00
..
src Improve the look of thin lines, making them look weaker (#2437) 2022-12-12 16:18:05 +01:00
Cargo.toml Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01:00
README.md Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01:00
screenshot.png Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01:00

This demo shows how to embed 3D rendering using glow in eframe.

This is very advanced usage, and you need to be careful.

If you want an easier way to show 3D graphics with egui, take a look at the custom_3d_three-d.rs example.

If you are content of having egui sit on top of a 3D background, take a look at:

cargo run -p custom_3d_glow