diff --git a/engine/joint/v4k.h b/engine/joint/v4k.h index 4c6341d..d08feca 100644 --- a/engine/joint/v4k.h +++ b/engine/joint/v4k.h @@ -371715,7 +371715,7 @@ skybox_t skybox_pbr(const char *sky_map, const char *refl_map, const char *env_m // sky program sky.flags = SKYBOX_PBR; sky.program = shader(vfs_read("shaders/vs_3_3_skybox.glsl"), - sky.flags ? vfs_read("fs_3_4_skybox.glsl") : vfs_read("shaders/fs_3_4_skybox_rayleigh.glsl"), + vfs_read("fs_3_4_skybox.glsl"), "att_position", "fragcolor", NULL); // sky cubemap & SH diff --git a/engine/split/v4k_render.c b/engine/split/v4k_render.c index 82377c0..70bd8f0 100644 --- a/engine/split/v4k_render.c +++ b/engine/split/v4k_render.c @@ -1688,7 +1688,7 @@ skybox_t skybox_pbr(const char *sky_map, const char *refl_map, const char *env_m // sky program sky.flags = SKYBOX_PBR; sky.program = shader(vfs_read("shaders/vs_3_3_skybox.glsl"), - sky.flags ? vfs_read("fs_3_4_skybox.glsl") : vfs_read("shaders/fs_3_4_skybox_rayleigh.glsl"), + vfs_read("fs_3_4_skybox.glsl"), "att_position", "fragcolor", NULL); // sky cubemap & SH diff --git a/engine/v4k.c b/engine/v4k.c index 413c080..d0f263f 100644 --- a/engine/v4k.c +++ b/engine/v4k.c @@ -18862,7 +18862,7 @@ skybox_t skybox_pbr(const char *sky_map, const char *refl_map, const char *env_m // sky program sky.flags = SKYBOX_PBR; sky.program = shader(vfs_read("shaders/vs_3_3_skybox.glsl"), - sky.flags ? vfs_read("fs_3_4_skybox.glsl") : vfs_read("shaders/fs_3_4_skybox_rayleigh.glsl"), + vfs_read("fs_3_4_skybox.glsl"), "att_position", "fragcolor", NULL); // sky cubemap & SH