#Unknown log message when using skybox

5 messages · Page 1 of 1 (latest)

hasty hazel
#

The log message INFO log: Skip function Some("coords_to_ray_direction") appears when I add a skybox to my 3d camera, if I remove the Skybox{} definition it stops showing up. My setup code:

let image = asset_server.load("skyboxes/skybox1.ktx2");
commands.spawn((
  MainCamera,
  Camera3dBundle::default(),
  Skybox {
    image: image,
    brightness: 1000.0
  }
));

Running Bevy 0.13.1. Any idea where this is coming from? Seems like a debug print that got left in the build.

hasty hazel
#

coords_to_ray_direction seems to be defined in crates/bevy_core_pipeline/src/skybox/skybox.wgsl:18 and used on line 72

tiny zodiac
#

That's a log line from naga crate - naga is a "Shader translation infrastructure" library. I'd generally ignore it unless you really want to clean your log

hasty hazel
#

K, was just curious if that meant i was doing something wrong

tiny zodiac
#

No it probably just means whatever shader skybox uses needs to be translated on your machine and not mine.. what’s your gpu?