From d1ae42030129ebf38818ca9ac72ec647db76d38c Mon Sep 17 00:00:00 2001 From: Arohdin Date: Tue, 8 Apr 2025 14:21:49 +0200 Subject: [PATCH] RenderableSphere assets: set blending and depth options --- data/assets/nightsky/light_pollution.asset | 3 +-- .../digitaluniverse/allsky_hydrogenalpha.asset | 4 +++- .../digitaluniverse/backgroundradiation.asset | 12 +++++++++--- .../backgroundradiation_multiverse.asset | 16 ++++++++++++---- data/assets/scene/milkyway/milkyway/eso.asset | 4 +++- 5 files changed, 28 insertions(+), 11 deletions(-) diff --git a/data/assets/nightsky/light_pollution.asset b/data/assets/nightsky/light_pollution.asset index e4f502c0c8..0232e76ea3 100644 --- a/data/assets/nightsky/light_pollution.asset +++ b/data/assets/nightsky/light_pollution.asset @@ -42,8 +42,7 @@ local LightPollutionSphere = { Orientation = "Inside", MirrorTexture = true, FadeOutThreshold = 1.00, - RenderBinMode = "PostDeferredTransparent", - Enabled = asset.enabled + RenderBinMode = "PostDeferredTransparent" }, GUI = { Name = "Light Pollution Sphere", diff --git a/data/assets/scene/digitaluniverse/allsky_hydrogenalpha.asset b/data/assets/scene/digitaluniverse/allsky_hydrogenalpha.asset index caf7cfde10..fc8419a10b 100644 --- a/data/assets/scene/digitaluniverse/allsky_hydrogenalpha.asset +++ b/data/assets/scene/digitaluniverse/allsky_hydrogenalpha.asset @@ -23,7 +23,9 @@ local Object = { Texture = textures .. "mwHalpha-f.png", Orientation = "Inside", MirrorTexture = true, - FadeOutThreshold = 0.025 + FadeOutThreshold = 0.025, + BlendingOption = "Additive", + DisableDepth = true }, GUI = { Name = "Hydrogen Alpha", diff --git a/data/assets/scene/digitaluniverse/backgroundradiation.asset b/data/assets/scene/digitaluniverse/backgroundradiation.asset index e1a753a756..8da0862c81 100644 --- a/data/assets/scene/digitaluniverse/backgroundradiation.asset +++ b/data/assets/scene/digitaluniverse/backgroundradiation.asset @@ -30,7 +30,9 @@ local COBE = { Texture = textures .. "COBErect.png", Orientation = "Both", MirrorTexture = true, - FadeInThreshold = 0.4 + FadeInThreshold = 0.4, + BlendingOption = "Additive", + DisableDepth = true }, GUI = { Name = "1990 COBE CMB", @@ -62,7 +64,9 @@ local WMAP = { Texture = textures .. "wmap_ilc_7yr_v4_200uK_RGB_sos.png", Orientation = "Both", MirrorTexture = true, - FadeInThreshold = 0.4 + FadeInThreshold = 0.4, + BlendingOption = "Additive", + DisableDepth = true }, GUI = { Name = "2003 WMAP CMB", @@ -93,7 +97,9 @@ local Planck = { Texture = textures .. "cmb4k.jpg", Orientation = "Both", MirrorTexture = true, - FadeInThreshold = 0.4 + FadeInThreshold = 0.4, + BlendingOption = "Additive", + DisableDepth = true }, GUI = { Name = "2013 Planck CMB", diff --git a/data/assets/scene/digitaluniverse/backgroundradiation_multiverse.asset b/data/assets/scene/digitaluniverse/backgroundradiation_multiverse.asset index 7af1e3f312..82fd1809dd 100644 --- a/data/assets/scene/digitaluniverse/backgroundradiation_multiverse.asset +++ b/data/assets/scene/digitaluniverse/backgroundradiation_multiverse.asset @@ -27,7 +27,9 @@ local PlanckMultiverse1 = { Texture = textures .. "cmb4k.jpg", Orientation = "Both", MirrorTexture = true, - FadeInThreshold = 0.4 + FadeInThreshold = 0.4, + BlendingOption = "Additive", + DisableDepth = true }, GUI = { Name = "Planck Multiverse 1", @@ -56,7 +58,9 @@ local PlanckMultiverse2 = { Texture = textures .. "cmb4k.jpg", Orientation = "Both", MirrorTexture = true, - FadeInThreshold = 0.4 + FadeInThreshold = 0.4, + BlendingOption = "Additive", + DisableDepth = true }, GUI = { Name = "Planck Multiverse 2", @@ -85,7 +89,9 @@ local PlanckMultiverse3 = { Texture = textures .. "cmb4k.jpg", Orientation = "Both", MirrorTexture = true, - FadeInThreshold = 0.4 + FadeInThreshold = 0.4, + BlendingOption = "Additive", + DisableDepth = true }, GUI = { Name = "Planck Multiverse 3", @@ -114,7 +120,9 @@ local PlanckMultiverse4 = { Texture = textures .. "cmb4k.jpg", Orientation = "Both", MirrorTexture = true, - FadeInThreshold = 0.4 + FadeInThreshold = 0.4, + BlendingOption = "Additive", + DisableDepth = true }, GUI = { Name = "Planck Multiverse 4", diff --git a/data/assets/scene/milkyway/milkyway/eso.asset b/data/assets/scene/milkyway/milkyway/eso.asset index 285e1c75cf..bc86af0c8f 100644 --- a/data/assets/scene/milkyway/milkyway/eso.asset +++ b/data/assets/scene/milkyway/milkyway/eso.asset @@ -22,7 +22,9 @@ local Object = { Texture = textures .. "eso0932a_blend.png", Orientation = "Inside", MirrorTexture = true, - FadeOutThreshold = 0.01 + FadeOutThreshold = 0.01, + BlendingOption = "Additive", + DisableDepth = true }, GUI = { Name = "Milky Way (ESO)",