From e6757f853c336cbfb402d50f9e2d754c3c4df165 Mon Sep 17 00:00:00 2001 From: Jason Gardner Date: Tue, 3 Sep 2024 10:33:50 -0500 Subject: [PATCH] upd: Deferred rendering settings --- .../pack/RP/color_grading/color_grading.json | 39 +++++++ bedrock/pack/RP/fogs/default_fog_setting.json | 4 +- bedrock/pack/RP/lighting/atmospherics.json | 103 ++++++++++++++++++ bedrock/pack/RP/lighting/global.json | 44 ++++++++ bedrock/pack/RP/water/water.json | 25 +++++ 5 files changed, 213 insertions(+), 2 deletions(-) create mode 100644 bedrock/pack/RP/color_grading/color_grading.json create mode 100644 bedrock/pack/RP/lighting/atmospherics.json create mode 100644 bedrock/pack/RP/lighting/global.json create mode 100644 bedrock/pack/RP/water/water.json diff --git a/bedrock/pack/RP/color_grading/color_grading.json b/bedrock/pack/RP/color_grading/color_grading.json new file mode 100644 index 00000000..2802b972 --- /dev/null +++ b/bedrock/pack/RP/color_grading/color_grading.json @@ -0,0 +1,39 @@ +{ + "minecraft:color_grading_settings": { + "description": { + "identifier": "jgrtx:default_color_grading" + }, + "color_grading": { + "midtones": { + "contrast": [ + 0.93367, + 0.93567, + 0.93158 + ], + "gain": [ + 0.97624, + 0.9612, + 0.96194 + ], + "gamma": [ + 0.74, + 0.79, + 0.79537 + ], + "offset": [ + 0.0, + 0.0, + 0.0 + ], + "saturation": [ + 1.0, + 1.0, + 1.0 + ] + } + }, + "tone_mapping": { + "operator": "reinhard_luminance" + } + } +} \ No newline at end of file diff --git a/bedrock/pack/RP/fogs/default_fog_setting.json b/bedrock/pack/RP/fogs/default_fog_setting.json index f6de068e..89882d84 100644 --- a/bedrock/pack/RP/fogs/default_fog_setting.json +++ b/bedrock/pack/RP/fogs/default_fog_setting.json @@ -15,7 +15,7 @@ "fog_start": 0, "fog_end": 60.0, "fog_color": "#44aff5", - "render_distance_type": "fixed", + "render_distance_type": "fixed" }, "weather": { "fog_start": 0.25, @@ -87,4 +87,4 @@ } } } -} +} \ No newline at end of file diff --git a/bedrock/pack/RP/lighting/atmospherics.json b/bedrock/pack/RP/lighting/atmospherics.json new file mode 100644 index 00000000..f0db0412 --- /dev/null +++ b/bedrock/pack/RP/lighting/atmospherics.json @@ -0,0 +1,103 @@ +{ + "horizon_blend_stops":{ + "min": { + "0.0": 0.0, + "0.1962499916553497": 0.008, + "0.25": 0.0, + "0.34": 0.11, + "0.6": 0.027, + "0.6750000119209290": 0.01332983374595642, + "0.7487499713897705": 0.0, + "0.8174999952316284": 0.0 + }, + "start": { + "0.0": 0.25, + "0.1962499916553497": 0.4179066121578217, + "0.25": 0.213, + "0.34": 0.401, + "0.6": 0.23, + "0.6750000119209290": 0.2143078744411469, + "0.7487499713897705": 0.1990064233541489, + "0.8174999952316284": 0.6179999709129333 + }, + "mie_start": { + "0.0": 0.5, + "0.1962499916553497": 1.172000050544739, + "0.25": 0.5, + "0.34": 0.5009999871253967, + "0.6": 0.167, + "0.6750000119209290": 0.15, + "0.7487499713897705": 0.55, + "0.8174999952316284": 0.79 + }, + "max": { + "0.0": 0.25, + "0.1962499916553497": 0.137, + "0.25": 0.0, + "0.34": 0.467, + "0.6": 0.2, + "0.6750000119209290": 0.1919008344411850, + "0.7487499713897705": 0.214, + "0.8174999952316284": 0.0 + } + }, + "rayleigh_strength": { + "0.0": 1.026124954, + "0.25": 0.1624998152, + "0.3": 0.1624998152, + "0.3037499785423279": 0.1624998152, + "0.3249999880790710": 0.1624998152, + "0.6": 0.5, + "0.7074999809265137": 0.1982535422, + "0.75": 0.125 + }, + "sun_mie_strength": { + "0.0": 1.0, + "0.25": 3.0, + "0.3": 3.0, + "0.3037499785423279": 2.878501892089844, + "0.3249999880790710": 1.0, + "0.6": 1.0, + "0.7074999809265137": 1.0, + "0.75": 1.0 + }, + "moon_mie_strength": { + "0.0": 0.0, + "0.25": 0.0, + "0.3": 0.0, + "0.3037499785423279": 0.114, + "0.3249999880790710": 1.0, + "0.6": 1.0, + "0.7074999809265137": 0.0, + "0.75": 0.0 + }, + "sun_glare_shape": { + "0.0": 15.89900016784668, + "0.25": 15.89900016784668, + "0.3": 15.89900016784668, + "0.3037499785423279": 15.84438705444336, + "0.3249999880790710": 15.0, + "0.6": 4.0, + "0.7074999809265137": 4.0, + "0.75": 4.0 + }, + "sky_zenith_color": { + "0.0": [0, 125, 164], + "0.25": [11, 55, 97], + "0.5": [7, 10, 36], + "0.75": [50, 88, 170] + }, + "sky_horizon_color": { + "0.0": [255, 255, 254], + "0.171875": [196, 133, 102], + "0.25": [255, 85, 85], + "0.305": [173, 60, 67], + "0.35": [168, 76, 140], + "0.4174999892711639": [130, 99, 169], + "0.47": [66, 98, 238], + "0.6030000448226929": [66, 98, 238], + "0.6474999785423279": [168, 99, 162], + "0.75": [238, 144, 124], + "0.84": [242, 168, 152] + } +} \ No newline at end of file diff --git a/bedrock/pack/RP/lighting/global.json b/bedrock/pack/RP/lighting/global.json new file mode 100644 index 00000000..1a85b49c --- /dev/null +++ b/bedrock/pack/RP/lighting/global.json @@ -0,0 +1,44 @@ +{ + "format_version": [1, 0, 0], + "directional_lights": { + "sun": { + "illuminance": { + "0.0": 109880.0, + "0.25": 20000.0, + "0.35": 400.0, + "0.5": 1.0, + "0.65": 400.0, + "0.75": 20000.0, + "1.0": 109880.0 + }, + "color": [ 255.0, 255.0, 255.0, 255.0 ] + }, + "moon": { + "illuminance": 0.27, + "color": "#ffffffff" + }, + "orbital_offset_degrees": 3.0 + }, + "point_lights": { + "colors": { + "minecraft:soul_torch": "#FFFFFF" + } + }, + "pbr": { + "blocks": { + "global_metalness_emissive_roughness_subsurface": [0.0, 0.0, 255.0, 0.0] + }, + "actors": { + "global_metalness_emissive_roughness_subsurface": [0.0, 0.0, 255.0, 0.0] + }, + "particles": { + "global_metalness_emissive_roughness_subsurface": [0.0, 0.0, 255.0, 0.0] + }, + "items": { + "global_metalness_emissive_roughness_subsurface": [0.0, 0.0, 255.0, 0.0] + } + }, + "emissive": { + "desaturation": 0.1 + } +} \ No newline at end of file diff --git a/bedrock/pack/RP/water/water.json b/bedrock/pack/RP/water/water.json new file mode 100644 index 00000000..37843b9d --- /dev/null +++ b/bedrock/pack/RP/water/water.json @@ -0,0 +1,25 @@ +{ + "minecraft:water_settings": { + "description": { + "identifier": "jgrtx:default_water" + }, + "particle_concentrations": { + "chlorophyll": 0.5, + "suspended_sediment": 0.5, + "cdom": 1 + }, + "waves": { + "enabled": true, + "depth": 1, + "frequency": 1, + "frequency_scaling": 1.2000000476837158, + "mix": 0.20000000298023224, + "octaves": 28, + "pull": 0.3799999952316284, + "sampleWidth": 0.009999999776482582, + "shape": 1.5, + "speed": 2, + "speed_scaling": 1.0299999713897705 + } + } +} \ No newline at end of file