//public void Reset()
        //{
        //    OnEnable();
        //}
        internal void SetProfile(PostProcessingProfile __profile)
        {
            enableAntialiasing = __profile.antialiasing.enabled;
            antialiasing       = __profile.antialiasing.settings;

            enableAmbientOcclusion = __profile.ambientOcclusion.enabled;
            ambientOcclusion       = __profile.ambientOcclusion.settings;

            enableScreenSpaceReflection = __profile.screenSpaceReflection.enabled;
            screenSpaceReflection       = __profile.screenSpaceReflection.settings;

            enableDepthOfField = __profile.depthOfField.enabled;
            depthOfField       = __profile.depthOfField.settings;

            enableMotionBlur = __profile.motionBlur.enabled;
            motionBlur       = __profile.motionBlur.settings;

            enableEyeAdaptation = __profile.eyeAdaptation.enabled;
            eyeAdaptation       = __profile.eyeAdaptation.settings;

            enableBloom = __profile.bloom.enabled;
            bloom       = __profile.bloom.settings;

            enableColorGrading = __profile.colorGrading.enabled;
            colorGrading       = __profile.colorGrading.settings;

            enableUserLut = __profile.userLut.enabled;
            userLut       = __profile.userLut.settings;

            enableChromaticAberration = __profile.chromaticAberration.enabled;
            chromaticAberration       = __profile.chromaticAberration.settings;

            enableGrain = __profile.grain.enabled;
            grain       = __profile.grain.settings;

            enableVignette = __profile.vignette.enabled;
            vignette       = __profile.vignette.settings;

            enableDither = __profile.dithering.enabled;

            enableFog = __profile.fog.enabled;
            fog       = __profile.fog.settings;
        }
示例#2
0
    // Token: 0x06006289 RID: 25225 RVA: 0x00322618 File Offset: 0x00320818
    public void HOEEFIJFCQC(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.DNDPKMIFFDJ();
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.HFMKDHIIPNH(" is buffeted by the hail!\r\n");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != (FogMode)0)
        {
            if (fogMode != (FogMode)6)
            {
                if (fogMode == (FogMode)8)
                {
                    material.EnableKeyword("waterpledge");
                }
            }
            else
            {
                material.EnableKeyword("Invite to Party");
            }
        }
        else
        {
            material.EnableKeyword("[b]");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.BJQCGHDPFBB()) ? RenderTextureFormat.ARGB1555 : ((RenderTextureFormat)(-4));

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.CQNLNDBFFFP(), this.BEHMQBIFCOJ.ONCCDMLHNQL(), 41, FilterMode.Bilinear, format);
        KLIOPLGOLQC.Blit(BuiltinRenderTextureType.PrepassNormalsSpec, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.PrepassLight, material, (!settings.excludeSkybox) ? 1 : 1);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#3
0
    // Token: 0x06006242 RID: 25154 RVA: 0x00321A6C File Offset: 0x0031FC6C
    public void KKFPIMMNJCE(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.DCPMJDLDNMM();
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.HOKGONBDOFC("F3");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != FogMode.Linear)
        {
            if (fogMode != FogMode.ExponentialSquared)
            {
                if (fogMode == (FogMode)5)
                {
                    material.EnableKeyword(" EXP");
                }
            }
            else
            {
                material.EnableKeyword("ability");
            }
        }
        else
        {
            material.EnableKeyword("You have insufficient coins to play the Slot Machine.");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.CGKJPFHPGBN()) ? RenderTextureFormat.ARGB2101010 : ((RenderTextureFormat)(-106));

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.KJGMGPCEJJD, this.BEHMQBIFCOJ.JKGBHEHKBPC(), -37, FilterMode.Point, format);
        KLIOPLGOLQC.Blit(BuiltinRenderTextureType.ResolvedDepth, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.DepthNormals, material, (!settings.excludeSkybox) ? 1 : 0);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#4
0
    // Token: 0x0600626D RID: 25197 RVA: 0x00322380 File Offset: 0x00320580
    public override void EIQKCDHPCKK(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.settings;
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.INJNQNMOKKD("Hidden/Post FX/Fog");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != FogMode.Linear)
        {
            if (fogMode != FogMode.Exponential)
            {
                if (fogMode == FogMode.ExponentialSquared)
                {
                    material.EnableKeyword("FOG_EXP2");
                }
            }
            else
            {
                material.EnableKeyword("FOG_EXP");
            }
        }
        else
        {
            material.EnableKeyword("FOG_LINEAR");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.JCHDOOOJKIC) ? RenderTextureFormat.Default : RenderTextureFormat.DefaultHDR;

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.KJGMGPCEJJD, this.BEHMQBIFCOJ.DFKQMMIQDOO, 24, FilterMode.Bilinear, format);
        KLIOPLGOLQC.Blit(BuiltinRenderTextureType.CameraTarget, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.CameraTarget, material, (!settings.excludeSkybox) ? 0 : 1);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#5
