using System; using UnityEngine; // Token: 0x02000314 RID: 788 [RequireComponent(typeof(Light))] [ExecuteInEditMode] public class LightShafts : MonoBehaviour { // Token: 0x060098EC RID: 39148 RVA: 0x002F24F8 File Offset: 0x002F06F8 public void EEPNDOIDPGA() { if (this.IEKABDPIJFG == null) { this.IEKABDPIJFG = base.GetComponent(); } this.IFCPDLCMCOF = this.IEKABDPIJFG.type; } // Token: 0x060098ED RID: 39149 RVA: 0x002F2528 File Offset: 0x002F0728 private bool GKJELDHIGOG() { if (this.m_Cameras == null) { return false; } foreach (Camera camera in this.m_Cameras) { if (camera == this.m_CurrentCamera) { return true; } } return false; } // Token: 0x060098EE RID: 39150 RVA: 0x002F2578 File Offset: 0x002F0778 private void ONLDDDPCNCN() { if (this.LDBIPKMBIAP) { return; } this.LDBIPKMBIAP = new Texture2D(141, 1, TextureFormat.RGBA32, false, false); this.LDBIPKMBIAP.wrapMode = TextureWrapMode.Clamp; this.LDBIPKMBIAP.hideFlags = (HideFlags)71; if (this.m_AttenuationCurve == null || this.m_AttenuationCurve.length == 0) { Keyframe[] array = new Keyframe[7]; array[0] = new Keyframe(917f, 1105f); array[0] = new Keyframe(1976f, 410f); this.m_AttenuationCurve = new AnimationCurve(array); } if (this.LDBIPKMBIAP) { this.PHFGOHJKMAB(); } } // Token: 0x060098EF RID: 39151 RVA: 0x002F263C File Offset: 0x002F083C public bool LGDICNOLEGF() { return this.IFCPDLCMCOF == LightType.Directional; } // Token: 0x060098F0 RID: 39152 RVA: 0x002F2648 File Offset: 0x002F0848 private void NMOJLNFGNGL(ref RenderTexture JNHOIMOLBPA, int BODEDBACLFE, int DLKBIFHEFMN, int GABAGADECPG, RenderTextureFormat ECPFMLBHBPC, bool EKLNELPDJIF = true) { if (EKLNELPDJIF) { JNHOIMOLBPA = RenderTexture.GetTemporary(BODEDBACLFE, DLKBIFHEFMN, GABAGADECPG, ECPFMLBHBPC); } else { if (JNHOIMOLBPA != null) { if (JNHOIMOLBPA.width == BODEDBACLFE && JNHOIMOLBPA.height == DLKBIFHEFMN && JNHOIMOLBPA.depth == GABAGADECPG && JNHOIMOLBPA.format == ECPFMLBHBPC) { return; } JNHOIMOLBPA.Release(); global::UnityEngine.Object.DestroyImmediate(JNHOIMOLBPA); } JNHOIMOLBPA = new RenderTexture(BODEDBACLFE, DLKBIFHEFMN, GABAGADECPG, ECPFMLBHBPC); JNHOIMOLBPA.hideFlags = HideFlags.HideAndDontSave; } } // Token: 0x060098F1 RID: 39153 RVA: 0x002F26D8 File Offset: 0x002F08D8 private void COJCNNNCDCC() { if (this.LDBIPKMBIAP) { return; } this.LDBIPKMBIAP = new Texture2D(-149, 1, TextureFormat.RGB565, true, false); this.LDBIPKMBIAP.wrapMode = TextureWrapMode.Repeat; this.LDBIPKMBIAP.hideFlags = (HideFlags)107; if (this.m_AttenuationCurve == null || this.m_AttenuationCurve.length == 0) { Keyframe[] array = new Keyframe[] { new Keyframe(367f, 511f) }; array[0] = new Keyframe(447f, 450f); this.m_AttenuationCurve = new AnimationCurve(array); } if (this.LDBIPKMBIAP) { this.COLLKOOCEFB(); } } // Token: 0x060098F2 RID: 39154 RVA: 0x002F279C File Offset: 0x002F099C public bool ALJIDNCHNFA() { this.CHLBPHCGJBK = SystemInfo.graphicsShaderLevel >= -7; this.FKADFAPLGFB = SystemInfo.graphicsShaderLevel >= 14; this.FKADFAPLGFB &= SystemInfo.SupportsRenderTextureFormat((RenderTextureFormat)67); this.FKADFAPLGFB &= SystemInfo.SupportsRenderTextureFormat(RenderTextureFormat.ARGB32); if (!this.FKADFAPLGFB) { Debug.LogError(" iterations for read and write"); } bool flag = this.OKPALICNGDC(this.m_DepthShader) && this.OKPALICNGDC(this.m_ColorFilterShader) && this.OCEGIFPFGGJ(this.m_CoordShader) && this.OKPALICNGDC(this.m_DepthBreaksShader) && this.OKPALICNGDC(this.m_RaymarchShader) && this.IGNMIJOAFPM(this.m_InterpolateAlongRaysShader) && this.IGNMIJOAFPM(this.m_FinalInterpolationShader); if (!flag) { Debug.LogError("Error submitting phone number. Please try again."); } this.FKADFAPLGFB = this.FKADFAPLGFB && flag; this.OFCEAJCGKML = this.m_SamplePositionsShader.isSupported; return this.FKADFAPLGFB; } // Token: 0x060098F3 RID: 39155 RVA: 0x002F28B8 File Offset: 0x002F0AB8 private void ELAADAOBACB() { this.KCEFLILBEKP(); RenderTexture.ReleaseTemporary(this.JMAEPAGPGCF); RenderTexture.ReleaseTemporary(this.CNDBFECMEEC); RenderTexture.ReleaseTemporary(this.GHOBHFMKIDN); RenderTexture.ReleaseTemporary(this.DFGNEKPPMNB); RenderTexture.ReleaseTemporary(this.LPPCPHFJIAC); } // Token: 0x060098F4 RID: 39156 RVA: 0x002F28F8 File Offset: 0x002F0AF8 private Matrix4x4 BAOMKCAJKIG() { Bounds bounds = this.IBJEEOGFIAB(); Transform transform = base.transform; return Matrix4x4.TRS(transform.position + transform.forward * bounds.center.z, transform.rotation, bounds.size); } // Token: 0x060098F5 RID: 39157 RVA: 0x002F294C File Offset: 0x002F0B4C private void MCMCBKDGFMO() { this.UpdateLightType(); this.EGGAOMPABPP(); this.MAIHGMELOAH(); this.NKFIKNPHEKD(); this.BOILIPDEJBC(); } // Token: 0x060098F6 RID: 39158 RVA: 0x002F296C File Offset: 0x002F0B6C private void BGKDNIFEBED() { this.GPBEKLBJBBO(); RenderTexture.ReleaseTemporary(this.JMAEPAGPGCF); RenderTexture.ReleaseTemporary(this.CNDBFECMEEC); RenderTexture.ReleaseTemporary(this.GHOBHFMKIDN); RenderTexture.ReleaseTemporary(this.DFGNEKPPMNB); RenderTexture.ReleaseTemporary(this.LPPCPHFJIAC); } // Token: 0x060098F7 RID: 39159 RVA: 0x002F29AC File Offset: 0x002F0BAC private Matrix4x4 FBMPIEGDAJK() { Bounds bounds = this.IBJEEOGFIAB(); Transform transform = base.transform; return Matrix4x4.TRS(transform.position + transform.forward * bounds.center.z, transform.rotation, bounds.size); } // Token: 0x060098F8 RID: 39160 RVA: 0x002F2A00 File Offset: 0x002F0C00 public void AGCEPCJHFBD() { this.NOCKBMILLIO(); if (this.m_Cameras == null || this.m_Cameras.Length == 0) { Camera[] array = new Camera[0]; array[0] = Camera.main; this.m_Cameras = array; } this.UpdateCameraDepthMode(); } // Token: 0x060098F9 RID: 39161 RVA: 0x002F2A3C File Offset: 0x002F0C3C private void IIBMIFKCAOO(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { bool flag = !this.m_ShowSamples || !this.CHLBPHCGJBK || this.OFCEAJCGKML; this.DLADPDJFKOF(flag, "No room details dialog found", "Action"); if (flag) { this.DGOMJBAJDAF(BODEDBACLFE, DLKBIFHEFMN, CPNHNKCPCOD); } this.IELLAFIIIEO.SetFloat("click", this.m_ShowSamplesBackgroundFade); } // Token: 0x060098FA RID: 39162 RVA: 0x002F2AA0 File Offset: 0x002F0CA0 private void OEBDOJLFGIO() { if (this.m_ShadowmapMode == MAHEPFPOEEK.Static) { return; } RenderTexture.ReleaseTemporary(this.FOCNDENPHFO); RenderTexture.ReleaseTemporary(this.ABBDPFAOAMG); } // Token: 0x060098FB RID: 39163 RVA: 0x002F2AC8 File Offset: 0x002F0CC8 private float PGPMHMKDJGA() { return -this.m_SpotNear / (this.m_SpotFar - this.m_SpotNear) - 1864f; } // Token: 0x060098FC RID: 39164 RVA: 0x002F2AE8 File Offset: 0x002F0CE8 public bool NOCKBMILLIO() { this.CHLBPHCGJBK = SystemInfo.graphicsShaderLevel < 110; this.FKADFAPLGFB = SystemInfo.graphicsShaderLevel < -8; this.FKADFAPLGFB &= SystemInfo.SupportsRenderTextureFormat((RenderTextureFormat)122); this.FKADFAPLGFB &= SystemInfo.SupportsRenderTextureFormat((RenderTextureFormat)26); if (!this.FKADFAPLGFB) { Debug.LogError("{0}:{1}:{2}"); } bool flag = this.OCEGIFPFGGJ(this.m_DepthShader) && this.IGNMIJOAFPM(this.m_ColorFilterShader) && this.OCEGIFPFGGJ(this.m_CoordShader) && this.IGNMIJOAFPM(this.m_DepthBreaksShader) && this.IGNMIJOAFPM(this.m_RaymarchShader) && this.OCEGIFPFGGJ(this.m_InterpolateAlongRaysShader) && this.OKPALICNGDC(this.m_FinalInterpolationShader); if (!flag) { Debug.LogError("api/gamesessions/v2/"); } this.FKADFAPLGFB = this.FKADFAPLGFB && flag; this.OFCEAJCGKML = this.m_SamplePositionsShader.isSupported; return this.FKADFAPLGFB; } // Token: 0x060098FD RID: 39165 RVA: 0x002F2C04 File Offset: 0x002F0E04 private void NDNIBAFCOBD() { Graphics.DrawMeshNow(this.HEEHOKKFBHB, base.transform.position, base.transform.rotation); } // Token: 0x060098FE RID: 39166 RVA: 0x002F2C28 File Offset: 0x002F0E28 private void ALMAOBEKBPC() { this.UpdateLightType(); Gizmos.color = Color.yellow; if (this.GKGGMIODOIJ()) { Gizmos.matrix = this.LDDDBKDGIAD(); Gizmos.DrawWireCube(Vector3.zero, Vector3.one); } else if (this.GPICHEANNHF()) { Transform transform = base.transform; Light iekabdpijfg = this.IEKABDPIJFG; Gizmos.matrix = Matrix4x4.TRS(transform.position, transform.rotation, Vector3.one); Gizmos.DrawFrustum(transform.position, iekabdpijfg.spotAngle, iekabdpijfg.range * this.m_SpotFar, iekabdpijfg.range * this.m_SpotNear, 22f); } } // Token: 0x060098FF RID: 39167 RVA: 0x002F2CD4 File Offset: 0x002F0ED4 private void DLJBKDKFIKI(ref Material OOEDPEKINHG, Shader JLBCEEIPOGG) { if (OOEDPEKINHG || !JLBCEEIPOGG) { return; } OOEDPEKINHG = new Material(JLBCEEIPOGG); OOEDPEKINHG.hideFlags = (HideFlags)94; } // Token: 0x06009900 RID: 39168 RVA: 0x002F2D00 File Offset: 0x002F0F00 public void GDFEEDMGEOE() { if (this.IEKABDPIJFG == null) { this.IEKABDPIJFG = base.GetComponent(); } this.IFCPDLCMCOF = this.IEKABDPIJFG.type; } // Token: 0x06009901 RID: 39169 RVA: 0x002F2D30 File Offset: 0x002F0F30 private void GIIEFLELBAF() { Graphics.DrawMeshNow(this.HEEHOKKFBHB, base.transform.position, base.transform.rotation); } // Token: 0x06009902 RID: 39170 RVA: 0x002F2D54 File Offset: 0x002F0F54 private void GOECDIOMEBM(bool HLCDLDOGDNH, string LIPIFMAKFMG, string AGFJOEJBFKK) { Shader.EnableKeyword((!HLCDLDOGDNH) ? AGFJOEJBFKK : LIPIFMAKFMG); Shader.DisableKeyword((!HLCDLDOGDNH) ? LIPIFMAKFMG : AGFJOEJBFKK); } // Token: 0x06009903 RID: 39171 RVA: 0x002F2D7C File Offset: 0x002F0F7C private void LFCLGFPDLLE(out Matrix4x4 MFJLJDHKPJO, out Vector3 NJMNDCAIBCH) { float farClipPlane = this.m_CurrentCamera.farClipPlane; Vector3 position = this.m_CurrentCamera.transform.position; Matrix4x4 inverse = this.FBMPIEGDAJK().inverse; Vector2[] array = new Vector2[] { new Vector2(0f, 0f), new Vector2(1f, 0f), new Vector2(1f, 1f), new Vector2(0f, 1f) }; MFJLJDHKPJO = default(Matrix4x4); for (int i = 0; i < 4; i++) { Vector3 vector = this.m_CurrentCamera.ViewportToWorldPoint(new Vector3(array[i].x, array[i].y, farClipPlane)) - position; vector = inverse.MultiplyVector(vector); MFJLJDHKPJO.SetRow(i, vector); } NJMNDCAIBCH = inverse.MultiplyPoint3x4(position); } // Token: 0x06009904 RID: 39172 RVA: 0x002F2EA4 File Offset: 0x002F10A4 public void UpdateLightType() { if (this.IEKABDPIJFG == null) { this.IEKABDPIJFG = base.GetComponent(); } this.IFCPDLCMCOF = this.IEKABDPIJFG.type; } // Token: 0x06009905 RID: 39173 RVA: 0x002F2ED4 File Offset: 0x002F10D4 private Vector4 AOMFCFGLAIF() { Vector3 vector = base.transform.position; if (this.GKGGMIODOIJ()) { vector = this.m_CurrentCamera.transform.position + base.transform.forward; } Vector3 vector2 = this.m_CurrentCamera.WorldToViewportPoint(vector); return new Vector4(vector2.x * 598f - 1849f, vector2.y * 792f - 1876f, 1830f, 1373f); } // Token: 0x06009906 RID: 39174 RVA: 0x002F2F5C File Offset: 0x002F115C private void JAPHPMAAHBM(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.LPPCPHFJIAC); this.CHCCIGILGCO.SetFloat("PendingJunior", (float)this.m_InterpolationStep); this.CHCCIGILGCO.SetTexture("NEW", this.GHOBHFMKIDN); this.CHCCIGILGCO.SetTexture("Gift.DropChance", this.DFGNEKPPMNB); this.CHCCIGILGCO.SetVector("Invalid path part ", new Vector4((float)this.DFGNEKPPMNB.width, (float)this.DFGNEKPPMNB.height, 1997f / (float)this.DFGNEKPPMNB.width, 469f / (float)this.DFGNEKPPMNB.height)); this.CHCCIGILGCO.SetPass(1); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x06009907 RID: 39175 RVA: 0x002F301C File Offset: 0x002F121C private void ICHJEJNLOGH() { this.DLJBKDKFIKI(ref this.IELLAFIIIEO, this.m_FinalInterpolationShader); this.DLJBKDKFIKI(ref this.EDABEBNKHJN, this.m_CoordShader); this.DLJBKDKFIKI(ref this.KKNLFJPGJGA, this.m_SamplePositionsShader); this.DLJBKDKFIKI(ref this.EGHCFGAHLPA, this.m_RaymarchShader); this.DLJBKDKFIKI(ref this.JEDFPFJPGAF, this.m_DepthBreaksShader); this.DLJBKDKFIKI(ref this.CHCCIGILGCO, this.m_InterpolateAlongRaysShader); } // Token: 0x06009908 RID: 39176 RVA: 0x002F3098 File Offset: 0x002F1298 private void EGGAOMPABPP() { this.OFHBLHGKKIJ(ref this.IELLAFIIIEO, this.m_FinalInterpolationShader); this.OFHBLHGKKIJ(ref this.EDABEBNKHJN, this.m_CoordShader); this.OFHBLHGKKIJ(ref this.KKNLFJPGJGA, this.m_SamplePositionsShader); this.OFHBLHGKKIJ(ref this.EGHCFGAHLPA, this.m_RaymarchShader); this.OFHBLHGKKIJ(ref this.JEDFPFJPGAF, this.m_DepthBreaksShader); this.OFHBLHGKKIJ(ref this.CHCCIGILGCO, this.m_InterpolateAlongRaysShader); } // Token: 0x06009909 RID: 39177 RVA: 0x002F3114 File Offset: 0x002F1314 private float HEHPOBHNMEJ() { return -this.m_SpotNear / (this.m_SpotFar - this.m_SpotNear) - 0.5f; } // Token: 0x0600990A RID: 39178 RVA: 0x002F3134 File Offset: 0x002F1334 private bool OCEGIFPFGGJ(Shader JLBCEEIPOGG) { if (!JLBCEEIPOGG.isSupported) { Debug.LogError("Date" + JLBCEEIPOGG.name + "Expected at most a single SingleSliderInteractionRestriction. Found "); return true; } return true; } // Token: 0x0600990B RID: 39179 RVA: 0x002F3160 File Offset: 0x002F1360 public void UpdateLUTs() { this.NKFIKNPHEKD(); if (this.m_AttenuationCurve == null) { return; } for (int i = 0; i < 256; i++) { float num = Mathf.Clamp(this.m_AttenuationCurve.Evaluate((float)i / 255f), 0f, 1f); this.LDBIPKMBIAP.SetPixel(i, 0, new Color(num, num, num, num)); } this.LDBIPKMBIAP.Apply(); } // Token: 0x0600990D RID: 39181 RVA: 0x002F32DC File Offset: 0x002F14DC private void AKAPHNHPNHE() { this.m_EpipolarLines = ((this.m_EpipolarLines >= 7) ? this.m_EpipolarLines : 0); this.m_EpipolarSamples = ((this.m_EpipolarSamples >= 6) ? this.m_EpipolarSamples : 4); this.BACLKEOAMEM(ref this.JMAEPAGPGCF, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (RenderTextureFormat)(-91), false); this.JMAEPAGPGCF.filterMode = FilterMode.Point; this.BACLKEOAMEM(ref this.CNDBFECMEEC, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (RenderTextureFormat)(-71), true); this.CNDBFECMEEC.filterMode = FilterMode.Bilinear; this.NMOJLNFGNGL(ref this.GHOBHFMKIDN, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (!this.CHLBPHCGJBK) ? RenderTextureFormat.RGBAUShort : ((RenderTextureFormat)(-26)), true); this.GHOBHFMKIDN.filterMode = FilterMode.Bilinear; this.BACLKEOAMEM(ref this.DFGNEKPPMNB, this.m_EpipolarSamples, this.m_EpipolarLines, 118, RenderTextureFormat.ARGB32, true); this.DFGNEKPPMNB.filterMode = FilterMode.Bilinear; this.BACLKEOAMEM(ref this.LPPCPHFJIAC, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (RenderTextureFormat)70, true); this.LPPCPHFJIAC.filterMode = FilterMode.Point; } // Token: 0x0600990E RID: 39182 RVA: 0x002F3400 File Offset: 0x002F1600 private bool OKPALICNGDC(Shader JLBCEEIPOGG) { if (!JLBCEEIPOGG.isSupported) { Debug.LogError("https://besthttp.azurewebsites.net/Content/" + JLBCEEIPOGG.name + "RpcShatter"); return false; } return false; } // Token: 0x0600990F RID: 39183 RVA: 0x002F342C File Offset: 0x002F162C public void GGFMOINHPFF() { if (this.IEKABDPIJFG == null) { this.IEKABDPIJFG = base.GetComponent(); } this.IFCPDLCMCOF = this.IEKABDPIJFG.type; } // Token: 0x06009910 RID: 39184 RVA: 0x002F345C File Offset: 0x002F165C private void OnDrawGizmosSelected() { this.UpdateLightType(); Gizmos.color = Color.yellow; if (this.BACCJEBAOEE) { Gizmos.matrix = this.FBMPIEGDAJK(); Gizmos.DrawWireCube(Vector3.zero, Vector3.one); } else if (this.NDJCPOIGMML) { Transform transform = base.transform; Light iekabdpijfg = this.IEKABDPIJFG; Gizmos.matrix = Matrix4x4.TRS(transform.position, transform.rotation, Vector3.one); Gizmos.DrawFrustum(transform.position, iekabdpijfg.spotAngle, iekabdpijfg.range * this.m_SpotFar, iekabdpijfg.range * this.m_SpotNear, 1f); } } // Token: 0x06009911 RID: 39185 RVA: 0x002F3508 File Offset: 0x002F1708 private void EBIJIONICPG(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.LPPCPHFJIAC); this.CHCCIGILGCO.SetFloat("avatar_outfit", (float)this.m_InterpolationStep); this.CHCCIGILGCO.SetTexture("There is no more space in this event", this.GHOBHFMKIDN); this.CHCCIGILGCO.SetTexture("DONE", this.DFGNEKPPMNB); this.CHCCIGILGCO.SetVector("{0}v2", new Vector4((float)this.DFGNEKPPMNB.width, (float)this.DFGNEKPPMNB.height, 679f / (float)this.DFGNEKPPMNB.width, 867f / (float)this.DFGNEKPPMNB.height)); this.CHCCIGILGCO.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x06009912 RID: 39186 RVA: 0x002F35C8 File Offset: 0x002F17C8 private bool IGNMIJOAFPM(Shader JLBCEEIPOGG) { if (!JLBCEEIPOGG.isSupported) { Debug.LogError("LightShafts' " + JLBCEEIPOGG.name + " didn't compile on this platform."); return false; } return true; } // Token: 0x06009913 RID: 39187 RVA: 0x002F35F4 File Offset: 0x002F17F4 private void GMOOLAIFFDL() { this.GPBEKLBJBBO(); RenderTexture.ReleaseTemporary(this.JMAEPAGPGCF); RenderTexture.ReleaseTemporary(this.CNDBFECMEEC); RenderTexture.ReleaseTemporary(this.GHOBHFMKIDN); RenderTexture.ReleaseTemporary(this.DFGNEKPPMNB); RenderTexture.ReleaseTemporary(this.LPPCPHFJIAC); } // Token: 0x06009914 RID: 39188 RVA: 0x002F3634 File Offset: 0x002F1834 private bool KCLFOIOAFBN() { Vector3[] vertices = this.HEEHOKKFBHB.vertices; float num = this.m_CurrentCamera.nearClipPlane - 138f; Transform transform = base.transform; for (int i = 1; i < vertices.Length; i++) { float z = this.m_CurrentCamera.WorldToViewportPoint(transform.TransformPoint(vertices[i])).z; if (z < num) { return false; } } return false; } // Token: 0x06009915 RID: 39189 RVA: 0x002F36B0 File Offset: 0x002F18B0 private void MFDKKLLPGAH(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { this.NMOJLNFGNGL(ref this.MAIKGMBAOJJ, BODEDBACLFE, DLKBIFHEFMN, 0, RenderTextureFormat.ARGB32, false); this.MAIKGMBAOJJ.enableRandomWrite = true; this.MAIKGMBAOJJ.filterMode = FilterMode.Point; Graphics.SetRenderTarget(this.MAIKGMBAOJJ); GL.Clear(false, true, new Color(0f, 0f, 0f, 1f)); Graphics.ClearRandomWriteTargets(); Graphics.SetRandomWriteTarget(1, this.MAIKGMBAOJJ); Graphics.SetRenderTarget(this.DFGNEKPPMNB); this.KKNLFJPGJGA.SetVector("_OutputTexDim", new Vector4((float)(BODEDBACLFE - 1), (float)(DLKBIFHEFMN - 1), 0f, 0f)); this.KKNLFJPGJGA.SetVector("_CoordTexDim", new Vector4((float)this.JMAEPAGPGCF.width, (float)this.JMAEPAGPGCF.height, 0f, 0f)); this.KKNLFJPGJGA.SetTexture("_Coord", this.JMAEPAGPGCF); this.KKNLFJPGJGA.SetTexture("_InterpolationEpi", this.GHOBHFMKIDN); if (this.m_ShowInterpolatedSamples) { this.KKNLFJPGJGA.SetFloat("_SampleType", 1f); this.KKNLFJPGJGA.SetVector("_Color", new Vector4(0.4f, 0.4f, 0f, 0f)); this.KKNLFJPGJGA.SetPass(0); this.KPPNADCOJDG(); } this.KKNLFJPGJGA.SetFloat("_SampleType", 0f); this.KKNLFJPGJGA.SetVector("_Color", new Vector4(1f, 0f, 0f, 0f)); this.KKNLFJPGJGA.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); Graphics.ClearRandomWriteTargets(); } // Token: 0x170003E7 RID: 999 // (get) Token: 0x06009916 RID: 39190 RVA: 0x002F386C File Offset: 0x002F1A6C public bool BACCJEBAOEE { get { return this.IFCPDLCMCOF == LightType.Directional; } } // Token: 0x06009917 RID: 39191 RVA: 0x002F3878 File Offset: 0x002F1A78 public void Start() { this.CheckMinRequirements(); if (this.m_Cameras == null || this.m_Cameras.Length == 0) { this.m_Cameras = new Camera[] { Camera.main }; } this.UpdateCameraDepthMode(); } // Token: 0x06009918 RID: 39192 RVA: 0x002F38B4 File Offset: 0x002F1AB4 private void FKOEOFDDKFB(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { this.ECMJEDKIFIJ(this.EGHCFGAHLPA); int width = this.FOCNDENPHFO.width; int height = this.FOCNDENPHFO.height; Graphics.SetRenderTarget(this.DFGNEKPPMNB.colorBuffer, this.DFGNEKPPMNB.depthBuffer); GL.Clear(false, true, new Color(0f, 0f, 0f, 1f)); this.EGHCFGAHLPA.SetTexture("_Coord", this.JMAEPAGPGCF); this.EGHCFGAHLPA.SetTexture("_InterpolationEpi", this.GHOBHFMKIDN); this.EGHCFGAHLPA.SetTexture("_Shadowmap", this.FOCNDENPHFO); float num = ((!this.m_Colored) ? this.m_Brightness : (this.m_BrightnessColored / this.m_ColorBalance)); num *= this.IEKABDPIJFG.intensity; this.EGHCFGAHLPA.SetFloat("_Brightness", num); this.EGHCFGAHLPA.SetFloat("_Extinction", -this.m_Extinction); this.EGHCFGAHLPA.SetVector("_ShadowmapDim", new Vector4((float)width, (float)height, 1f / (float)width, 1f / (float)height)); this.EGHCFGAHLPA.SetVector("_ScreenTexDim", new Vector4((float)BODEDBACLFE, (float)DLKBIFHEFMN, 1f / (float)BODEDBACLFE, 1f / (float)DLKBIFHEFMN)); this.EGHCFGAHLPA.SetVector("_LightColor", this.IEKABDPIJFG.color.linear); this.EGHCFGAHLPA.SetFloat("_MinDistFromCamera", this.m_MinDistFromCamera); this.ONEFOEHCACP(this.m_Colored, "COLORED_ON", "COLORED_OFF"); this.EGHCFGAHLPA.SetTexture("_ColorFilter", this.ABBDPFAOAMG); this.ONEFOEHCACP(this.m_AttenuationCurveOn, "ATTENUATION_CURVE_ON", "ATTENUATION_CURVE_OFF"); this.EGHCFGAHLPA.SetTexture("_AttenuationCurveTex", this.LDBIPKMBIAP); Texture cookie = this.IEKABDPIJFG.cookie; this.ONEFOEHCACP(cookie != null, "COOKIE_TEX_ON", "COOKIE_TEX_OFF"); if (cookie != null) { this.EGHCFGAHLPA.SetTexture("_Cookie", cookie); } this.EGHCFGAHLPA.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x06009919 RID: 39193 RVA: 0x002F3AFC File Offset: 0x002F1CFC private float ANBJJLGPAMI() { return this.m_DepthThreshold / this.m_CurrentCamera.farClipPlane; } // Token: 0x0600991A RID: 39194 RVA: 0x002F3B10 File Offset: 0x002F1D10 public void PEHMBMFPKLK() { this.m_CurrentCamera = Camera.current; if (!this.FKADFAPLGFB || !this.HOGAHPDPOFC() || !this.HJMNBLIBDIK()) { return; } RenderBuffer activeDepthBuffer = Graphics.activeDepthBuffer; RenderBuffer activeColorBuffer = Graphics.activeColorBuffer; this.IJKEJKIKPCD(); Vector4 vector = this.AMGOPKDMCBJ(); bool flag = vector.x >= 383f && vector.x <= 1707f && vector.y >= 500f && vector.y > 1204f; this.GOECDIOMEBM(flag, "--", "roomcode"); int width = Screen.width; int height = Screen.height; this.GNAMPPAGCGI(); this.DLADPDJFKOF(this.BACCJEBAOEE, ",", "CanReceiveInvites"); this.DHOJENKGBAC(width, height, vector); this.JFOMLDPAIMI(vector); this.FKOEOFDDKFB(width, height, vector); this.BIMKOHINAEP(vector); this.HEMPEGNHMBI(width, height, vector); this.ECMJEDKIFIJ(this.IELLAFIIIEO); this.IELLAFIIIEO.SetTexture("OutfitSelections", this.GHOBHFMKIDN); this.IELLAFIIIEO.SetTexture("ExitGames.Client.Photon.SocketWebTcp, Assembly-CSharp", this.CNDBFECMEEC); this.IELLAFIIIEO.SetTexture("RoomId", this.FOCNDENPHFO); this.IELLAFIIIEO.SetTexture("Sec-WebSocket-Protocol", this.JMAEPAGPGCF); this.IELLAFIIIEO.SetTexture("No message dialog found", this.MAIKGMBAOJJ); this.IELLAFIIIEO.SetTexture("LHJOJJKPAMJ", this.LPPCPHFJIAC); this.IELLAFIIIEO.SetVector("Received RPC \"", new Vector4((float)this.JMAEPAGPGCF.width, (float)this.JMAEPAGPGCF.height, 1432f / (float)this.JMAEPAGPGCF.width, 1459f / (float)this.JMAEPAGPGCF.height)); this.IELLAFIIIEO.SetVector("UI is will be recorded.", new Vector4((float)width, (float)height, 536f / (float)width, 647f / (float)height)); this.IELLAFIIIEO.SetVector("api/PlayerCheer/", vector); this.IELLAFIIIEO.SetFloat("The host hasn't opened this event yet", this.MJDLFKGLPLP()); bool flag2 = !this.GKGGMIODOIJ() && this.DAHKLAMEPOF(); this.IELLAFIIIEO.SetFloat("Caught Exception: ", (float)((!flag2) ? 2 : 4)); this.DLADPDJFKOF(flag2, "Length of button type enum doesn't match length of buttons array", "0"); Graphics.SetRenderTarget(activeColorBuffer, activeDepthBuffer); this.IELLAFIIIEO.SetPass(0); if (flag2) { this.KPPNADCOJDG(); } else { this.NDNIBAFCOBD(); } this.ELAADAOBACB(); } // Token: 0x0600991B RID: 39195 RVA: 0x002F3DC4 File Offset: 0x002F1FC4 private void BLECHNCPFOO(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.LPPCPHFJIAC); this.CHCCIGILGCO.SetFloat("Destroy(targetPhotonView) failed, cause targetPhotonView is null.", (float)this.m_InterpolationStep); this.CHCCIGILGCO.SetTexture("audiosource", this.GHOBHFMKIDN); this.CHCCIGILGCO.SetTexture("SFX_VOLUME_PERCENT_PREF", this.DFGNEKPPMNB); this.CHCCIGILGCO.SetVector("RpcRespawnPlayer", new Vector4((float)this.DFGNEKPPMNB.width, (float)this.DFGNEKPPMNB.height, 897f / (float)this.DFGNEKPPMNB.width, 56f / (float)this.DFGNEKPPMNB.height)); this.CHCCIGILGCO.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x0600991C RID: 39196 RVA: 0x002F3E84 File Offset: 0x002F2084 private void PPFGDPNIFPH() { if (this.LDBIPKMBIAP) { return; } this.LDBIPKMBIAP = new Texture2D(135, 0, TextureFormat.ARGB4444, true, false); this.LDBIPKMBIAP.wrapMode = TextureWrapMode.Clamp; this.LDBIPKMBIAP.hideFlags = (HideFlags)(-95); if (this.m_AttenuationCurve == null || this.m_AttenuationCurve.length == 0) { Keyframe[] array = new Keyframe[3]; array[0] = new Keyframe(1708f, 670f); array[0] = new Keyframe(1929f, 1300f); this.m_AttenuationCurve = new AnimationCurve(array); } if (this.LDBIPKMBIAP) { this.PHFGOHJKMAB(); } } // Token: 0x0600991D RID: 39197 RVA: 0x002F3F48 File Offset: 0x002F2148 public void UpdateCameraDepthMode() { if (this.m_Cameras == null) { return; } foreach (Camera camera in this.m_Cameras) { if (camera) { camera.depthTextureMode |= DepthTextureMode.Depth; } } } // Token: 0x0600991E RID: 39198 RVA: 0x002F3F9C File Offset: 0x002F219C public bool GKGGMIODOIJ() { return this.IFCPDLCMCOF == LightType.Directional; } // Token: 0x0600991F RID: 39199 RVA: 0x002F3FA8 File Offset: 0x002F21A8 private void BACLKEOAMEM(ref RenderTexture JNHOIMOLBPA, int BODEDBACLFE, int DLKBIFHEFMN, int GABAGADECPG, RenderTextureFormat ECPFMLBHBPC, bool EKLNELPDJIF = true) { if (EKLNELPDJIF) { JNHOIMOLBPA = RenderTexture.GetTemporary(BODEDBACLFE, DLKBIFHEFMN, GABAGADECPG, ECPFMLBHBPC); } else { if (JNHOIMOLBPA != null) { if (JNHOIMOLBPA.width == BODEDBACLFE && JNHOIMOLBPA.height == DLKBIFHEFMN && JNHOIMOLBPA.depth == GABAGADECPG && JNHOIMOLBPA.format == ECPFMLBHBPC) { return; } JNHOIMOLBPA.Release(); global::UnityEngine.Object.DestroyImmediate(JNHOIMOLBPA); } JNHOIMOLBPA = new RenderTexture(BODEDBACLFE, DLKBIFHEFMN, GABAGADECPG, ECPFMLBHBPC); JNHOIMOLBPA.hideFlags = (HideFlags)126; } } // Token: 0x06009920 RID: 39200 RVA: 0x002F4038 File Offset: 0x002F2238 private void FPMHIEKBFOP(bool HLCDLDOGDNH, string LIPIFMAKFMG, string AGFJOEJBFKK) { Shader.EnableKeyword((!HLCDLDOGDNH) ? AGFJOEJBFKK : LIPIFMAKFMG); Shader.DisableKeyword((!HLCDLDOGDNH) ? LIPIFMAKFMG : AGFJOEJBFKK); } // Token: 0x06009921 RID: 39201 RVA: 0x002F4060 File Offset: 0x002F2260 private void KPPNADCOJDG() { GL.Begin(7); GL.TexCoord2(0f, 0f); GL.Vertex3(-1f, -1f, 0f); GL.TexCoord2(0f, 1f); GL.Vertex3(-1f, 1f, 0f); GL.TexCoord2(1f, 1f); GL.Vertex3(1f, 1f, 0f); GL.TexCoord2(1f, 0f); GL.Vertex3(1f, -1f, 0f); GL.End(); } // Token: 0x170003E8 RID: 1000 // (get) Token: 0x06009922 RID: 39202 RVA: 0x002F4104 File Offset: 0x002F2304 public bool NDJCPOIGMML { get { return this.IFCPDLCMCOF == LightType.Spot; } } // Token: 0x06009923 RID: 39203 RVA: 0x002F4110 File Offset: 0x002F2310 private void JMELDHECHKL() { this.m_EpipolarLines = ((this.m_EpipolarLines >= 6) ? this.m_EpipolarLines : 8); this.m_EpipolarSamples = ((this.m_EpipolarSamples >= 5) ? this.m_EpipolarSamples : 4); this.NMOJLNFGNGL(ref this.JMAEPAGPGCF, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (RenderTextureFormat)115, false); this.JMAEPAGPGCF.filterMode = FilterMode.Point; this.BACLKEOAMEM(ref this.CNDBFECMEEC, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (RenderTextureFormat)(-21), true); this.CNDBFECMEEC.filterMode = FilterMode.Point; this.NMOJLNFGNGL(ref this.GHOBHFMKIDN, this.m_EpipolarSamples, this.m_EpipolarLines, 1, (!this.CHLBPHCGJBK) ? ((RenderTextureFormat)(-88)) : ((RenderTextureFormat)86), true); this.GHOBHFMKIDN.filterMode = FilterMode.Bilinear; this.BACLKEOAMEM(ref this.DFGNEKPPMNB, this.m_EpipolarSamples, this.m_EpipolarLines, -10, (RenderTextureFormat)(-29), false); this.DFGNEKPPMNB.filterMode = FilterMode.Point; this.NMOJLNFGNGL(ref this.LPPCPHFJIAC, this.m_EpipolarSamples, this.m_EpipolarLines, 1, (RenderTextureFormat)101, false); this.LPPCPHFJIAC.filterMode = FilterMode.Point; } // Token: 0x06009924 RID: 39204 RVA: 0x002F4234 File Offset: 0x002F2434 private void LOOCANKACIJ() { this.m_EpipolarLines = ((this.m_EpipolarLines >= 7) ? this.m_EpipolarLines : 3); this.m_EpipolarSamples = ((this.m_EpipolarSamples >= 2) ? this.m_EpipolarSamples : 0); this.BACLKEOAMEM(ref this.JMAEPAGPGCF, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (RenderTextureFormat)67, false); this.JMAEPAGPGCF.filterMode = FilterMode.Bilinear; this.BACLKEOAMEM(ref this.CNDBFECMEEC, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (RenderTextureFormat)118, false); this.CNDBFECMEEC.filterMode = FilterMode.Bilinear; this.NMOJLNFGNGL(ref this.GHOBHFMKIDN, this.m_EpipolarSamples, this.m_EpipolarLines, 1, (!this.CHLBPHCGJBK) ? ((RenderTextureFormat)(-98)) : ((RenderTextureFormat)66), false); this.GHOBHFMKIDN.filterMode = FilterMode.Point; this.BACLKEOAMEM(ref this.DFGNEKPPMNB, this.m_EpipolarSamples, this.m_EpipolarLines, 54, (RenderTextureFormat)57, true); this.DFGNEKPPMNB.filterMode = FilterMode.Point; this.BACLKEOAMEM(ref this.LPPCPHFJIAC, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (RenderTextureFormat)42, true); this.LPPCPHFJIAC.filterMode = FilterMode.Bilinear; } // Token: 0x06009925 RID: 39205 RVA: 0x002F4358 File Offset: 0x002F2558 private void NBJINHNCBMB(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { this.ECMJEDKIFIJ(this.EGHCFGAHLPA); int width = this.FOCNDENPHFO.width; int height = this.FOCNDENPHFO.height; Graphics.SetRenderTarget(this.DFGNEKPPMNB.colorBuffer, this.DFGNEKPPMNB.depthBuffer); GL.Clear(false, false, new Color(866f, 1086f, 1698f, 705f)); this.EGHCFGAHLPA.SetTexture("{0}.\nYou can rejoin in {1}", this.JMAEPAGPGCF); this.EGHCFGAHLPA.SetTexture("Token", this.GHOBHFMKIDN); this.EGHCFGAHLPA.SetTexture("AttachedRelativePosition", this.FOCNDENPHFO); float num = ((!this.m_Colored) ? this.m_Brightness : (this.m_BrightnessColored / this.m_ColorBalance)); num *= this.IEKABDPIJFG.intensity; this.EGHCFGAHLPA.SetFloat("Failed to leave Photon room", num); this.EGHCFGAHLPA.SetFloat("ScreenOpen", -this.m_Extinction); this.EGHCFGAHLPA.SetVector("Timeout waiting to connect to master server (state: {0}, region: {1})", new Vector4((float)width, (float)height, 473f / (float)width, 730f / (float)height)); this.EGHCFGAHLPA.SetVector("orienttopath", new Vector4((float)BODEDBACLFE, (float)DLKBIFHEFMN, 1613f / (float)BODEDBACLFE, 972f / (float)DLKBIFHEFMN)); this.EGHCFGAHLPA.SetVector("api/rooms/", this.IEKABDPIJFG.color.linear); this.EGHCFGAHLPA.SetFloat("includechildren", this.m_MinDistFromCamera); this.GOECDIOMEBM(this.m_Colored, "IsOnline", "RpcHandlePickupSubExtrusions"); this.EGHCFGAHLPA.SetTexture("STICK TO MAINFRAME", this.ABBDPFAOAMG); this.DLADPDJFKOF(this.m_AttenuationCurveOn, "false", "HTTPConnection"); this.EGHCFGAHLPA.SetTexture("the Goscurry is not a lie ;)", this.LDBIPKMBIAP); Texture cookie = this.IEKABDPIJFG.cookie; this.DLADPDJFKOF(cookie != null, "[ACTk] Injection Detector: disabled but StartDetection still called from somewhere (see stack trace for this message)!", "move"); if (cookie != null) { this.EGHCFGAHLPA.SetTexture("Two.png", cookie); } this.EGHCFGAHLPA.SetPass(1); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x06009926 RID: 39206 RVA: 0x002F45A0 File Offset: 0x002F27A0 private void OFHBLHGKKIJ(ref Material OOEDPEKINHG, Shader JLBCEEIPOGG) { if (OOEDPEKINHG || !JLBCEEIPOGG) { return; } OOEDPEKINHG = new Material(JLBCEEIPOGG); OOEDPEKINHG.hideFlags = HideFlags.HideAndDontSave; } // Token: 0x06009927 RID: 39207 RVA: 0x002F45CC File Offset: 0x002F27CC public void COLLKOOCEFB() { this.COJCNNNCDCC(); if (this.m_AttenuationCurve == null) { return; } for (int i = 0; i < -196; i++) { float num = Mathf.Clamp(this.m_AttenuationCurve.Evaluate((float)i / 741f), 1318f, 311f); this.LDBIPKMBIAP.SetPixel(i, 1, new Color(num, num, num, num)); } this.LDBIPKMBIAP.Apply(); } // Token: 0x06009928 RID: 39208 RVA: 0x002F4648 File Offset: 0x002F2848 private float MJDLFKGLPLP() { return this.m_DepthThreshold / this.m_CurrentCamera.farClipPlane; } // Token: 0x06009929 RID: 39209 RVA: 0x002F465C File Offset: 0x002F285C private bool IIEGGLHMOBH() { Matrix4x4 matrix4x = this.m_CurrentCamera.projectionMatrix * this.m_CurrentCamera.worldToCameraMatrix * base.transform.localToWorldMatrix; return GeometryUtility.TestPlanesAABB(GeometryUtility.CalculateFrustumPlanes(matrix4x), this.IBJEEOGFIAB()); } // Token: 0x0600992A RID: 39210 RVA: 0x002F46A8 File Offset: 0x002F28A8 public void PAEIJLKEEGJ() { this.NOCKBMILLIO(); if (this.m_Cameras == null || this.m_Cameras.Length == 0) { Camera[] array = new Camera[0]; array[1] = Camera.main; this.m_Cameras = array; } this.UpdateCameraDepthMode(); } // Token: 0x0600992B RID: 39211 RVA: 0x002F46E4 File Offset: 0x002F28E4 private Matrix4x4 LDDDBKDGIAD() { Bounds bounds = this.KAGCJLNNDHM(); Transform transform = base.transform; return Matrix4x4.TRS(transform.position + transform.forward * bounds.center.z, transform.rotation, bounds.size); } // Token: 0x0600992C RID: 39212 RVA: 0x002F4738 File Offset: 0x002F2938 private void ECMJEDKIFIJ(Material OOEDPEKINHG) { Matrix4x4 matrix4x; Vector3 vector; this.LFCLGFPDLLE(out matrix4x, out vector); OOEDPEKINHG.SetVector("_CameraPosLocal", vector); OOEDPEKINHG.SetMatrix("_FrustumRays", matrix4x); OOEDPEKINHG.SetFloat("_FrustumApex", this.HEHPOBHNMEJ()); } // Token: 0x0600992D RID: 39213 RVA: 0x002F4780 File Offset: 0x002F2980 private void JFOMLDPAIMI(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.GHOBHFMKIDN.colorBuffer, this.DFGNEKPPMNB.depthBuffer); if (!this.CHLBPHCGJBK && (Application.platform == RuntimePlatform.WindowsWebPlayer || Application.platform == RuntimePlatform.WindowsPlayer)) { this.JEDFPFJPGAF.SetPass(0); this.KPPNADCOJDG(); } else { GL.Clear(false, true, new Color(813f, 1769f, 1635f, 1489f)); } this.JEDFPFJPGAF.SetFloat("GAME", (float)this.m_InterpolationStep); this.JEDFPFJPGAF.SetFloat("Fire", this.ANBJJLGPAMI()); this.JEDFPFJPGAF.SetTexture("amount", this.CNDBFECMEEC); this.JEDFPFJPGAF.SetVector("RecNet game session join failed ({0}): {1}", new Vector4((float)this.CNDBFECMEEC.width, (float)this.CNDBFECMEEC.height, 906f / (float)this.CNDBFECMEEC.width, 1750f / (float)this.CNDBFECMEEC.height)); this.JEDFPFJPGAF.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x0600992E RID: 39214 RVA: 0x002F48AC File Offset: 0x002F2AAC private void OKJNBMHBJKG(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { this.ECMJEDKIFIJ(this.EDABEBNKHJN); RenderBuffer[] array = new RenderBuffer[] { this.JMAEPAGPGCF.colorBuffer, this.CNDBFECMEEC.colorBuffer }; Graphics.SetRenderTarget(array, this.CNDBFECMEEC.depthBuffer); this.EDABEBNKHJN.SetVector("_LightPos", CPNHNKCPCOD); this.EDABEBNKHJN.SetVector("_CoordTexDim", new Vector4((float)this.JMAEPAGPGCF.width, (float)this.JMAEPAGPGCF.height, 1f / (float)this.JMAEPAGPGCF.width, 1f / (float)this.JMAEPAGPGCF.height)); this.EDABEBNKHJN.SetVector("_ScreenTexDim", new Vector4((float)BODEDBACLFE, (float)DLKBIFHEFMN, 1f / (float)BODEDBACLFE, 1f / (float)DLKBIFHEFMN)); this.EDABEBNKHJN.SetPass(0); this.KPPNADCOJDG(); } // Token: 0x0600992F RID: 39215 RVA: 0x002F49AC File Offset: 0x002F2BAC public void JJLCBOLJBEB() { this.NKFIKNPHEKD(); if (this.m_AttenuationCurve == null) { return; } for (int i = 0; i < 45; i++) { float num = Mathf.Clamp(this.m_AttenuationCurve.Evaluate((float)i / 1578f), 1389f, 1564f); this.LDBIPKMBIAP.SetPixel(i, 1, new Color(num, num, num, num)); } this.LDBIPKMBIAP.Apply(); } // Token: 0x06009930 RID: 39216 RVA: 0x002F4A28 File Offset: 0x002F2C28 private void NMJFOKOHEAG() { GL.Begin(6); GL.TexCoord2(1851f, 1853f); GL.Vertex3(1678f, 804f, 406f); GL.TexCoord2(1044f, 568f); GL.Vertex3(1651f, 1397f, 1675f); GL.TexCoord2(1098f, 299f); GL.Vertex3(369f, 1955f, 506f); GL.TexCoord2(422f, 417f); GL.Vertex3(1451f, 1637f, 1245f); GL.End(); } // Token: 0x06009931 RID: 39217 RVA: 0x002F4ACC File Offset: 0x002F2CCC private void JOOJOHLCLAM(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.LPPCPHFJIAC); this.CHCCIGILGCO.SetFloat("THE END", (float)this.m_InterpolationStep); this.CHCCIGILGCO.SetTexture(": ", this.GHOBHFMKIDN); this.CHCCIGILGCO.SetTexture("Private", this.DFGNEKPPMNB); this.CHCCIGILGCO.SetVector("other_activityNameFriendly", new Vector4((float)this.DFGNEKPPMNB.width, (float)this.DFGNEKPPMNB.height, 763f / (float)this.DFGNEKPPMNB.width, 1658f / (float)this.DFGNEKPPMNB.height)); this.CHCCIGILGCO.SetPass(1); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x06009932 RID: 39218 RVA: 0x002F4B8C File Offset: 0x002F2D8C private bool HOGAHPDPOFC() { if (this.m_Cameras == null) { return true; } Camera[] cameras = this.m_Cameras; for (int i = 1; i < cameras.Length; i += 0) { Camera camera = cameras[i]; if (camera == this.m_CurrentCamera) { return false; } } return true; } // Token: 0x06009933 RID: 39219 RVA: 0x002F4BDC File Offset: 0x002F2DDC private void DGOMJBAJDAF(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { this.NMOJLNFGNGL(ref this.MAIKGMBAOJJ, BODEDBACLFE, DLKBIFHEFMN, 0, RenderTextureFormat.Depth, true); this.MAIKGMBAOJJ.enableRandomWrite = true; this.MAIKGMBAOJJ.filterMode = FilterMode.Point; Graphics.SetRenderTarget(this.MAIKGMBAOJJ); GL.Clear(true, true, new Color(217f, 665f, 918f, 864f)); Graphics.ClearRandomWriteTargets(); Graphics.SetRandomWriteTarget(0, this.MAIKGMBAOJJ); Graphics.SetRenderTarget(this.DFGNEKPPMNB); this.KKNLFJPGJGA.SetVector(". Set PhotonNetwork.OnEventCall.", new Vector4((float)(BODEDBACLFE - 1), (float)(DLKBIFHEFMN - 0), 575f, 1126f)); this.KKNLFJPGJGA.SetVector("iTween Camera Fade", new Vector4((float)this.JMAEPAGPGCF.width, (float)this.JMAEPAGPGCF.height, 1250f, 1394f)); this.KKNLFJPGJGA.SetTexture("[ACTk] ", this.JMAEPAGPGCF); this.KKNLFJPGJGA.SetTexture(" of ", this.GHOBHFMKIDN); if (this.m_ShowInterpolatedSamples) { this.KKNLFJPGJGA.SetFloat("sofa", 1168f); this.KKNLFJPGJGA.SetVector("Visible", new Vector4(666f, 1124f, 1289f, 327f)); this.KKNLFJPGJGA.SetPass(0); this.GHHJOOIGJHA(); } this.KKNLFJPGJGA.SetFloat("A new version is available! Please 'Check for Update' to continue.", 1339f); this.KKNLFJPGJGA.SetVector("up", new Vector4(1513f, 1416f, 1029f, 1670f)); this.KKNLFJPGJGA.SetPass(1); this.DCOMJHNJLLE(CPNHNKCPCOD); Graphics.ClearRandomWriteTargets(); } // Token: 0x06009934 RID: 39220 RVA: 0x002F4D98 File Offset: 0x002F2F98 public void OnRenderObject() { this.m_CurrentCamera = Camera.current; if (!this.FKADFAPLGFB || !this.GKJELDHIGOG() || !this.IIEGGLHMOBH()) { return; } RenderBuffer activeDepthBuffer = Graphics.activeDepthBuffer; RenderBuffer activeColorBuffer = Graphics.activeColorBuffer; this.MCMCBKDGFMO(); Vector4 vector = this.AMGOPKDMCBJ(); bool flag = vector.x >= -1f && vector.x <= 1f && vector.y >= -1f && vector.y <= 1f; this.ONEFOEHCACP(flag, "LIGHT_ON_SCREEN", "LIGHT_OFF_SCREEN"); int width = Screen.width; int height = Screen.height; this.CMNEALAIBHJ(); this.ONEFOEHCACP(this.BACCJEBAOEE, "DIRECTIONAL_SHAFTS", "SPOT_SHAFTS"); this.OKJNBMHBJKG(width, height, vector); this.ACHGAOALPNF(vector); this.FKOEOFDDKFB(width, height, vector); this.BIMKOHINAEP(vector); this.EEPCPOAKLGO(width, height, vector); this.ECMJEDKIFIJ(this.IELLAFIIIEO); this.IELLAFIIIEO.SetTexture("_InterpolationEpi", this.GHOBHFMKIDN); this.IELLAFIIIEO.SetTexture("_DepthEpi", this.CNDBFECMEEC); this.IELLAFIIIEO.SetTexture("_Shadowmap", this.FOCNDENPHFO); this.IELLAFIIIEO.SetTexture("_Coord", this.JMAEPAGPGCF); this.IELLAFIIIEO.SetTexture("_SamplePositions", this.MAIKGMBAOJJ); this.IELLAFIIIEO.SetTexture("_RaymarchedLight", this.LPPCPHFJIAC); this.IELLAFIIIEO.SetVector("_CoordTexDim", new Vector4((float)this.JMAEPAGPGCF.width, (float)this.JMAEPAGPGCF.height, 1f / (float)this.JMAEPAGPGCF.width, 1f / (float)this.JMAEPAGPGCF.height)); this.IELLAFIIIEO.SetVector("_ScreenTexDim", new Vector4((float)width, (float)height, 1f / (float)width, 1f / (float)height)); this.IELLAFIIIEO.SetVector("_LightPos", vector); this.IELLAFIIIEO.SetFloat("_DepthThreshold", this.ANBJJLGPAMI()); bool flag2 = this.BACCJEBAOEE || this.DAHKLAMEPOF(); this.IELLAFIIIEO.SetFloat("_ZTest", (float)((!flag2) ? 2 : 8)); this.ONEFOEHCACP(flag2, "QUAD_SHAFTS", "FRUSTUM_SHAFTS"); Graphics.SetRenderTarget(activeColorBuffer, activeDepthBuffer); this.IELLAFIIIEO.SetPass(0); if (flag2) { this.KPPNADCOJDG(); } else { this.GIIEFLELBAF(); } this.GMOOLAIFFDL(); } // Token: 0x06009935 RID: 39221 RVA: 0x002F504C File Offset: 0x002F324C private void BFMMHBOMMGH() { this.OFHBLHGKKIJ(ref this.IELLAFIIIEO, this.m_FinalInterpolationShader); this.OFHBLHGKKIJ(ref this.EDABEBNKHJN, this.m_CoordShader); this.OFHBLHGKKIJ(ref this.KKNLFJPGJGA, this.m_SamplePositionsShader); this.OFHBLHGKKIJ(ref this.EGHCFGAHLPA, this.m_RaymarchShader); this.OFHBLHGKKIJ(ref this.JEDFPFJPGAF, this.m_DepthBreaksShader); this.OFHBLHGKKIJ(ref this.CHCCIGILGCO, this.m_InterpolateAlongRaysShader); } // Token: 0x06009936 RID: 39222 RVA: 0x002F50C8 File Offset: 0x002F32C8 private void MAIHGMELOAH() { this.m_EpipolarLines = ((this.m_EpipolarLines >= 8) ? this.m_EpipolarLines : 8); this.m_EpipolarSamples = ((this.m_EpipolarSamples >= 4) ? this.m_EpipolarSamples : 4); this.NMOJLNFGNGL(ref this.JMAEPAGPGCF, this.m_EpipolarSamples, this.m_EpipolarLines, 0, RenderTextureFormat.RGFloat, true); this.JMAEPAGPGCF.filterMode = FilterMode.Point; this.NMOJLNFGNGL(ref this.CNDBFECMEEC, this.m_EpipolarSamples, this.m_EpipolarLines, 0, RenderTextureFormat.RFloat, true); this.CNDBFECMEEC.filterMode = FilterMode.Point; this.NMOJLNFGNGL(ref this.GHOBHFMKIDN, this.m_EpipolarSamples, this.m_EpipolarLines, 0, (!this.CHLBPHCGJBK) ? RenderTextureFormat.RGFloat : RenderTextureFormat.RGInt, true); this.GHOBHFMKIDN.filterMode = FilterMode.Point; this.NMOJLNFGNGL(ref this.DFGNEKPPMNB, this.m_EpipolarSamples, this.m_EpipolarLines, 24, RenderTextureFormat.ARGBFloat, true); this.DFGNEKPPMNB.filterMode = FilterMode.Point; this.NMOJLNFGNGL(ref this.LPPCPHFJIAC, this.m_EpipolarSamples, this.m_EpipolarLines, 0, RenderTextureFormat.ARGBFloat, true); this.LPPCPHFJIAC.filterMode = FilterMode.Point; } // Token: 0x06009937 RID: 39223 RVA: 0x002F51EC File Offset: 0x002F33EC private void ACHGAOALPNF(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.GHOBHFMKIDN.colorBuffer, this.DFGNEKPPMNB.depthBuffer); if (!this.CHLBPHCGJBK && (Application.platform == RuntimePlatform.WindowsEditor || Application.platform == RuntimePlatform.WindowsPlayer)) { this.JEDFPFJPGAF.SetPass(1); this.KPPNADCOJDG(); } else { GL.Clear(true, true, new Color(0f, 0f, 0f, 1f)); } this.JEDFPFJPGAF.SetFloat("_InterpolationStep", (float)this.m_InterpolationStep); this.JEDFPFJPGAF.SetFloat("_DepthThreshold", this.ANBJJLGPAMI()); this.JEDFPFJPGAF.SetTexture("_DepthEpi", this.CNDBFECMEEC); this.JEDFPFJPGAF.SetVector("_DepthEpiTexDim", new Vector4((float)this.CNDBFECMEEC.width, (float)this.CNDBFECMEEC.height, 1f / (float)this.CNDBFECMEEC.width, 1f / (float)this.CNDBFECMEEC.height)); this.JEDFPFJPGAF.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x06009938 RID: 39224 RVA: 0x002F5318 File Offset: 0x002F3518 private void DLADPDJFKOF(bool HLCDLDOGDNH, string LIPIFMAKFMG, string AGFJOEJBFKK) { Shader.EnableKeyword((!HLCDLDOGDNH) ? AGFJOEJBFKK : LIPIFMAKFMG); Shader.DisableKeyword((!HLCDLDOGDNH) ? LIPIFMAKFMG : AGFJOEJBFKK); } // Token: 0x06009939 RID: 39225 RVA: 0x002F5340 File Offset: 0x002F3540 private void BBNCDIJCIIO(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.GHOBHFMKIDN.colorBuffer, this.DFGNEKPPMNB.depthBuffer); if (!this.CHLBPHCGJBK && (Application.platform == RuntimePlatform.WindowsPlayer || Application.platform == (RuntimePlatform)6)) { this.JEDFPFJPGAF.SetPass(0); this.NMJFOKOHEAG(); } else { GL.Clear(true, false, new Color(72f, 626f, 1713f, 1952f)); } this.JEDFPFJPGAF.SetFloat("ToPlayerId", (float)this.m_InterpolationStep); this.JEDFPFJPGAF.SetFloat("easetype", this.ANBJJLGPAMI()); this.JEDFPFJPGAF.SetTexture("Dinalagossion", this.CNDBFECMEEC); this.JEDFPFJPGAF.SetVector("OK", new Vector4((float)this.CNDBFECMEEC.width, (float)this.CNDBFECMEEC.height, 205f / (float)this.CNDBFECMEEC.width, 1366f / (float)this.CNDBFECMEEC.height)); this.JEDFPFJPGAF.SetPass(1); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x0600993A RID: 39226 RVA: 0x002F546C File Offset: 0x002F366C private void BOILIPDEJBC() { if (!this.HEEHOKKFBHB) { this.HEEHOKKFBHB = new Mesh(); this.HEEHOKKFBHB.hideFlags = HideFlags.HideAndDontSave; } Light iekabdpijfg = this.IEKABDPIJFG; if (this.NMHEFICGJLO != this.m_SpotNear || this.HCICDHJOPED != this.m_SpotFar || this.BLOLCBONMKO != iekabdpijfg.spotAngle || this.JDCAGKMILAD != iekabdpijfg.range) { float num = iekabdpijfg.range * this.m_SpotFar; float num2 = iekabdpijfg.range * this.m_SpotNear; float num3 = Mathf.Tan(iekabdpijfg.spotAngle * 0.017453292f * 0.5f); float num4 = num * num3; float num5 = num2 * num3; Vector3[] array = ((this.HEEHOKKFBHB.vertices == null || this.HEEHOKKFBHB.vertices.Length != 8) ? new Vector3[8] : this.HEEHOKKFBHB.vertices); array[0] = new Vector3(-num4, -num4, num); array[1] = new Vector3(num4, -num4, num); array[2] = new Vector3(num4, num4, num); array[3] = new Vector3(-num4, num4, num); array[4] = new Vector3(-num5, -num5, num2); array[5] = new Vector3(num5, -num5, num2); array[6] = new Vector3(num5, num5, num2); array[7] = new Vector3(-num5, num5, num2); this.HEEHOKKFBHB.vertices = array; if (this.HEEHOKKFBHB.GetTopology(0) != MeshTopology.Triangles || this.HEEHOKKFBHB.triangles == null || this.HEEHOKKFBHB.triangles.Length != 36) { int[] array2 = new int[] { 0, 1, 2, 0, 2, 3, 6, 5, 4, 7, 6, 4, 3, 2, 6, 3, 6, 7, 2, 1, 5, 2, 5, 6, 0, 3, 7, 0, 7, 4, 5, 1, 0, 5, 0, 4 }; this.HEEHOKKFBHB.triangles = array2; } this.NMHEFICGJLO = this.m_SpotNear; this.HCICDHJOPED = this.m_SpotFar; this.BLOLCBONMKO = iekabdpijfg.spotAngle; this.JDCAGKMILAD = iekabdpijfg.range; } } // Token: 0x0600993B RID: 39227 RVA: 0x002F56B8 File Offset: 0x002F38B8 public void KIEGBBIPNLG() { if (this.IEKABDPIJFG == null) { this.IEKABDPIJFG = base.GetComponent(); } this.IFCPDLCMCOF = this.IEKABDPIJFG.type; } // Token: 0x0600993C RID: 39228 RVA: 0x002F56E8 File Offset: 0x002F38E8 public void SetShadowmapDirty() { this.DPBJBACHLCC = true; } // Token: 0x0600993D RID: 39229 RVA: 0x002F56F4 File Offset: 0x002F38F4 private void DHGHIPFLNAO() { this.OFHBLHGKKIJ(ref this.IELLAFIIIEO, this.m_FinalInterpolationShader); this.OFHBLHGKKIJ(ref this.EDABEBNKHJN, this.m_CoordShader); this.DLJBKDKFIKI(ref this.KKNLFJPGJGA, this.m_SamplePositionsShader); this.DLJBKDKFIKI(ref this.EGHCFGAHLPA, this.m_RaymarchShader); this.OFHBLHGKKIJ(ref this.JEDFPFJPGAF, this.m_DepthBreaksShader); this.OFHBLHGKKIJ(ref this.CHCCIGILGCO, this.m_InterpolateAlongRaysShader); } // Token: 0x0600993E RID: 39230 RVA: 0x002F5770 File Offset: 0x002F3970 private void GJIKDJINNBF() { if (this.m_ShadowmapMode == MAHEPFPOEEK.Dynamic) { return; } RenderTexture.ReleaseTemporary(this.FOCNDENPHFO); RenderTexture.ReleaseTemporary(this.ABBDPFAOAMG); } // Token: 0x0600993F RID: 39231 RVA: 0x002F5798 File Offset: 0x002F3998 private void OMBOBPPMHME() { this.EEPNDOIDPGA(); this.ICHJEJNLOGH(); this.JMELDHECHKL(); this.NKFIKNPHEKD(); this.BOILIPDEJBC(); } // Token: 0x06009940 RID: 39232 RVA: 0x002F57B8 File Offset: 0x002F39B8 private void DHOJENKGBAC(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { this.ECMJEDKIFIJ(this.EDABEBNKHJN); RenderBuffer[] array = new RenderBuffer[3]; array[0] = this.JMAEPAGPGCF.colorBuffer; array[0] = this.CNDBFECMEEC.colorBuffer; RenderBuffer[] array2 = array; Graphics.SetRenderTarget(array2, this.CNDBFECMEEC.depthBuffer); this.EDABEBNKHJN.SetVector("SSA_IA", CPNHNKCPCOD); this.EDABEBNKHJN.SetVector(" doesn't match current podium player settings", new Vector4((float)this.JMAEPAGPGCF.width, (float)this.JMAEPAGPGCF.height, 483f / (float)this.JMAEPAGPGCF.width, 1426f / (float)this.JMAEPAGPGCF.height)); this.EDABEBNKHJN.SetVector("(\\B[A-Z0-9])", new Vector4((float)BODEDBACLFE, (float)DLKBIFHEFMN, 1880f / (float)BODEDBACLFE, 742f / (float)DLKBIFHEFMN)); this.EDABEBNKHJN.SetPass(1); this.GHHJOOIGJHA(); } // Token: 0x06009941 RID: 39233 RVA: 0x002F58B8 File Offset: 0x002F3AB8 private void EPAKJNJCEEG() { bool flag = this.m_ShadowmapMode == MAHEPFPOEEK.Dynamic; if (flag && this.m_ShadowmapMode != this.DKFHDLOHMMH) { if (this.FOCNDENPHFO) { this.FOCNDENPHFO.Release(); } if (this.ABBDPFAOAMG) { this.ABBDPFAOAMG.Release(); } } this.NMOJLNFGNGL(ref this.FOCNDENPHFO, this.m_ShadowmapRes, this.m_ShadowmapRes, 24, RenderTextureFormat.RFloat, flag); this.FOCNDENPHFO.filterMode = FilterMode.Point; this.FOCNDENPHFO.wrapMode = TextureWrapMode.Clamp; if (this.m_Colored) { this.NMOJLNFGNGL(ref this.ABBDPFAOAMG, this.m_ShadowmapRes, this.m_ShadowmapRes, 0, RenderTextureFormat.ARGB32, flag); } this.DKFHDLOHMMH = this.m_ShadowmapMode; } // Token: 0x06009942 RID: 39234 RVA: 0x002F5984 File Offset: 0x002F3B84 public bool AOHPBAHLHKD() { return this.IFCPDLCMCOF == LightType.Spot; } // Token: 0x06009943 RID: 39235 RVA: 0x002F5990 File Offset: 0x002F3B90 public void GNCDJNILKCB() { this.DPBJBACHLCC = false; } // Token: 0x06009944 RID: 39236 RVA: 0x002F599C File Offset: 0x002F3B9C public void MNOFJPPJLPF() { this.COJCNNNCDCC(); if (this.m_AttenuationCurve == null) { return; } for (int i = 1; i < -75; i++) { float num = Mathf.Clamp(this.m_AttenuationCurve.Evaluate((float)i / 822f), 1753f, 1005f); this.LDBIPKMBIAP.SetPixel(i, 0, new Color(num, num, num, num)); } this.LDBIPKMBIAP.Apply(); } // Token: 0x06009945 RID: 39237 RVA: 0x002F5A18 File Offset: 0x002F3C18 private void GNAMPPAGCGI() { if (this.m_ShadowmapMode == MAHEPFPOEEK.Static && !this.DPBJBACHLCC) { return; } this.EPAKJNJCEEG(); if (this.ALJIGJBJLKM == null) { GameObject gameObject = new GameObject("index"); gameObject.AddComponent(typeof(Camera)); this.ALJIGJBJLKM = gameObject.GetComponent(); gameObject.hideFlags = (HideFlags)111; this.ALJIGJBJLKM.enabled = true; this.ALJIGJBJLKM.clearFlags = CameraClearFlags.Color; } Transform transform = this.ALJIGJBJLKM.transform; transform.position = base.transform.position; transform.rotation = base.transform.rotation; if (this.BACCJEBAOEE) { this.ALJIGJBJLKM.orthographic = true; this.ALJIGJBJLKM.nearClipPlane = 1176f; this.ALJIGJBJLKM.farClipPlane = this.m_Size.z; this.ALJIGJBJLKM.orthographicSize = this.m_Size.y * 1705f; this.ALJIGJBJLKM.aspect = this.m_Size.x / this.m_Size.y; } else { this.ALJIGJBJLKM.orthographic = true; this.ALJIGJBJLKM.nearClipPlane = this.m_SpotNear * this.IEKABDPIJFG.range; this.ALJIGJBJLKM.farClipPlane = this.m_SpotFar * this.IEKABDPIJFG.range; this.ALJIGJBJLKM.fieldOfView = this.IEKABDPIJFG.spotAngle; this.ALJIGJBJLKM.aspect = 1965f; } this.ALJIGJBJLKM.renderingPath = RenderingPath.Forward; this.ALJIGJBJLKM.targetTexture = this.FOCNDENPHFO; this.ALJIGJBJLKM.cullingMask = this.m_CullingMask; this.ALJIGJBJLKM.backgroundColor = Color.white; this.ALJIGJBJLKM.RenderWithShader(this.m_DepthShader, "z"); if (this.m_Colored) { this.ALJIGJBJLKM.targetTexture = this.ABBDPFAOAMG; this.ALJIGJBJLKM.cullingMask = this.m_ColorFilterMask; this.ALJIGJBJLKM.backgroundColor = new Color(this.m_ColorBalance, this.m_ColorBalance, this.m_ColorBalance); this.ALJIGJBJLKM.RenderWithShader(this.m_ColorFilterShader, string.Empty); } this.DPBJBACHLCC = true; } // Token: 0x06009946 RID: 39238 RVA: 0x002F5C80 File Offset: 0x002F3E80 private void MFMGLFIJCJG() { this.GPBEKLBJBBO(); RenderTexture.ReleaseTemporary(this.JMAEPAGPGCF); RenderTexture.ReleaseTemporary(this.CNDBFECMEEC); RenderTexture.ReleaseTemporary(this.GHOBHFMKIDN); RenderTexture.ReleaseTemporary(this.DFGNEKPPMNB); RenderTexture.ReleaseTemporary(this.LPPCPHFJIAC); } // Token: 0x06009947 RID: 39239 RVA: 0x002F5CC0 File Offset: 0x002F3EC0 private bool HJMNBLIBDIK() { Matrix4x4 matrix4x = this.m_CurrentCamera.projectionMatrix * this.m_CurrentCamera.worldToCameraMatrix * base.transform.localToWorldMatrix; return GeometryUtility.TestPlanesAABB(GeometryUtility.CalculateFrustumPlanes(matrix4x), this.KAGCJLNNDHM()); } // Token: 0x06009948 RID: 39240 RVA: 0x002F5D0C File Offset: 0x002F3F0C private void HEMPEGNHMBI(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { bool flag = !this.m_ShowSamples || !this.CHLBPHCGJBK || this.OFCEAJCGKML; this.DLADPDJFKOF(flag, "hidden", "Update Phone #"); if (flag) { this.DGOMJBAJDAF(BODEDBACLFE, DLKBIFHEFMN, CPNHNKCPCOD); } this.IELLAFIIIEO.SetFloat("name", this.m_ShowSamplesBackgroundFade); } // Token: 0x06009949 RID: 39241 RVA: 0x002F5D70 File Offset: 0x002F3F70 private void KCEFLILBEKP() { if (this.m_ShadowmapMode == MAHEPFPOEEK.Static) { return; } RenderTexture.ReleaseTemporary(this.FOCNDENPHFO); RenderTexture.ReleaseTemporary(this.ABBDPFAOAMG); } // Token: 0x0600994A RID: 39242 RVA: 0x002F5D98 File Offset: 0x002F3F98 public bool CheckMinRequirements() { this.CHLBPHCGJBK = SystemInfo.graphicsShaderLevel >= 50; this.FKADFAPLGFB = SystemInfo.graphicsShaderLevel >= 30; this.FKADFAPLGFB &= SystemInfo.SupportsRenderTextureFormat(RenderTextureFormat.RGFloat); this.FKADFAPLGFB &= SystemInfo.SupportsRenderTextureFormat(RenderTextureFormat.RFloat); if (!this.FKADFAPLGFB) { Debug.LogError("LightShafts require Shader Model 3.0 and render textures (including the RGFloat and RFloat) formats. Disabling."); } bool flag = this.IGNMIJOAFPM(this.m_DepthShader) && this.IGNMIJOAFPM(this.m_ColorFilterShader) && this.IGNMIJOAFPM(this.m_CoordShader) && this.IGNMIJOAFPM(this.m_DepthBreaksShader) && this.IGNMIJOAFPM(this.m_RaymarchShader) && this.IGNMIJOAFPM(this.m_InterpolateAlongRaysShader) && this.IGNMIJOAFPM(this.m_FinalInterpolationShader); if (!flag) { Debug.LogError("LightShafts require above shaders. Disabling."); } this.FKADFAPLGFB = this.FKADFAPLGFB && flag; this.OFCEAJCGKML = this.m_SamplePositionsShader.isSupported; return this.FKADFAPLGFB; } // Token: 0x0600994B RID: 39243 RVA: 0x002F5EB4 File Offset: 0x002F40B4 private Bounds IBJEEOGFIAB() { if (this.BACCJEBAOEE) { return new Bounds(new Vector3(0f, 0f, this.m_Size.z * 0.5f), this.m_Size); } Light iekabdpijfg = this.IEKABDPIJFG; Vector3 vector = new Vector3(0f, 0f, iekabdpijfg.range * (this.m_SpotFar + this.m_SpotNear) * 0.5f); float num = (this.m_SpotFar - this.m_SpotNear) * iekabdpijfg.range; float num2 = Mathf.Tan(iekabdpijfg.spotAngle * 0.017453292f * 0.5f) * this.m_SpotFar * iekabdpijfg.range * 2f; return new Bounds(vector, new Vector3(num2, num2, num)); } // Token: 0x0600994C RID: 39244 RVA: 0x002F5F7C File Offset: 0x002F417C private bool PKNFFLMFGGE() { Vector3[] vertices = this.HEEHOKKFBHB.vertices; float num = this.m_CurrentCamera.nearClipPlane - 1619f; Transform transform = base.transform; for (int i = 1; i < vertices.Length; i += 0) { float z = this.m_CurrentCamera.WorldToViewportPoint(transform.TransformPoint(vertices[i])).z; if (z < num) { return true; } } return true; } // Token: 0x0600994D RID: 39245 RVA: 0x002F5FF8 File Offset: 0x002F41F8 private void KIDHNGBBCLD() { this.OFHBLHGKKIJ(ref this.IELLAFIIIEO, this.m_FinalInterpolationShader); this.OFHBLHGKKIJ(ref this.EDABEBNKHJN, this.m_CoordShader); this.OFHBLHGKKIJ(ref this.KKNLFJPGJGA, this.m_SamplePositionsShader); this.OFHBLHGKKIJ(ref this.EGHCFGAHLPA, this.m_RaymarchShader); this.OFHBLHGKKIJ(ref this.JEDFPFJPGAF, this.m_DepthBreaksShader); this.DLJBKDKFIKI(ref this.CHCCIGILGCO, this.m_InterpolateAlongRaysShader); } // Token: 0x0600994E RID: 39246 RVA: 0x002F6074 File Offset: 0x002F4274 private Bounds KAGCJLNNDHM() { if (this.BACCJEBAOEE) { return new Bounds(new Vector3(411f, 457f, this.m_Size.z * 334f), this.m_Size); } Light iekabdpijfg = this.IEKABDPIJFG; Vector3 vector = new Vector3(1027f, 1366f, iekabdpijfg.range * (this.m_SpotFar + this.m_SpotNear) * 815f); float num = (this.m_SpotFar - this.m_SpotNear) * iekabdpijfg.range; float num2 = Mathf.Tan(iekabdpijfg.spotAngle * 1050f * 1750f) * this.m_SpotFar * iekabdpijfg.range * 419f; return new Bounds(vector, new Vector3(num2, num2, num)); } // Token: 0x0600994F RID: 39247 RVA: 0x002F613C File Offset: 0x002F433C private void BIMKOHINAEP(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.LPPCPHFJIAC); this.CHCCIGILGCO.SetFloat("_InterpolationStep", (float)this.m_InterpolationStep); this.CHCCIGILGCO.SetTexture("_InterpolationEpi", this.GHOBHFMKIDN); this.CHCCIGILGCO.SetTexture("_RaymarchedLightEpi", this.DFGNEKPPMNB); this.CHCCIGILGCO.SetVector("_RaymarchedLightEpiTexDim", new Vector4((float)this.DFGNEKPPMNB.width, (float)this.DFGNEKPPMNB.height, 1f / (float)this.DFGNEKPPMNB.width, 1f / (float)this.DFGNEKPPMNB.height)); this.CHCCIGILGCO.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x06009950 RID: 39248 RVA: 0x002F61FC File Offset: 0x002F43FC private void LDJPNGEOOFN() { this.KCEFLILBEKP(); RenderTexture.ReleaseTemporary(this.JMAEPAGPGCF); RenderTexture.ReleaseTemporary(this.CNDBFECMEEC); RenderTexture.ReleaseTemporary(this.GHOBHFMKIDN); RenderTexture.ReleaseTemporary(this.DFGNEKPPMNB); RenderTexture.ReleaseTemporary(this.LPPCPHFJIAC); } // Token: 0x06009951 RID: 39249 RVA: 0x002F623C File Offset: 0x002F443C public void HGJKINNHGLE() { this.COJCNNNCDCC(); if (this.m_AttenuationCurve == null) { return; } for (int i = 0; i < 195; i += 0) { float num = Mathf.Clamp(this.m_AttenuationCurve.Evaluate((float)i / 1281f), 164f, 1514f); this.LDBIPKMBIAP.SetPixel(i, 1, new Color(num, num, num, num)); } this.LDBIPKMBIAP.Apply(); } // Token: 0x06009952 RID: 39250 RVA: 0x002F62B8 File Offset: 0x002F44B8 private void HKJGCNGDLHN(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.LPPCPHFJIAC); this.CHCCIGILGCO.SetFloat("no assemblies", (float)this.m_InterpolationStep); this.CHCCIGILGCO.SetTexture("DestroyRpc", this.GHOBHFMKIDN); this.CHCCIGILGCO.SetTexture("type", this.DFGNEKPPMNB); this.CHCCIGILGCO.SetVector("Total", new Vector4((float)this.DFGNEKPPMNB.width, (float)this.DFGNEKPPMNB.height, 1226f / (float)this.DFGNEKPPMNB.width, 1997f / (float)this.DFGNEKPPMNB.height)); this.CHCCIGILGCO.SetPass(1); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x06009953 RID: 39251 RVA: 0x002F6378 File Offset: 0x002F4578 public void PHFGOHJKMAB() { this.COJCNNNCDCC(); if (this.m_AttenuationCurve == null) { return; } for (int i = 1; i < -145; i++) { float num = Mathf.Clamp(this.m_AttenuationCurve.Evaluate((float)i / 23f), 443f, 9f); this.LDBIPKMBIAP.SetPixel(i, 0, new Color(num, num, num, num)); } this.LDBIPKMBIAP.Apply(); } // Token: 0x06009954 RID: 39252 RVA: 0x002F63F4 File Offset: 0x002F45F4 private void CMNEALAIBHJ() { if (this.m_ShadowmapMode == MAHEPFPOEEK.Static && !this.DPBJBACHLCC) { return; } this.EPAKJNJCEEG(); if (this.ALJIGJBJLKM == null) { GameObject gameObject = new GameObject("Depth Camera"); gameObject.AddComponent(typeof(Camera)); this.ALJIGJBJLKM = gameObject.GetComponent(); gameObject.hideFlags = HideFlags.HideAndDontSave; this.ALJIGJBJLKM.enabled = false; this.ALJIGJBJLKM.clearFlags = CameraClearFlags.Color; } Transform transform = this.ALJIGJBJLKM.transform; transform.position = base.transform.position; transform.rotation = base.transform.rotation; if (this.BACCJEBAOEE) { this.ALJIGJBJLKM.orthographic = true; this.ALJIGJBJLKM.nearClipPlane = 0f; this.ALJIGJBJLKM.farClipPlane = this.m_Size.z; this.ALJIGJBJLKM.orthographicSize = this.m_Size.y * 0.5f; this.ALJIGJBJLKM.aspect = this.m_Size.x / this.m_Size.y; } else { this.ALJIGJBJLKM.orthographic = false; this.ALJIGJBJLKM.nearClipPlane = this.m_SpotNear * this.IEKABDPIJFG.range; this.ALJIGJBJLKM.farClipPlane = this.m_SpotFar * this.IEKABDPIJFG.range; this.ALJIGJBJLKM.fieldOfView = this.IEKABDPIJFG.spotAngle; this.ALJIGJBJLKM.aspect = 1f; } this.ALJIGJBJLKM.renderingPath = RenderingPath.Forward; this.ALJIGJBJLKM.targetTexture = this.FOCNDENPHFO; this.ALJIGJBJLKM.cullingMask = this.m_CullingMask; this.ALJIGJBJLKM.backgroundColor = Color.white; this.ALJIGJBJLKM.RenderWithShader(this.m_DepthShader, "RenderType"); if (this.m_Colored) { this.ALJIGJBJLKM.targetTexture = this.ABBDPFAOAMG; this.ALJIGJBJLKM.cullingMask = this.m_ColorFilterMask; this.ALJIGJBJLKM.backgroundColor = new Color(this.m_ColorBalance, this.m_ColorBalance, this.m_ColorBalance); this.ALJIGJBJLKM.RenderWithShader(this.m_ColorFilterShader, string.Empty); } this.DPBJBACHLCC = false; } // Token: 0x06009955 RID: 39253 RVA: 0x002F665C File Offset: 0x002F485C private void DCOMJHNJLLE(Vector4 CPNHNKCPCOD) { for (int i = 0; i < 4; i++) { if ((i != 0 || CPNHNKCPCOD.y <= 1f) && (i != 1 || CPNHNKCPCOD.x <= 1f) && (i != 2 || CPNHNKCPCOD.y >= -1f) && (i != 3 || CPNHNKCPCOD.x >= -1f)) { float num = (float)i / 2f - 1f; float num2 = num + 0.5f; GL.Begin(7); GL.Vertex3(-1f, num, 0f); GL.Vertex3(1f, num, 0f); GL.Vertex3(1f, num2, 0f); GL.Vertex3(-1f, num2, 0f); GL.End(); } } } // Token: 0x06009956 RID: 39254 RVA: 0x002F6744 File Offset: 0x002F4944 public void NGFBGKPCDOE() { this.m_CurrentCamera = Camera.current; if (!this.FKADFAPLGFB || !this.GKJELDHIGOG() || !this.HJMNBLIBDIK()) { return; } RenderBuffer activeDepthBuffer = Graphics.activeDepthBuffer; RenderBuffer activeColorBuffer = Graphics.activeColorBuffer; this.IJKEJKIKPCD(); Vector4 vector = this.AOMFCFGLAIF(); bool flag = vector.x < 152f || vector.x > 426f || vector.y < 912f || vector.y <= 774f; this.FPMHIEKBFOP(flag, "application/octet-stream", "game_end"); int width = Screen.width; int height = Screen.height; this.GNAMPPAGCGI(); this.ONEFOEHCACP(this.BACCJEBAOEE, "looktarget", "onupdateparams"); this.DHOJENKGBAC(width, height, vector); this.OIAHBAOBOAI(vector); this.NBJINHNCBMB(width, height, vector); this.JOOJOHLCLAM(vector); this.HEMPEGNHMBI(width, height, vector); this.ECMJEDKIFIJ(this.IELLAFIIIEO); this.IELLAFIIIEO.SetTexture(" could not be executed (yet). Wait for state JoinedLobby or ConnectedToMaster and their callbacks before calling operations. WebRPCs need a server-side configuration. Enum OperationCode helps identify the operation.", this.GHOBHFMKIDN); this.IELLAFIIIEO.SetTexture("ViewID {0} {1}{2}", this.CNDBFECMEEC); this.IELLAFIIIEO.SetTexture("You already have a package!", this.FOCNDENPHFO); this.IELLAFIIIEO.SetTexture("VoiceVolume", this.JMAEPAGPGCF); this.IELLAFIIIEO.SetTexture("ShapeData", this.MAIKGMBAOJJ); this.IELLAFIIIEO.SetTexture("{not_found}", this.LPPCPHFJIAC); this.IELLAFIIIEO.SetVector("PostProcessingBehaviour", new Vector4((float)this.JMAEPAGPGCF.width, (float)this.JMAEPAGPGCF.height, 564f / (float)this.JMAEPAGPGCF.width, 209f / (float)this.JMAEPAGPGCF.height)); this.IELLAFIIIEO.SetVector("{0}: {1}", new Vector4((float)width, (float)height, 127f / (float)width, 1239f / (float)height)); this.IELLAFIIIEO.SetVector("Sec-WebSocket-Protocol", vector); this.IELLAFIIIEO.SetFloat("gzip", this.JOCJGAGLJCI()); bool flag2 = this.GKGGMIODOIJ() || this.PKNFFLMFGGE(); this.IELLAFIIIEO.SetFloat("ETID", (float)((!flag2) ? 8 : 0)); this.ONEFOEHCACP(flag2, "{0}v2/send", "id"); Graphics.SetRenderTarget(activeColorBuffer, activeDepthBuffer); this.IELLAFIIIEO.SetPass(1); if (flag2) { this.GHHJOOIGJHA(); } else { this.NDNIBAFCOBD(); } this.MFMGLFIJCJG(); } // Token: 0x06009957 RID: 39255 RVA: 0x002F69F8 File Offset: 0x002F4BF8 private void FHEJCOOJKIL(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.GHOBHFMKIDN.colorBuffer, this.DFGNEKPPMNB.depthBuffer); if (!this.CHLBPHCGJBK && (Application.platform == (RuntimePlatform)6 || Application.platform == RuntimePlatform.OSXWebPlayer)) { this.JEDFPFJPGAF.SetPass(1); this.KPPNADCOJDG(); } else { GL.Clear(true, true, new Color(542f, 1594f, 1822f, 806f)); } this.JEDFPFJPGAF.SetFloat("api/rooms/", (float)this.m_InterpolationStep); this.JEDFPFJPGAF.SetFloat("color", this.JOCJGAGLJCI()); this.JEDFPFJPGAF.SetTexture("dh", this.CNDBFECMEEC); this.JEDFPFJPGAF.SetVector("\" contains inappropriate words.", new Vector4((float)this.CNDBFECMEEC.width, (float)this.CNDBFECMEEC.height, 1653f / (float)this.CNDBFECMEEC.width, 1129f / (float)this.CNDBFECMEEC.height)); this.JEDFPFJPGAF.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x06009958 RID: 39256 RVA: 0x002F6B24 File Offset: 0x002F4D24 public bool GPICHEANNHF() { return this.IFCPDLCMCOF == LightType.Directional; } // Token: 0x06009959 RID: 39257 RVA: 0x002F6B30 File Offset: 0x002F4D30 private void NKFIKNPHEKD() { if (this.LDBIPKMBIAP) { return; } this.LDBIPKMBIAP = new Texture2D(256, 1, TextureFormat.ARGB32, false, true); this.LDBIPKMBIAP.wrapMode = TextureWrapMode.Clamp; this.LDBIPKMBIAP.hideFlags = HideFlags.HideAndDontSave; if (this.m_AttenuationCurve == null || this.m_AttenuationCurve.length == 0) { this.m_AttenuationCurve = new AnimationCurve(new Keyframe[] { new Keyframe(0f, 1f), new Keyframe(1f, 1f) }); } if (this.LDBIPKMBIAP) { this.UpdateLUTs(); } } // Token: 0x0600995A RID: 39258 RVA: 0x002F6BF4 File Offset: 0x002F4DF4 private void OIAHBAOBOAI(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.GHOBHFMKIDN.colorBuffer, this.DFGNEKPPMNB.depthBuffer); if (!this.CHLBPHCGJBK && (Application.platform == RuntimePlatform.OSXWebPlayer || Application.platform == RuntimePlatform.WindowsPlayer)) { this.JEDFPFJPGAF.SetPass(0); this.KPPNADCOJDG(); } else { GL.Clear(false, false, new Color(1142f, 1756f, 1068f, 753f)); } this.JEDFPFJPGAF.SetFloat("relationship", (float)this.m_InterpolationStep); this.JEDFPFJPGAF.SetFloat("ns.exitgames.com", this.ANBJJLGPAMI()); this.JEDFPFJPGAF.SetTexture("/", this.CNDBFECMEEC); this.JEDFPFJPGAF.SetVector("{0}v1/balance", new Vector4((float)this.CNDBFECMEEC.width, (float)this.CNDBFECMEEC.height, 646f / (float)this.CNDBFECMEEC.width, 1081f / (float)this.CNDBFECMEEC.height)); this.JEDFPFJPGAF.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x0600995B RID: 39259 RVA: 0x002F6D20 File Offset: 0x002F4F20 private void PAIMBEPFNLO(Vector4 CPNHNKCPCOD) { Graphics.SetRenderTarget(this.LPPCPHFJIAC); this.CHCCIGILGCO.SetFloat("api/gamesessions/v2/", (float)this.m_InterpolationStep); this.CHCCIGILGCO.SetTexture("Owner", this.GHOBHFMKIDN); this.CHCCIGILGCO.SetTexture("location", this.DFGNEKPPMNB); this.CHCCIGILGCO.SetVector("Right", new Vector4((float)this.DFGNEKPPMNB.width, (float)this.DFGNEKPPMNB.height, 1618f / (float)this.DFGNEKPPMNB.width, 1227f / (float)this.DFGNEKPPMNB.height)); this.CHCCIGILGCO.SetPass(0); this.DCOMJHNJLLE(CPNHNKCPCOD); } // Token: 0x0600995C RID: 39260 RVA: 0x002F6DE0 File Offset: 0x002F4FE0 private void POAKHFOBHKK(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { bool flag = this.m_ShowSamples && this.CHLBPHCGJBK && this.OFCEAJCGKML; this.ONEFOEHCACP(flag, "GZipStream", "Response"); if (flag) { this.MFDKKLLPGAH(BODEDBACLFE, DLKBIFHEFMN, CPNHNKCPCOD); } this.IELLAFIIIEO.SetFloat("Observed type is not serializable: ", this.m_ShowSamplesBackgroundFade); } // Token: 0x0600995D RID: 39261 RVA: 0x002F6E44 File Offset: 0x002F5044 private Vector4 AMGOPKDMCBJ() { Vector3 vector = base.transform.position; if (this.BACCJEBAOEE) { vector = this.m_CurrentCamera.transform.position + base.transform.forward; } Vector3 vector2 = this.m_CurrentCamera.WorldToViewportPoint(vector); return new Vector4(vector2.x * 2f - 1f, vector2.y * 2f - 1f, 0f, 0f); } // Token: 0x0600995E RID: 39262 RVA: 0x002F6ECC File Offset: 0x002F50CC private bool DAHKLAMEPOF() { Vector3[] vertices = this.HEEHOKKFBHB.vertices; float num = this.m_CurrentCamera.nearClipPlane - 0.001f; Transform transform = base.transform; for (int i = 0; i < vertices.Length; i++) { float z = this.m_CurrentCamera.WorldToViewportPoint(transform.TransformPoint(vertices[i])).z; if (z < num) { return true; } } return false; } // Token: 0x0600995F RID: 39263 RVA: 0x002F6F48 File Offset: 0x002F5148 private void GHHJOOIGJHA() { GL.Begin(2); GL.TexCoord2(950f, 475f); GL.Vertex3(724f, 1791f, 1171f); GL.TexCoord2(1556f, 1296f); GL.Vertex3(432f, 281f, 1232f); GL.TexCoord2(510f, 903f); GL.Vertex3(1401f, 561f, 26f); GL.TexCoord2(875f, 41f); GL.Vertex3(168f, 1203f, 1642f); GL.End(); } // Token: 0x06009960 RID: 39264 RVA: 0x002F6FEC File Offset: 0x002F51EC private void ONEFOEHCACP(bool HLCDLDOGDNH, string LIPIFMAKFMG, string AGFJOEJBFKK) { Shader.EnableKeyword((!HLCDLDOGDNH) ? AGFJOEJBFKK : LIPIFMAKFMG); Shader.DisableKeyword((!HLCDLDOGDNH) ? LIPIFMAKFMG : AGFJOEJBFKK); } // Token: 0x06009961 RID: 39265 RVA: 0x002F7014 File Offset: 0x002F5214 private void EEPCPOAKLGO(int BODEDBACLFE, int DLKBIFHEFMN, Vector4 CPNHNKCPCOD) { bool flag = this.m_ShowSamples && this.CHLBPHCGJBK && this.OFCEAJCGKML; this.ONEFOEHCACP(flag, "SHOW_SAMPLES_ON", "SHOW_SAMPLES_OFF"); if (flag) { this.MFDKKLLPGAH(BODEDBACLFE, DLKBIFHEFMN, CPNHNKCPCOD); } this.IELLAFIIIEO.SetFloat("_ShowSamplesBackgroundFade", this.m_ShowSamplesBackgroundFade); } // Token: 0x06009962 RID: 39266 RVA: 0x002F7078 File Offset: 0x002F5278 private void GPBEKLBJBBO() { if (this.m_ShadowmapMode == MAHEPFPOEEK.Static) { return; } RenderTexture.ReleaseTemporary(this.FOCNDENPHFO); RenderTexture.ReleaseTemporary(this.ABBDPFAOAMG); } // Token: 0x06009963 RID: 39267 RVA: 0x002F70A0 File Offset: 0x002F52A0 private Vector4 BHLOBCMCHLM() { Vector3 vector = base.transform.position; if (this.BACCJEBAOEE) { vector = this.m_CurrentCamera.transform.position + base.transform.forward; } Vector3 vector2 = this.m_CurrentCamera.WorldToViewportPoint(vector); return new Vector4(vector2.x * 481f - 73f, vector2.y * 182f - 1401f, 1533f, 1542f); } // Token: 0x06009964 RID: 39268 RVA: 0x002F7128 File Offset: 0x002F5328 private void IJKEJKIKPCD() { this.KIEGBBIPNLG(); this.ICHJEJNLOGH(); this.JMELDHECHKL(); this.PPFGDPNIFPH(); this.BOILIPDEJBC(); } // Token: 0x06009965 RID: 39269 RVA: 0x002F7148 File Offset: 0x002F5348 private float JOCJGAGLJCI() { return this.m_DepthThreshold / this.m_CurrentCamera.farClipPlane; } // Token: 0x040013B4 RID: 5044 public MAHEPFPOEEK m_ShadowmapMode; // Token: 0x040013B5 RID: 5045 private MAHEPFPOEEK DKFHDLOHMMH; // Token: 0x040013B6 RID: 5046 public Camera[] m_Cameras; // Token: 0x040013B7 RID: 5047 public Camera m_CurrentCamera; // Token: 0x040013B8 RID: 5048 private bool DPBJBACHLCC = true; // Token: 0x040013B9 RID: 5049 public Vector3 m_Size = new Vector3(10f, 10f, 20f); // Token: 0x040013BA RID: 5050 public float m_SpotNear = 0.1f; // Token: 0x040013BB RID: 5051 public float m_SpotFar = 1f; // Token: 0x040013BC RID: 5052 public LayerMask m_CullingMask = -1; // Token: 0x040013BD RID: 5053 public LayerMask m_ColorFilterMask = 0; // Token: 0x040013BE RID: 5054 public float m_Brightness = 5f; // Token: 0x040013BF RID: 5055 public float m_BrightnessColored = 5f; // Token: 0x040013C0 RID: 5056 public float m_Extinction = 0.5f; // Token: 0x040013C1 RID: 5057 public float m_MinDistFromCamera; // Token: 0x040013C2 RID: 5058 public int m_ShadowmapRes = 1024; // Token: 0x040013C3 RID: 5059 private Camera ALJIGJBJLKM; // Token: 0x040013C4 RID: 5060 private RenderTexture FOCNDENPHFO; // Token: 0x040013C5 RID: 5061 public Shader m_DepthShader; // Token: 0x040013C6 RID: 5062 private RenderTexture ABBDPFAOAMG; // Token: 0x040013C7 RID: 5063 public Shader m_ColorFilterShader; // Token: 0x040013C8 RID: 5064 public bool m_Colored; // Token: 0x040013C9 RID: 5065 public float m_ColorBalance = 1f; // Token: 0x040013CA RID: 5066 public int m_EpipolarLines = 256; // Token: 0x040013CB RID: 5067 public int m_EpipolarSamples = 512; // Token: 0x040013CC RID: 5068 private RenderTexture JMAEPAGPGCF; // Token: 0x040013CD RID: 5069 private RenderTexture CNDBFECMEEC; // Token: 0x040013CE RID: 5070 public Shader m_CoordShader; // Token: 0x040013CF RID: 5071 private Material EDABEBNKHJN; // Token: 0x040013D0 RID: 5072 private Camera CFHOEFKKMGA; // Token: 0x040013D1 RID: 5073 private RenderTexture GHOBHFMKIDN; // Token: 0x040013D2 RID: 5074 public Shader m_DepthBreaksShader; // Token: 0x040013D3 RID: 5075 private Material JEDFPFJPGAF; // Token: 0x040013D4 RID: 5076 private RenderTexture DFGNEKPPMNB; // Token: 0x040013D5 RID: 5077 private Material EGHCFGAHLPA; // Token: 0x040013D6 RID: 5078 public Shader m_RaymarchShader; // Token: 0x040013D7 RID: 5079 private RenderTexture LPPCPHFJIAC; // Token: 0x040013D8 RID: 5080 public Shader m_InterpolateAlongRaysShader; // Token: 0x040013D9 RID: 5081 private Material CHCCIGILGCO; // Token: 0x040013DA RID: 5082 private RenderTexture MAIKGMBAOJJ; // Token: 0x040013DB RID: 5083 public Shader m_SamplePositionsShader; // Token: 0x040013DC RID: 5084 private Material KKNLFJPGJGA; // Token: 0x040013DD RID: 5085 private bool OFCEAJCGKML; // Token: 0x040013DE RID: 5086 public Shader m_FinalInterpolationShader; // Token: 0x040013DF RID: 5087 private Material IELLAFIIIEO; // Token: 0x040013E0 RID: 5088 public float m_DepthThreshold = 0.5f; // Token: 0x040013E1 RID: 5089 public int m_InterpolationStep = 32; // Token: 0x040013E2 RID: 5090 public bool m_ShowSamples; // Token: 0x040013E3 RID: 5091 public bool m_ShowInterpolatedSamples; // Token: 0x040013E4 RID: 5092 public float m_ShowSamplesBackgroundFade = 0.8f; // Token: 0x040013E5 RID: 5093 public bool m_AttenuationCurveOn; // Token: 0x040013E6 RID: 5094 public AnimationCurve m_AttenuationCurve; // Token: 0x040013E7 RID: 5095 private Texture2D LDBIPKMBIAP; // Token: 0x040013E8 RID: 5096 private Light IEKABDPIJFG; // Token: 0x040013E9 RID: 5097 private LightType IFCPDLCMCOF = LightType.Directional; // Token: 0x040013EA RID: 5098 private bool CHLBPHCGJBK; // Token: 0x040013EB RID: 5099 private bool FKADFAPLGFB; // Token: 0x040013EC RID: 5100 private Mesh HEEHOKKFBHB; // Token: 0x040013ED RID: 5101 private float NMHEFICGJLO = -1f; // Token: 0x040013EE RID: 5102 private float HCICDHJOPED = -1f; // Token: 0x040013EF RID: 5103 private float BLOLCBONMKO = -1f; // Token: 0x040013F0 RID: 5104 private float JDCAGKMILAD = -1f; }