#Platform / Graphics card issues with shadow rendering

2 messages · Page 1 of 1 (latest)

sterile talon
#

Hello.

I'm fairly new to Rust and totally new to Bevy and was checking it out considering using it for my first game. So naturally I ran a few examples to see what is possible.

Shadows are being rendered very strangely on my system and I'm not sure what to do. I'm talking about the unmodified examples downloaded from the GitHub repo from the latest release. (So in theory it should be 0.10.0 but I don't know how to confirm that)

I've attached a video how the shadows behave on my system. This is the example lighting i'm running with cargo run --example lighting

I'm pretty sure this is not how the shadows are supposed to behave. I can see similar behavior in other examples with 3d and lighting as well, e.g. animated_fox (see attached screenshot). From the looks of it it has something to do with the edges vs. the faces. In the lighting example it looks like the shadow map from at least one of the light sources only contains shadows cast by the wireframe, and in animated-fox it looks like shadows/shading is cast on the fox on the faces excluding the edges.

My graphics card and system info are:

2023-03-20T22:15:20.446046Z  INFO bevy_render::renderer: AdapterInfo { name: "Intel(R) Iris(TM) Plus Graphics 655", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
2023-03-20T22:15:21.137315Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "MacOS 13.2.1 ", kernel: "22.3.0", cpu: "Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz", core_count: "4", memory: "16.0 GiB" }

I've never seen this phenomenon in games or other software rendering 3d graphics with shadows in the 4 years I've had this computer.

Does anyone know of this problem? Is there any way for me to remedy this or diagnose it further?

Thanks
-- Alina

gritty stone