drop flag check

main
Dominik Madarász 2024-03-20 21:48:52 +01:00
parent f620ed1938
commit 64c6fb54a4
3 changed files with 3 additions and 3 deletions

View File

@ -371715,7 +371715,7 @@ skybox_t skybox_pbr(const char *sky_map, const char *refl_map, const char *env_m
// sky program // sky program
sky.flags = SKYBOX_PBR; sky.flags = SKYBOX_PBR;
sky.program = shader(vfs_read("shaders/vs_3_3_skybox.glsl"), 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); "att_position", "fragcolor", NULL);
// sky cubemap & SH // sky cubemap & SH

View File

@ -1688,7 +1688,7 @@ skybox_t skybox_pbr(const char *sky_map, const char *refl_map, const char *env_m
// sky program // sky program
sky.flags = SKYBOX_PBR; sky.flags = SKYBOX_PBR;
sky.program = shader(vfs_read("shaders/vs_3_3_skybox.glsl"), 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); "att_position", "fragcolor", NULL);
// sky cubemap & SH // sky cubemap & SH

View File

@ -18862,7 +18862,7 @@ skybox_t skybox_pbr(const char *sky_map, const char *refl_map, const char *env_m
// sky program // sky program
sky.flags = SKYBOX_PBR; sky.flags = SKYBOX_PBR;
sky.program = shader(vfs_read("shaders/vs_3_3_skybox.glsl"), 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); "att_position", "fragcolor", NULL);
// sky cubemap & SH // sky cubemap & SH