0
    // Token: 0x06006275 RID: 25205 RVA: 0x003224CC File Offset: 0x003206CC
    public void PIQOEOMBINC(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.OILMJDEQKHM();
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.QPKJBEOCKMO("_Dissolve");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != (FogMode)0)
        {
            if (fogMode != (FogMode)6)
            {
                if (fogMode == FogMode.ExponentialSquared)
                {
                    material.EnableKeyword("HH:mm:ss");
                }
            }
            else
            {
                material.EnableKeyword("Guild");
            }
        }
        else
        {
            material.EnableKeyword("Unlit/Transparent Colored");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.GGDPOOCLQGP()) ? RenderTextureFormat.Default : RenderTextureFormat.RG32;

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.KJGMGPCEJJD, this.BEHMQBIFCOJ.ONCCDMLHNQL(), -49, FilterMode.Point, format);
        KLIOPLGOLQC.Blit(BuiltinRenderTextureType.PrepassLight, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.PrepassLight, material, (!settings.excludeSkybox) ? 1 : 1);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#6
0
    // Token: 0x06006265 RID: 25189 RVA: 0x003220E8 File Offset: 0x003202E8
    public void CGOJPJDDDON(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.OILMJDEQKHM();
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.PJJDFGJECLK("Sound");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != FogMode.Linear)
        {
            if (fogMode != (FogMode)8)
            {
                if (fogMode == FogMode.ExponentialSquared)
                {
                    material.EnableKeyword("innerfocus");
                }
            }
            else
            {
                material.EnableKeyword("flying");
            }
        }
        else
        {
            material.EnableKeyword(")");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.NJKQFCKNNLM()) ? RenderTextureFormat.Default : ((RenderTextureFormat)44);

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.CHODJCGKMOK(), this.BEHMQBIFCOJ.ONCCDMLHNQL(), -121, FilterMode.Point, format);
        KLIOPLGOLQC.Blit(BuiltinRenderTextureType.CameraTarget, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.CameraTarget, material, (!settings.excludeSkybox) ? 0 : 0);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#7
0
    // Token: 0x06006269 RID: 25193 RVA: 0x00322234 File Offset: 0x00320434
    public void QMENPKLGQJB(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.DNDPKMIFFDJ();
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.QMJKDCINICP("'s ");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != FogMode.Linear)
        {
            if (fogMode != (FogMode)6)
            {
                if (fogMode == (FogMode)6)
                {
                    material.EnableKeyword("[/sub]");
                }
            }
            else
            {
                material.EnableKeyword("weakarmor");
            }
        }
        else
        {
            material.EnableKeyword("Effort Values[FFFF00] (");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.NJKQFCKNNLM()) ? RenderTextureFormat.Default : ((RenderTextureFormat)36);

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.CHODJCGKMOK(), this.BEHMQBIFCOJ.KPFJEIKPCBG(), 61, FilterMode.Bilinear, format);
        KLIOPLGOLQC.Blit(BuiltinRenderTextureType.None, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.PrepassLight, material, (!settings.excludeSkybox) ? 1 : 0);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#8
0
    // Token: 0x06006264 RID: 25188 RVA: 0x00321F9C File Offset: 0x0032019C
    public void ILOCPGPOHQJ(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.DNDPKMIFFDJ();
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.KDQCHHNMPQD("Expected to have 'target' set to a valid transform");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != FogMode.Linear)
        {
            if (fogMode != (FogMode)8)
            {
                if (fogMode == FogMode.ExponentialSquared)
                {
                    material.EnableKeyword("bind");
                }
            }
            else
            {
                material.EnableKeyword("Water");
            }
        }
        else
        {
            material.EnableKeyword(".");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.NJKQFCKNNLM()) ? RenderTextureFormat.Default : ((RenderTextureFormat)(-76));

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.CHODJCGKMOK(), this.BEHMQBIFCOJ.JHHQQQGMQBM(), -10, FilterMode.Bilinear, format);
        KLIOPLGOLQC.Blit((BuiltinRenderTextureType)6, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.None, material, (!settings.excludeSkybox) ? 0 : 1);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#9
0
    // Token: 0x06006262 RID: 25186 RVA: 0x00321E50 File Offset: 0x00320050
    public void LLEFLIOFGMQ(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.DCPMJDLDNMM();
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.JOLPMHHECLG("[-]!\r\n");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != (FogMode)0)
        {
            if (fogMode != FogMode.ExponentialSquared)
            {
                if (fogMode == (FogMode)5)
                {
                    material.EnableKeyword("`");
                }
            }
            else
            {
                material.EnableKeyword("u");
            }
        }
        else
        {
            material.EnableKeyword("Battle");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.GGDPOOCLQGP()) ? RenderTextureFormat.ARGB32 : ((RenderTextureFormat)88);

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.CQNLNDBFFFP(), this.BEHMQBIFCOJ.DFKQMMIQDOO, 73, FilterMode.Point, format);
        KLIOPLGOLQC.Blit(BuiltinRenderTextureType.Depth, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.DepthNormals, material, (!settings.excludeSkybox) ? 1 : 0);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#10
