bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
35.23k stars 3.47k forks source link

Add a simple skybox and envmap for use in examples #13632

Open alice-i-cecile opened 3 months ago

alice-i-cecile commented 3 months ago

Adding a skybox to the motion_blur example would be nice

I agree. I tried this out, but frankly it looks awful with the skyboxes we have available in tree. It would be nice if we had a simpler sky-and-clouds skybox and envmap.

Originally posted by @aevyrie in https://github.com/bevyengine/bevy/issues/13617#issuecomment-2143730977

This should be easy enough, but we can only use permissively licensed assets.

andristarr commented 3 months ago

Are we okay with CC-BY licensed assets? If yes, where should we credit the author of the skybox asset?

alice-i-cecile commented 3 months ago

CC-BY is great: add it to CREDITS.md.

aevyrie commented 3 months ago

As noted in #13671 (and my original comment):

Ideally we would also have an envmap, so the lighting matches the skybox. You can use https://github.com/pcwalton/gltf-ibl-sampler-egui to generate skyboxes and specular/diffuse envmaps from hdr skyboxes you find online.