Exemplo n.º 1
0
        public void ConfigureMSAADependentSettings()
        {
            if (enableMSAA)
            {
                // Initially, MSAA will only support forward
                shaderLitMode = LitShaderMode.Forward;

                // TODO: The work will be implemented piecemeal to support all passes
                enableDistortion = false; // no gaussian final color
                enableSSR        = false;
            }
        }
Exemplo n.º 2
0
        public void ConfigureStereoDependentSettings(Camera cam)
        {
            if (cam.stereoEnabled)
            {
                // Stereo deferred rendering still has the following problems:
                // VR TODO: Dispatch tile light-list compute per-eye
                // VR TODO: Update compute lighting shaders for stereo
                shaderLitMode = LitShaderMode.Forward;

                // TODO: The work will be implemented piecemeal to support all passes
                enableMotionVectors = enablePostprocess && !enableMSAA;
                enableSSR           = false;
            }
        }