Add rain darkness slider, add emeralds to emissive ores

This commit is contained in:
Merlin1809
2025-07-03 20:41:37 +02:00
parent 39e88c10e2
commit 284dff217e
5 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -1091,5 +1091,5 @@ block.500=minecraft:end_portal
## all blocks here get exluded from POM.
block.501=minecraft:acacia_sign minecraft:bamboo_sign minecraft:birch_sign minecraft:cherry_sign minecraft:crimson_sign minecraft:dark_oak_sign minecraft:jungle_sign minecraft:mangrove_sign minecraft:oak_sign minecraft:pale_oak_sign minecraft:spruce_sign minecraft:warped_sign minecraft:acacia_wall_sign minecraft:bamboo_wall_sign minecraft:birch_wall_sign minecraft:cherry_wall_sign minecraft:crimson_wall_sign minecraft:dark_oak_wall_sign minecraft:jungle_wall_sign minecraft:mangrove_wall_sign minecraft:oak_wall_sign minecraft:pale_oak_wall_sign minecraft:spruce_wall_sign minecraft:warped_wall_sign
block.502=gold_ore deepslate_gold_ore iron_ore deepslate_iron_ore diamond_ore deepslate_diamond_ore redstone_ore deepslate_redstone_ore copper_ore deepslate_copper_ore lapis_ore deepslate_lapis_ore coal_ore deepslate_coal_ore nether_quartz_ore nether_gold_ore \
block.502= emerald_ore deepslate_emerald_ore gold_ore deepslate_gold_ore iron_ore deepslate_iron_ore diamond_ore deepslate_diamond_ore redstone_ore deepslate_redstone_ore copper_ore deepslate_copper_ore lapis_ore deepslate_lapis_ore coal_ore deepslate_coal_ore nether_quartz_ore nether_gold_ore \
create:zinc_ore create:deepslate_zinc_ore
+1 -1
View File
@@ -228,7 +228,7 @@ float mixhistory = 0.06;
/// --- STORE COLOR LUT --- ///
///////////////////////////////
vec3 AmbientLightTint = (1.0 - 0.85 * rainStrength) * vec3(AmbientLight_R, AmbientLight_G, AmbientLight_B);
vec3 AmbientLightTint = (1.0 - (1.0 - RAIN_AMBIENT_LIGHT_MODIFIER) * rainStrength) * vec3(AmbientLight_R, AmbientLight_G, AmbientLight_B);
// --- the color of the atmosphere + the average color of the atmosphere.
vec3 skyGroundCol = skyFromTex(vec3(0, -1 ,0), colortex4).rgb;// * clamp(WsunVec.y*2.0,0.2,1.0);
+4
View File
@@ -176,6 +176,8 @@ screen.Ambient_light = Ambient Light
option.TORCH_G = Green Amount
option.TORCH_B = Blue Amount
option.RAIN_AMBIENT_LIGHT_MODIFIER = Rain Ambient Light
screen.Fog = Fog Settings
option.VL_RENDER_RESOLUTION = Volumetric Resolution Scaling
@@ -658,6 +660,8 @@ screen.Ambient_light.comment = Configure settings related to the lighting in sha
screen.Ambient_Colors.comment = Configure the color of light in shaded areas.
screen.Torch_Colors.comment = Configure the color of light from torches or other placed lightsources.
option.RAIN_AMBIENT_LIGHT_MODIFIER.comment = Configure the ambient light brightness during rain. (1.0 is no darkening, 0.0 is no ambient light)
option.LPV_SIZE.comment = Configures the size (in blocks) of the volume for colored lighting.
option.LPV_SATURATION.comment = Configures the intensity of colored lighting.
option.LPV_TINT_SATURATION.comment = Configures the intensity of tinting by translucent blocks on colored lighting.
+2 -1
View File
@@ -85,6 +85,7 @@
#define AmbientLight_G 1.0 // [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0]
#define AmbientLight_B 1.0 // [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0]
#define RAIN_AMBIENT_LIGHT_MODIFIER 0.15 // [0.0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1.0]
#define TORCH_AMOUNT 1.0 // [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 6.0 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 8.9 9.0 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 10.0]
#define TORCH_R 1.0 // [0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11 0.12 0.13 0.14 0.15 0.16 0.17 0.18 0.19 0.2 0.21 0.22 0.23 0.24 0.25 0.26 0.27 0.28 0.29 0.3 0.31 0.32 0.33 0.34 0.35 0.36 0.37 0.38 0.39 0.4 0.41 0.42 0.43 0.44 0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55 0.56 0.57 0.58 0.59 0.6 0.61 0.62 0.63 0.64 0.65 0.66 0.67 0.68 0.69 0.7 0.71 0.72 0.73 0.74 0.75 0.76 0.77 0.78 0.79 0.8 0.81 0.82 0.83 0.84 0.85 0.86 0.87 0.88 0.89 0.9 0.91 0.92 0.93 0.94 0.95 0.96 0.97 0.98 0.99 1.0]
@@ -646,7 +647,7 @@ const vec3 HIGHLIGHTS_TARGET = length(vec3(HIGHLIGHTS_GRADE_R, HIGHLIGHTS_GRADE_
const vec3 aerochrome_color = mix(vec3(1.0, 0.0, 0.0), vec3(0.715, 0.303, 0.631), AEROCHROME_PINKNESS);
// #define CAMERA_GRIDLINES
// #define EMISSIVE_ORES
#define EMISSIVE_ORES_STRENGTH 0.6 // [0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0]
#define EMISSIVE_ORES_STRENGTH 0.9 // [0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0]
File diff suppressed because one or more lines are too long