// defines //#todo: #10131 Redmi5A = 1 #pragma define-meta CC_DISABLE_STRUCTURE_IN_FRAGMENT_SHADER range([0, 1]) #pragma define CC_PIPELINE_TYPE_FORWARD 0 #pragma define CC_PIPELINE_TYPE_DEFERRED 1 #pragma define-meta CC_PIPELINE_TYPE range([0, 1]) #pragma define-meta CC_FORCE_FORWARD_SHADING #define CC_USE_SURFACE_SHADER 1 // Surface #include // Uniforms--UBO #include #include #if (CC_PIPELINE_TYPE == CC_PIPELINE_TYPE_FORWARD || CC_FORCE_FORWARD_SHADING) #if CC_FORWARD_ADD #include #endif #endif #if CC_USE_LIGHT_PROBE #if !USE_INSTANCING #include #endif #endif // Uniforms--Tex #include #if CC_SUPPORT_CASCADED_SHADOW_MAP #include #endif #include #if CC_USE_IBL #if CC_USE_DIFFUSEMAP #include #endif #endif #if CC_USE_REFLECTION_PROBE #include #endif // Base #include #include #include #include #include #include #include #include #include #include #include // Functional #include #include #if CC_USE_LIGHT_PROBE #include #endif #if CC_USE_REFLECTION_PROBE #include #endif // Uniform should depend on system macro, not surface macro #if CC_USE_LIGHTMAP && !CC_FORWARD_ADD #include #include #endif