Document support limitations for OmniLight cubemap shadows in GLES2

This commit is contained in:
Hugo Locurcio
2022-07-18 22:17:19 +02:00
parent 51e2c1990a
commit b03ceaba2f
2 changed files with 6 additions and 2 deletions

View File

@ -6393,6 +6393,9 @@ void RasterizerStorageGLES2::initialize() {
//picky requirements for these
config.support_shadow_cubemaps = config.support_depth_texture && config.support_write_depth && config.support_depth_cubemaps;
if (!config.support_shadow_cubemaps) {
print_verbose("OmniLight cubemap shadows are not supported by this GPU. Falling back to dual paraboloid shadows for all omni lights (faster but less precise).");
}
frame.count = 0;
frame.delta = 0;