예제 #1
0
        public HDRPreprocessShaders()
        {
            if (ShaderBuildPreprocessor.hdrpAssets == null || ShaderBuildPreprocessor.hdrpAssets.Count == 0)
            {
                return;
            }

            shaderProcessorsList = HDShaderUtils.GetBaseShaderPreprocessorList();
        }
예제 #2
0
        public HDRPreprocessShaders()
        {
            // TODO: Grab correct configuration/quality asset.
            if (ShaderBuildPreprocessor.hdrpAssets == null || ShaderBuildPreprocessor.hdrpAssets.Count == 0)
            {
                return;
            }

            shaderProcessorsList = HDShaderUtils.GetBaseShaderPreprocessorList();
        }