Fix the problem of skybox black in the editor on mac. (#7539)

This commit is contained in:
cary
2020-10-16 13:54:53 +08:00
committed by GitHub
parent 2cdc3d1b8b
commit adee4e410b
+2 -2
View File
@@ -92,12 +92,12 @@ export enum PipelineGlobalBindings {
UBO_GLOBAL,
UBO_SHADOW,
SAMPLER_ENVIRONMENT,
SAMPLER_SHADOWMAP,
SAMPLER_ENVIRONMENT, // Note: Due to the bindless optimizations, environment using unit 0 will affect the rendering in the editor.
COUNT,
}
const GLOBAL_UBO_COUNT = PipelineGlobalBindings.SAMPLER_ENVIRONMENT;
const GLOBAL_UBO_COUNT = PipelineGlobalBindings.SAMPLER_SHADOWMAP;
const GLOBAL_SAMPLER_COUNT = PipelineGlobalBindings.COUNT - GLOBAL_UBO_COUNT;
export enum ModelLocalBindings {