0
    // Token: 0x0600625E RID: 25182 RVA: 0x00321D04 File Offset: 0x0031FF04
    public void EONGQMKCQQL(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.DNDPKMIFFDJ();
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.INJNQNMOKKD("Intelligence increases mana");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != (FogMode)0)
        {
            if (fogMode != FogMode.Linear)
            {
                if (fogMode == (FogMode)0)
                {
                    material.EnableKeyword("torrent");
                }
            }
            else
            {
                material.EnableKeyword("/50 Friends");
            }
        }
        else
        {
            material.EnableKeyword("NPC");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.JCHDOOOJKIC) ? RenderTextureFormat.ARGB4444 : ((RenderTextureFormat)72);

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.CQNLNDBFFFP(), this.BEHMQBIFCOJ.DFKQMMIQDOO, -23, FilterMode.Bilinear, format);
        KLIOPLGOLQC.Blit(BuiltinRenderTextureType.PrepassLight, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.CameraTarget, material, (!settings.excludeSkybox) ? 1 : 0);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#11
0
    // Token: 0x0600624B RID: 25163 RVA: 0x00321BB8 File Offset: 0x0031FDB8
    public void HGPMPIPMCBQ(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.EQLDMPKOGEL();
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.GHPBFKKGJDO("301");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != FogMode.Linear)
        {
            if (fogMode != (FogMode)6)
            {
                if (fogMode == (FogMode)8)
                {
                    material.EnableKeyword("6_");
                }
            }
            else
            {
                material.EnableKeyword("Hidden/ProCamera2D/Letterbox");
            }
        }
        else
        {
            material.EnableKeyword(" took the attack!\r\n");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.GGDPOOCLQGP()) ? RenderTextureFormat.ARGB32 : ((RenderTextureFormat)(-56));

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.CHODJCGKMOK(), this.BEHMQBIFCOJ.JHHQQQGMQBM(), 66, FilterMode.Bilinear, format);
        KLIOPLGOLQC.Blit((BuiltinRenderTextureType)6, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.None, material, (!settings.excludeSkybox) ? 0 : 1);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }
示例#12
0
    // Token: 0x0600623B RID: 25147 RVA: 0x00321920 File Offset: 0x0031FB20
    public void GOJBIGQGHQG(CommandBuffer KLIOPLGOLQC)
    {
        FogModel.Settings settings = base.FIFNHCKNDQE.settings;
        Material          material = this.BEHMQBIFCOJ.GOQBDJHFOPK.PIHPPJNJDQC("Fishing Cooldown");

        material.shaderKeywords = null;
        Color value = (!LGJGBKJCKPH.HDMIHMIGIKJ) ? RenderSettings.fogColor : RenderSettings.fogColor.linear;

        material.SetColor(KEIGFGDMQBF.JJJDFKHCQMK.CIBQFQNCKJP, value);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.NOFOKDDFMIE, RenderSettings.fogDensity);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.CIPNHIMHOOP, RenderSettings.fogStartDistance);
        material.SetFloat(KEIGFGDMQBF.JJJDFKHCQMK.JOJIMGCLLPH, RenderSettings.fogEndDistance);
        FogMode fogMode = RenderSettings.fogMode;

        if (fogMode != FogMode.Linear)
        {
            if (fogMode != FogMode.Linear)
            {
                if (fogMode == (FogMode)7)
                {
                    material.EnableKeyword("300");
                }
            }
            else
            {
                material.EnableKeyword("HidePanel");
            }
        }
        else
        {
            material.EnableKeyword("Zubat");
        }
        RenderTextureFormat format = (!this.BEHMQBIFCOJ.EOLMLQPKBKP()) ? RenderTextureFormat.ARGB1555 : ((RenderTextureFormat)96);

        KLIOPLGOLQC.GetTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, this.BEHMQBIFCOJ.KJGMGPCEJJD, this.BEHMQBIFCOJ.JKGBHEHKBPC(), 94, FilterMode.Point, format);
        KLIOPLGOLQC.Blit((BuiltinRenderTextureType)6, KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
        KLIOPLGOLQC.Blit(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP, BuiltinRenderTextureType.PrepassLight, material, (!settings.excludeSkybox) ? 0 : 1);
        KLIOPLGOLQC.ReleaseTemporaryRT(KEIGFGDMQBF.JJJDFKHCQMK.HJHQQCBOBPP);
    }