2023-01-13 04:00:14 +08:00
|
|
|
clouds=off
|
2023-06-29 05:14:08 +08:00
|
|
|
stars=false
|
2023-01-13 04:00:14 +08:00
|
|
|
vignette=false
|
2023-10-11 11:02:00 +08:00
|
|
|
underwaterOverlay=false
|
2023-01-13 04:00:14 +08:00
|
|
|
dynamicHandLight=true
|
2023-10-11 11:02:00 +08:00
|
|
|
oldLighting=false
|
2023-10-08 10:18:20 +08:00
|
|
|
separateAo = true
|
|
|
|
rain.depth = false
|
|
|
|
beacon.beam.depth = true
|
|
|
|
|
2024-05-07 03:12:52 +08:00
|
|
|
iris.features.optional = ENTITY_TRANSLUCENT REVERSED_CULLING COMPUTE_SHADERS CUSTOM_IMAGES
|
2024-05-02 01:40:52 +08:00
|
|
|
|
2024-02-07 09:04:11 +08:00
|
|
|
#if RESOURCEPACK_SKY == 2
|
|
|
|
sun=true
|
|
|
|
moon=true
|
|
|
|
#else
|
|
|
|
sun=false
|
|
|
|
moon=false
|
|
|
|
#endif
|
|
|
|
|
2024-05-03 02:18:49 +08:00
|
|
|
#ifdef LPV_ENABLED
|
2024-05-06 04:07:28 +08:00
|
|
|
shadow.enabled = true
|
2024-05-03 02:18:49 +08:00
|
|
|
shadow.culling = reversed
|
2024-05-04 12:20:10 +08:00
|
|
|
voxelizeLightBlocks = true
|
2024-05-03 02:18:49 +08:00
|
|
|
#endif
|
|
|
|
|
2024-02-07 09:04:11 +08:00
|
|
|
#ifndef RENDER_ENTITY_SHADOWS
|
|
|
|
shadowBlockEntities = false
|
|
|
|
shadowEntities = false
|
2024-05-10 07:14:41 +08:00
|
|
|
#ifdef RENDER_PLAYER_SHADOWS
|
|
|
|
shadowPlayer = true
|
|
|
|
#endif
|
2024-02-07 09:04:11 +08:00
|
|
|
#endif
|
2024-01-12 10:38:03 +08:00
|
|
|
|
2024-02-06 05:04:37 +08:00
|
|
|
|
2024-05-05 09:36:06 +08:00
|
|
|
#ifdef TRANSLUCENT_ENTITIES
|
|
|
|
separateEntityDraws = true
|
2024-02-06 05:04:37 +08:00
|
|
|
#else
|
2024-05-17 07:56:32 +08:00
|
|
|
separateEntityDraws = false
|
2024-01-12 10:38:03 +08:00
|
|
|
#endif
|
2023-10-26 07:17:23 +08:00
|
|
|
|
2024-05-05 09:36:06 +08:00
|
|
|
program.world0/gbuffers_entities_translucent.enabled = TRANSLUCENT_ENTITIES
|
|
|
|
program.world0/gbuffers_block_translucent.enabled = TRANSLUCENT_ENTITIES
|
2024-05-17 07:56:32 +08:00
|
|
|
|
2024-05-05 09:36:06 +08:00
|
|
|
program.world-1/gbuffers_entities_translucent.enabled = TRANSLUCENT_ENTITIES
|
|
|
|
program.world-1/gbuffers_block_translucent.enabled = TRANSLUCENT_ENTITIES
|
2024-05-17 07:56:32 +08:00
|
|
|
|
2024-05-05 09:36:06 +08:00
|
|
|
program.world1/gbuffers_entities_translucent.enabled = TRANSLUCENT_ENTITIES
|
|
|
|
program.world1/gbuffers_block_translucent.enabled = TRANSLUCENT_ENTITIES
|
|
|
|
|
|
|
|
|
2024-02-06 05:04:37 +08:00
|
|
|
#if defined DISTANT_HORIZONS && defined IS_IRIS
|
2024-02-07 09:04:11 +08:00
|
|
|
|
2024-02-06 05:04:37 +08:00
|
|
|
#if defined DISTANT_HORIZONS_SHADOWMAP
|
|
|
|
dhShadow.enabled = true
|
|
|
|
#else
|
|
|
|
dhShadow.enabled = false
|
|
|
|
#endif
|
|
|
|
|
2024-05-05 09:36:06 +08:00
|
|
|
program.world0/dh_terrain.enabled = true
|
|
|
|
program.world0/dh_water.enabled = true
|
2024-02-06 05:04:37 +08:00
|
|
|
|
|
|
|
blend.dh_terrain = off
|
|
|
|
blend.dh_water = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
|
|
|
#else
|
|
|
|
dhShadow.enabled = false
|
2024-05-05 09:36:06 +08:00
|
|
|
program.world0/dh_terrain.enabled = false
|
|
|
|
program.world0/dh_water.enabled = false
|
2024-02-06 05:04:37 +08:00
|
|
|
#endif
|
|
|
|
|
2024-03-02 11:48:09 +08:00
|
|
|
program.composite5.enabled = TAA_UPSCALING
|
2024-02-06 05:04:37 +08:00
|
|
|
|
|
|
|
# SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE ZERO
|
|
|
|
# SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
|
|
|
#Get the correct alpha value : S_A*(1-DST_A)+DST_A
|
2024-03-21 09:44:25 +08:00
|
|
|
|
|
|
|
# terrible blending for shadows on purpose
|
2023-06-20 11:32:39 +08:00
|
|
|
blend.gbuffers_water = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
2024-05-05 09:36:06 +08:00
|
|
|
blend.gbuffers_armor_glint = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
2023-10-26 07:17:23 +08:00
|
|
|
blend.gbuffers_hand_water = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
|
|
|
blend.gbuffers_textured = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
|
|
|
blend.gbuffers_textured_lit = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
|
|
|
blend.gbuffers_basic = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
2023-10-31 04:07:38 +08:00
|
|
|
blend.gbuffers_weather = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
2024-05-05 09:36:06 +08:00
|
|
|
blend.gbuffers_block_translucent = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
|
|
|
blend.gbuffers_beaconbeam = SRC_ALPHA ONE_MINUS_SRC_ALPHA ONE_MINUS_DST_ALPHA ONE
|
|
|
|
blend.gbuffers_entities_translucent = SRC_ALPHA ZERO ONE ZERO
|
|
|
|
blend.gbuffers_spidereyes = ONE ONE ONE ONE
|
2023-12-27 08:57:30 +08:00
|
|
|
blend.gbuffers_skytextured = ONE ONE ONE ZERO
|
2024-05-05 09:36:06 +08:00
|
|
|
blend.shadow = SRC_COLOR ZERO ONE ZERO
|
2023-04-17 07:43:56 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
# Disable blending
|
2024-02-06 05:04:37 +08:00
|
|
|
blend.gbuffers_terrain = off
|
2023-01-13 04:00:14 +08:00
|
|
|
blend.gbuffers_hand = off
|
2023-10-08 10:18:20 +08:00
|
|
|
blend.gbuffers_block = off
|
|
|
|
blend.gbuffers_entities = off
|
2024-05-05 09:36:06 +08:00
|
|
|
blend.gbuffers_damagedblock = off
|
|
|
|
|
|
|
|
# this is important for refraction and glass tint to work correctly
|
2023-05-10 04:16:41 +08:00
|
|
|
blend.gbuffers_water.colortex11 = off
|
2024-05-05 09:36:06 +08:00
|
|
|
blend.gbuffers_hand_water.colortex11 = off
|
|
|
|
blend.gbuffers_entities_translucent.colortex11 = off
|
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
blend.composite.colortex12 = off
|
2024-03-02 11:48:09 +08:00
|
|
|
blend.composite.colortex13 = off
|
2024-05-05 09:36:06 +08:00
|
|
|
blend.composite.colortex14 = off
|
2024-02-06 05:04:37 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
# Alpha test
|
2024-05-05 09:36:06 +08:00
|
|
|
alphaTest.gbuffers_terrain = GREATER 0.1
|
2024-03-13 05:16:30 +08:00
|
|
|
alphaTest.gbuffers_hand = GREATER 0.1
|
2024-05-05 09:36:06 +08:00
|
|
|
alphaTest.gbuffers_weather = false
|
|
|
|
alphaTest.gbuffers_water = false
|
|
|
|
alphaTest.gbuffers_skybasic = false
|
|
|
|
alphaTest.gbuffers_skytextured = false
|
2023-06-02 05:41:06 +08:00
|
|
|
|
2024-06-09 13:51:28 +08:00
|
|
|
sliders = DAY0_l0_coverage DAY0_l1_coverage DAY0_l2_coverage DAY0_ufog_density DAY0_l0_density DAY0_l1_density DAY0_l2_density DAY0_cfog_density DAY1_l0_coverage DAY1_l1_coverage DAY1_l2_coverage DAY1_ufog_density DAY1_l0_density DAY1_l1_density DAY1_l2_density DAY1_cfog_density DAY2_l0_coverage DAY2_l1_coverage DAY2_l2_coverage DAY2_ufog_density DAY2_l0_density DAY2_l1_density DAY2_l2_density DAY2_cfog_density DAY3_l0_coverage DAY3_l1_coverage DAY3_l2_coverage DAY3_ufog_density DAY3_l0_density DAY3_l1_density DAY3_l2_density DAY3_cfog_density DAY4_l0_coverage DAY4_l1_coverage DAY4_l2_coverage DAY4_ufog_density DAY4_l0_density DAY4_l1_density DAY4_l2_density DAY4_cfog_density DAY5_l0_coverage DAY5_l1_coverage DAY5_l2_coverage DAY5_ufog_density DAY5_l0_density DAY5_l1_density DAY5_l2_density DAY5_cfog_density DAY6_l0_coverage DAY6_l1_coverage DAY6_l2_coverage DAY6_ufog_density DAY6_l0_density DAY6_l1_density DAY6_l2_density DAY6_cfog_density DAY7_l0_coverage DAY7_l1_coverage DAY7_l2_coverage DAY7_ufog_density DAY7_l0_density DAY7_l1_density DAY7_l2_density DAY7_cfog_density DAY8_l0_coverage DAY8_l1_coverage DAY8_l2_coverage DAY8_ufog_density DAY8_l0_density DAY8_l1_density DAY8_l2_density DAY8_cfog_density DAY9_l0_coverage DAY9_l1_coverage DAY9_l2_coverage DAY9_ufog_density DAY9_l0_density DAY9_l1_density DAY9_l2_density DAY9_cfog_density sss_density_multiplier sss_absorbance_multiplier MOTION_AMOUNT TONEMAP WATER_WAVE_SPEED WATER_CAUSTICS_BRIGHTNESS DEBUG_VIEW entityShadowDistanceMul HANDHELD_LIGHT_RANGE CLOUD_SHADOW_STRENGTH CloudLayer0_coverage CloudLayer0_density CloudLayer0_height CloudLayer1_coverage CloudLayer1_density CloudLayer1_height CloudLayer2_coverage CloudLayer2_density CloudLayer2_height PLANET_GROUND_BRIGHTNESS FOG_START_HEIGHT WATER_WAVE_STRENGTH SWAMP_UNIFORM_DENSITY SWAMP_CLOUDY_DENSITY SWAMP_R SWAMP_G SWAMP_B JUNGLE_UNIFORM_DENSITY JUNGLE_CLOUDY_DENSITY JUNGLE_R JUNGLE_G JUNGLE_B DARKFOREST_UNIFORM_DENSITY DARKFOREST_CLOUDY_DENSITY DARKFOREST_R DARKFOREST_G DARKFOREST_B NETHER_PLUME_DENSITY END_STORM_DENSTIY LIT_PARTICLE_BRIGHTNESS UPPER_CURVE LOWER_CURVE CONTRAST EMISSIVE_TYPE SCALE_FACTOR ambientsss_brightness SSS_TYPE Cloud_Speed ORB_ColMult ORB_X ORB_Y ORB_Z ORB_R ORB_G ORB_B TOD_Fog_mult Morning_Uniform_Fog Noon_Uniform_Fog Evening_Uniform_Fog Night_Uniform_Fog Morning_Cloudy_Fog Noon_Cloudy_Fog Evening_Cloudy_Fog Night_Cloudy_Fog Summer_Leaf_R Summer_Leaf_G Summer_Leaf_B Fall_Leaf_R Fall_Leaf_G Fall_Leaf_B Winter_Leaf_R Winter_Leaf_G Winter_Leaf_B Spring_Leaf_R Spring_Leaf_G Spring_Leaf_B Summer_R Summer_G Summer_B Fall_R Fall_G Fall_B Winter_R Winter_G Winter_B Spring_R Spring_G Spring_B Season_Length CaveFogFallOff CaveFogColor_R CaveFogColor_G CaveFogColor_B indirect_effect GI_Strength ambient_brightness AmbientLight_R AmbientLight_G AmbientLight_B Rain_coverage Moon_temp Haze_amount RainFog_amount Sun_temp Puddle_Size LabSSS_Curve Emissive_Curve Emissive_Brightness AO_Strength BLOOMY_FOG WAVY_SPEED WAVY_STRENGTH BLOOM_STRENGTH shadowDistance Sky_Brightness fog_coefficientMieR fog_coefficientMieG fog_coefficientMieB sun_illuminance sunColorG sunColorB sunColorR sky_mieg sky_coefficientMieB sky_coefficientMieG sky_coefficientMieR sky_coefficientRayleighB sky_coefficientRayleighG sky_coefficientRayleighR CLOUDS_QUALITY EXPOSURE_MULTIPLIER MIN_LIGHT_AMOUNT TORCH_R TORCH_G TORCH_B TORCH_AMOUNT shadowMapResolution sunPathRotation BLEND_FACTOR VL_SAMPLES Exposure_Speed POM_DEPTH MAX_ITERATIONS MAX_DIST SSR_STEPS ambientOcclusionLevel SEA_LEVEL moon_illuminance moonColorR moonColorG moonColorB fog_coefficientRayleighR fog_coefficientRayleighG SATURATION Manual_exposure_value focal aperture MANUAL_FOCUS SHADOW_FILTER_SAMPLE_COUNT Max_Filter_Depth VPS_Search_Samples Min_Shadow_Filter_Radius Max_Shadow_Filter_Radius Water_Top_Layer fog_coefficientRayleighB SHARPENING rayMarchSampleCount Dirt_Amount Dirt_Scatter_R Dirt_Scatter_G Dirt_Scatter_B Dirt_Absorb_R Dirt_Absorb_G Dirt_Absorb_B Water_Absorb_R Water_Absorb_G Water_Absorb_B Purkinje_strength Purkinje_strength Purkinje_R Purkinje_G Purkinje_B T
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-04-17 04:18:26 +08:00
|
|
|
screen.columns=2
|
2023-08-07 04:14:32 +08:00
|
|
|
screen = \
|
2024-01-01 13:05:14 +08:00
|
|
|
BLISS_SHADERS <empty> \
|
2023-10-08 22:49:02 +08:00
|
|
|
<empty> <empty> \
|
2023-08-07 04:14:32 +08:00
|
|
|
[Direct_Light] [World] \
|
|
|
|
[Ambient_light] [Fog] \
|
|
|
|
[Post_Processing] [Clouds] \
|
2024-03-13 05:16:30 +08:00
|
|
|
[LabPBR] [Climate] \
|
|
|
|
<empty> <empty> \
|
2024-03-20 05:08:32 +08:00
|
|
|
[Misc_Settings] [DISTANT_HORIZONS_SETTINGS] \
|
|
|
|
|
2023-01-13 04:00:14 +08:00
|
|
|
######## LIGHTING
|
|
|
|
### DIRECT LIGHT
|
|
|
|
screen.Direct_Light.columns=1
|
2024-05-05 09:36:06 +08:00
|
|
|
screen.Direct_Light = [Shadows] [Subsurface_Scattering] [Sun_and_Moon_Colors] OLD_LIGHTLEAK_FIX sunPathRotation sun_illuminance MOONPHASE_BASED_MOONLIGHT moon_illuminance
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
screen.Shadows.columns=1
|
2024-05-10 07:14:41 +08:00
|
|
|
screen.Shadows = TRANSLUCENT_COLORED_SHADOWS SCREENSPACE_CONTACT_SHADOWS RENDER_ENTITY_SHADOWS RENDER_PLAYER_SHADOWS entityShadowDistanceMul <empty> [Filtering] shadowMapResolution shadowDistance OPTIMIZED_SHADOW_DISTANCE
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
screen.Subsurface_Scattering.columns=1
|
2024-05-05 09:36:06 +08:00
|
|
|
screen.Subsurface_Scattering = SSS_TYPE sss_density_multiplier sss_absorbance_multiplier LabSSS_Curve <empty> MISC_BLOCK_SSS MOB_SSS <empty> Ambient_SSS ambientsss_brightness
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
screen.Filtering.columns=1
|
2023-07-09 09:16:51 +08:00
|
|
|
screen.Filtering = BASIC_SHADOW_FILTER SHADOW_FILTER_SAMPLE_COUNT Min_Shadow_Filter_Radius <empty> Variable_Penumbra_Shadows VPS_Search_Samples Max_Shadow_Filter_Radius Max_Filter_Depth
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-10-21 08:26:41 +08:00
|
|
|
screen.Sun_and_Moon_Colors.columns = 1
|
|
|
|
screen.Sun_and_Moon_Colors = sunColorR sunColorG sunColorB moonColorR moonColorG moonColorB colortype Sun_temp Moon_temp
|
|
|
|
|
2023-01-13 04:00:14 +08:00
|
|
|
### AMBIENT LIGHT
|
|
|
|
screen.Ambient_light.columns=1
|
2024-05-05 09:36:06 +08:00
|
|
|
screen.Ambient_light = [LPV] [Torch_Colors] [Ambient_Colors] \
|
2024-01-12 03:43:16 +08:00
|
|
|
MIN_LIGHT_AMOUNT indirect_effect \
|
|
|
|
<empty> <empty> \
|
|
|
|
AO_Strength GI_Strength \
|
|
|
|
ambientOcclusionLevel HQ_SSGI \
|
|
|
|
Hand_Held_lights SKY_CONTRIBUTION_IN_SSRT \
|
2024-03-13 05:16:30 +08:00
|
|
|
HANDHELD_LIGHT_RANGE UseQuarterResDepth
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-06-02 05:41:06 +08:00
|
|
|
screen.Torch_Colors.columns=1
|
2023-06-23 09:00:42 +08:00
|
|
|
screen.Torch_Colors = TORCH_AMOUNT Emissive_Brightness Emissive_Curve <empty> TORCH_R TORCH_G TORCH_B
|
2023-06-02 05:41:06 +08:00
|
|
|
|
|
|
|
screen.Ambient_Colors.columns=1
|
2023-10-08 10:18:20 +08:00
|
|
|
screen.Ambient_Colors = ambient_brightness MIN_LIGHT_AMOUNT <empty> AmbientLight_R AmbientLight_G AmbientLight_B
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-10-21 08:26:41 +08:00
|
|
|
### LABPBR
|
|
|
|
screen.LabPBR.columns = 1
|
|
|
|
screen.LabPBR = [Reflections] [Subsurface_Scattering] [Emissives] [POM] [Porosity] MATERIAL_AO
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-10-21 08:26:41 +08:00
|
|
|
screen.Emissives.columns = 1
|
|
|
|
screen.Emissives = EMISSIVE_TYPE Emissive_Brightness Emissive_Curve
|
|
|
|
|
|
|
|
screen.Porosity.columns = 1
|
|
|
|
screen.Porosity = Porosity <empty> Puddles Puddle_Size
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2024-05-04 02:53:31 +08:00
|
|
|
### FloodFill
|
|
|
|
screen.LPV.columns = 1
|
2024-06-09 13:51:28 +08:00
|
|
|
screen.LPV = LPV_ENABLED LPV_SIZE LPV_SATURATION LPV_NORMAL_STRENGTH LPV_ENTITY_LIGHTS LPV_REDSTONE_LIGHTS LPV_COLORED_CANDLES
|
2023-01-13 04:00:14 +08:00
|
|
|
######## WORLD
|
|
|
|
screen.World.columns=1
|
2024-01-11 08:47:27 +08:00
|
|
|
screen.World = [Water] [Waving_Stuff] [LabPBR] SKY_GROUND RESOURCEPACK_SKY <empty> AEROCHROME_MODE AEROCHROME_PINKNESS AEROCHROME_WOOL_ENABLED
|
2023-01-13 04:00:14 +08:00
|
|
|
### SPECULARS
|
|
|
|
screen.Reflections.columns=2
|
2023-06-25 06:30:46 +08:00
|
|
|
screen.Reflections = Specular_Reflections Sun_specular_Strength Screen_Space_Reflections reflection_quality Rough_reflections Roughness_Threshold Sky_reflection Dynamic_SSR_quality
|
2023-01-13 04:00:14 +08:00
|
|
|
### WAVING STUFF
|
|
|
|
screen.Waving_Stuff.columns=1
|
2023-06-27 08:18:17 +08:00
|
|
|
screen.Waving_Stuff = WAVY_PLANTS WAVY_STRENGTH WAVY_SPEED
|
2023-01-13 04:00:14 +08:00
|
|
|
## POM
|
|
|
|
screen.POM.columns=1
|
2023-10-08 10:18:20 +08:00
|
|
|
screen.POM = HEIGTHMAP_DEPTH_OFFSET POM Adaptive_Step_length MAX_ITERATIONS POM_DEPTH MAX_DIST Horrible_slope_normals
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######## CLIMATE
|
|
|
|
screen.Climate.columns=1
|
2024-02-11 07:10:46 +08:00
|
|
|
screen.Climate = [Seasons] <empty> PER_BIOME_ENVIRONMENT [SWAMP] [JUNGLE] [DARKFOREST]
|
2023-04-17 04:18:26 +08:00
|
|
|
|
|
|
|
## BIOME SPECIFICS
|
2023-10-08 10:18:20 +08:00
|
|
|
screen.SWAMP.columns=1
|
|
|
|
screen.SWAMP = SWAMP_ENV SWAMP_UNIFORM_DENSITY SWAMP_CLOUDY_DENSITY <empty> SWAMP_R SWAMP_G SWAMP_B
|
|
|
|
|
|
|
|
screen.JUNGLE.columns=1
|
|
|
|
screen.JUNGLE = JUNGLE_ENV JUNGLE_UNIFORM_DENSITY JUNGLE_CLOUDY_DENSITY <empty> JUNGLE_R JUNGLE_G JUNGLE_B
|
|
|
|
|
|
|
|
screen.DARKFOREST.columns=1
|
|
|
|
screen.DARKFOREST = DARKFOREST_ENV DARKFOREST_UNIFORM_DENSITY DARKFOREST_CLOUDY_DENSITY <empty> DARKFOREST_R DARKFOREST_G DARKFOREST_B
|
2023-04-17 04:18:26 +08:00
|
|
|
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
## SEASONS
|
|
|
|
screen.Seasons.columns=1
|
2023-07-08 23:29:46 +08:00
|
|
|
screen.Seasons = Seasons Season_Length Start_Season Snowy_Winter <empty> [Summer_colors] [Fall_colors] [Winter_colors] [Spring_colors]
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
screen.Summer_colors.columns=1
|
2023-06-23 09:00:42 +08:00
|
|
|
screen.Summer_colors = Summer_R Summer_G Summer_B <empty> Summer_Leaf_R Summer_Leaf_G Summer_Leaf_B
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
screen.Fall_colors.columns=1
|
2023-06-23 09:00:42 +08:00
|
|
|
screen.Fall_colors = Fall_R Fall_G Fall_B <empty> Fall_Leaf_R Fall_Leaf_G Fall_Leaf_B
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
screen.Winter_colors.columns=1
|
2023-06-23 09:00:42 +08:00
|
|
|
screen.Winter_colors = Winter_R Winter_G Winter_B <empty> Winter_Leaf_R Winter_Leaf_G Winter_Leaf_B
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
screen.Spring_colors.columns=1
|
2023-06-23 09:00:42 +08:00
|
|
|
screen.Spring_colors = Spring_R Spring_G Spring_B <empty> Spring_Leaf_R Spring_Leaf_G Spring_Leaf_B
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
|
|
|
|
######## ATMOSPHERICS
|
|
|
|
|
2024-05-23 05:06:21 +08:00
|
|
|
screen.Sky_coefficients.columns=1
|
|
|
|
screen.Sky_coefficients = Sky_Brightness sky_coefficientRayleighR sky_coefficientRayleighG sky_coefficientRayleighB sky_coefficientMieR sky_coefficientMieG sky_coefficientMieB
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
### CLOUDS
|
2024-01-02 06:56:59 +08:00
|
|
|
screen.Clouds.columns = 3
|
2024-02-11 07:10:46 +08:00
|
|
|
screen.Clouds = VOLUMETRIC_CLOUDS CLOUDS_SHADOWS Cloud_Speed \
|
2024-01-02 07:30:43 +08:00
|
|
|
CLOUDS_QUALITY CLOUD_SHADOW_STRENGTH Rain_coverage \
|
2024-05-22 12:01:17 +08:00
|
|
|
<empty> [DAILY_WEATHER] <empty> \
|
2024-01-02 06:56:59 +08:00
|
|
|
CloudLayer0 CloudLayer1 CloudLayer2 \
|
|
|
|
CloudLayer0_coverage CloudLayer1_coverage CloudLayer2_coverage \
|
|
|
|
CloudLayer0_density CloudLayer1_density CloudLayer2_density \
|
2024-03-13 05:16:30 +08:00
|
|
|
CloudLayer0_height CloudLayer1_height CloudLayer2_height \
|
2024-01-02 06:56:59 +08:00
|
|
|
|
2023-01-13 04:00:14 +08:00
|
|
|
### FOG
|
2023-06-27 08:18:17 +08:00
|
|
|
screen.Fog.columns=2
|
2023-12-28 10:04:17 +08:00
|
|
|
screen.Fog = VL_RENDER_RESOLUTION VL_SAMPLES \
|
|
|
|
FOG_START_HEIGHT BLOOMY_FOG \
|
|
|
|
<empty> <empty> \
|
|
|
|
Haze_amount RainFog_amount \
|
|
|
|
[TOD_fog] [Cave_Fog] \
|
|
|
|
[END_AND_NETHER_FOG] <empty> \
|
|
|
|
<empty> <empty> \
|
|
|
|
BorderFog PER_BIOME_ENVIRONMENT \
|
|
|
|
RAYMARCH_CLOUDS_WITH_FOG
|
|
|
|
|
2023-04-17 04:18:26 +08:00
|
|
|
screen.TOD_fog.columns=2
|
2023-06-23 09:00:42 +08:00
|
|
|
screen.TOD_fog = TOD_Fog_mult <empty> Morning_Uniform_Fog Morning_Cloudy_Fog Noon_Uniform_Fog Noon_Cloudy_Fog Evening_Uniform_Fog Evening_Cloudy_Fog Night_Uniform_Fog Night_Cloudy_Fog
|
2023-04-17 04:18:26 +08:00
|
|
|
|
|
|
|
screen.Cave_Fog.columns=1
|
2023-12-28 10:04:17 +08:00
|
|
|
screen.Cave_Fog = CAVE_FOG CaveFogFallOff CaveFogColor_R CaveFogColor_G CaveFogColor_B
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
screen.Fog_Color.columns=1
|
2023-07-03 07:10:48 +08:00
|
|
|
screen.Fog_Color = fog_coefficientRayleighR fog_coefficientRayleighG fog_coefficientRayleighB fog_coefficientMieR fog_coefficientMieG fog_coefficientMieB
|
2023-08-07 04:14:32 +08:00
|
|
|
|
2023-12-28 10:04:17 +08:00
|
|
|
screen.END_AND_NETHER_FOG.columns=1
|
2024-01-01 13:05:14 +08:00
|
|
|
screen.END_AND_NETHER_FOG = END_STORM_DENSTIY NETHER_PLUME_DENSITY
|
2023-04-17 04:18:26 +08:00
|
|
|
|
2023-01-13 04:00:14 +08:00
|
|
|
### WATER
|
2023-06-27 08:18:17 +08:00
|
|
|
screen.Water.columns=2
|
2024-01-12 03:43:16 +08:00
|
|
|
screen.Water = WATER_REFLECTIONS Refraction \
|
|
|
|
WATER_SUN_SPECULAR Vanilla_like_water \
|
|
|
|
SCREENSPACE_REFLECTIONS SSR_STEPS \
|
|
|
|
WATER_BACKGROUND_SPECULAR Dirt_Amount \
|
|
|
|
[Water_fog_color] Water_Top_Layer \
|
2024-03-03 07:03:05 +08:00
|
|
|
SNELLS_WINDOW WATER_WAVE_STRENGTH WATER_WAVE_SPEED
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
screen.Water_fog_color.columns=1
|
|
|
|
screen.Water_fog_color = Dirt_Scatter_R Dirt_Scatter_G Dirt_Scatter_B Dirt_Absorb_R Dirt_Absorb_G Dirt_Absorb_B Water_Absorb_R Water_Absorb_G Water_Absorb_B
|
|
|
|
|
|
|
|
######## POST
|
2023-06-27 08:18:17 +08:00
|
|
|
screen.Post_Processing.columns=2
|
2024-05-22 12:01:17 +08:00
|
|
|
screen.Post_Processing = [TAA_OPTIONS] [Tonemapping] [Exposure] [DepthOfField] [Purkinje_effect] [COLOR_GRADING] [GAMEPLAY_EFFECTS] <empty> SHARPENING BLOOM_STRENGTH CAMERA_GRIDLINES
|
2023-01-13 04:00:14 +08:00
|
|
|
### TAA
|
|
|
|
screen.TAA_OPTIONS.columns = 1
|
2023-06-27 08:18:17 +08:00
|
|
|
screen.TAA_OPTIONS= SCREENSHOT_MODE <empty> TAA BLEND_FACTOR <empty> TAA_UPSCALING SCALE_FACTOR
|
2023-01-13 04:00:14 +08:00
|
|
|
### DOF
|
|
|
|
screen.DepthOfField.columns = 1
|
2024-03-14 07:38:04 +08:00
|
|
|
screen.DepthOfField = DOF_QUALITY DOF_ANAMORPHIC_RATIO AUTOFOCUS focal aperture MANUAL_FOCUS DoF_Adaptation_Speed FAR_BLUR_ONLY [JITTER_DOF]
|
2023-07-08 05:58:36 +08:00
|
|
|
screen.JITTER_DOF.columns=1
|
2023-07-09 19:10:35 +08:00
|
|
|
screen.JITTER_DOF = JITTER_STRENGTH FOCUS_LASER_COLOR SCREENSHOT_MODE
|
2023-01-13 04:00:14 +08:00
|
|
|
### EXPOSURE
|
|
|
|
screen.Exposure.columns = 1
|
|
|
|
screen.Exposure = AUTO_EXPOSURE EXPOSURE_MULTIPLIER Exposure_Speed Manual_exposure_value
|
|
|
|
### TONEMAPS
|
|
|
|
screen.Tonemapping.columns = 1
|
2024-03-20 05:48:29 +08:00
|
|
|
screen.Tonemapping = TONEMAP USE_ACES_COLORSPACE_APPROXIMATION SATURATION CROSSTALK CONTRAST
|
2023-01-13 04:00:14 +08:00
|
|
|
### PURKINJE
|
|
|
|
screen.Purkinje_effect.columns = 1
|
2023-07-03 07:22:18 +08:00
|
|
|
screen.Purkinje_effect = Purkinje_strength Purkinje_R Purkinje_G Purkinje_B Purkinje_Multiplier
|
2024-03-20 05:08:32 +08:00
|
|
|
### COLOR GRADING
|
|
|
|
screen.COLOR_GRADING.columns = 3
|
2024-03-20 05:48:29 +08:00
|
|
|
screen.COLOR_GRADING = \
|
|
|
|
TONE_CURVE LOWER_CURVE UPPER_CURVE \
|
|
|
|
<empty> <empty> <empty> \
|
|
|
|
COLOR_GRADING_ENABLED <empty> <empty> \
|
|
|
|
SHADOWS_GRADE_R MIDS_GRADE_R HIGHLIGHTS_GRADE_R \
|
|
|
|
SHADOWS_GRADE_G MIDS_GRADE_G HIGHLIGHTS_GRADE_G \
|
|
|
|
SHADOWS_GRADE_B MIDS_GRADE_B HIGHLIGHTS_GRADE_B \
|
|
|
|
SHADOWS_GRADE_MUL MIDS_GRADE_MUL HIGHLIGHTS_GRADE_MUL
|
2024-05-22 12:01:17 +08:00
|
|
|
|
2024-03-28 04:11:28 +08:00
|
|
|
### COOL GAMEPLAY EFFECTS
|
2024-05-19 10:58:30 +08:00
|
|
|
screen.GAMEPLAY_EFFECTS = MOTION_AMOUNT DAMAGE_TAKEN_EFFECT LOW_HEALTH_EFFECT WATER_ON_CAMERA_EFFECT
|
2024-03-28 04:11:28 +08:00
|
|
|
|
2023-07-07 12:08:46 +08:00
|
|
|
|
|
|
|
|
2023-07-03 07:22:18 +08:00
|
|
|
|
2023-01-13 04:00:14 +08:00
|
|
|
######## MISC SETTINGS
|
2024-05-17 07:56:32 +08:00
|
|
|
screen.Misc_Settings = DEBUG_VIEW [the_orb] display_LUT WhiteWorld SSS_view ambientLight_only LIGHTNING_FLASH LIT_PARTICLE_BRIGHTNESS PLANET_GROUND_BRIGHTNESS BLOOMY_PARTICLES ORIGINAL_CHOCAPIC_SKY BIOME_TINT_WATER CLOUDS_INTERSECT_TERRAIN SELECT_BOX WATER_CAUSTICS_BRIGHTNESS HYPER_DETAILED_WAVES OLD_BLOOM DISABLE_ENCHANT_GLINT DISABLE_VANILLA_EMISSIVES PARTICLE_RENDERING_FIX
|
2023-04-17 04:18:26 +08:00
|
|
|
|
2023-10-21 08:26:41 +08:00
|
|
|
screen.the_orb.columns = 1
|
|
|
|
screen.the_orb = THE_ORB ORB_X ORB_Y ORB_Z ORB_ColMult ORB_R ORB_G ORB_B
|
|
|
|
|
2024-02-11 07:10:46 +08:00
|
|
|
screen.DISTANT_HORIZONS_SETTINGS.columns = 1
|
2024-02-13 06:54:00 +08:00
|
|
|
screen.DISTANT_HORIZONS_SETTINGS = DH_KNOWN_ISSUES <EMPTY> DISTANT_HORIZONS_SHADOWMAP shadowDistance shadowMapResolution <empty> DH_OVERDRAW_PREVENTION TOGGLE_VL_FOG VOLUMETRIC_CLOUDS
|
2023-06-23 12:45:23 +08:00
|
|
|
|
2024-02-11 07:10:46 +08:00
|
|
|
screen.DAILY_WEATHER.columns = 2
|
2024-05-22 12:01:17 +08:00
|
|
|
screen.DAILY_WEATHER = Daily_Weather CHOOSE_RANDOM_WEATHER_PROFILE \
|
2024-02-11 07:10:46 +08:00
|
|
|
[DAY0_WEATHER] [DAY5_WEATHER] \
|
|
|
|
[DAY1_WEATHER] [DAY6_WEATHER] \
|
|
|
|
[DAY2_WEATHER] [DAY7_WEATHER] \
|
|
|
|
[DAY3_WEATHER] [DAY8_WEATHER] \
|
|
|
|
[DAY4_WEATHER] [DAY9_WEATHER]
|
|
|
|
|
|
|
|
screen.DAY0_WEATHER.columns = 2
|
|
|
|
screen.DAY0_WEATHER = DAY0_l0_coverage DAY0_l0_density DAY0_l1_coverage DAY0_l1_density DAY0_l2_coverage DAY0_l2_density DAY0_ufog_density DAY0_cfog_density
|
|
|
|
screen.DAY1_WEATHER.columns = 2
|
|
|
|
screen.DAY1_WEATHER = DAY1_l0_coverage DAY1_l0_density DAY1_l1_coverage DAY1_l1_density DAY1_l2_coverage DAY1_l2_density DAY1_ufog_density DAY1_cfog_density
|
|
|
|
screen.DAY2_WEATHER.columns = 2
|
|
|
|
screen.DAY2_WEATHER = DAY2_l0_coverage DAY2_l0_density DAY2_l1_coverage DAY2_l1_density DAY2_l2_coverage DAY2_l2_density DAY2_ufog_density DAY2_cfog_density
|
|
|
|
screen.DAY3_WEATHER.columns = 2
|
|
|
|
screen.DAY3_WEATHER = DAY3_l0_coverage DAY3_l0_density DAY3_l1_coverage DAY3_l1_density DAY3_l2_coverage DAY3_l2_density DAY3_ufog_density DAY3_cfog_density
|
|
|
|
screen.DAY4_WEATHER.columns = 2
|
|
|
|
screen.DAY4_WEATHER = DAY4_l0_coverage DAY4_l0_density DAY4_l1_coverage DAY4_l1_density DAY4_l2_coverage DAY4_l2_density DAY4_ufog_density DAY4_cfog_density
|
|
|
|
screen.DAY5_WEATHER.columns = 2
|
|
|
|
screen.DAY5_WEATHER = DAY5_l0_coverage DAY5_l0_density DAY5_l1_coverage DAY5_l1_density DAY5_l2_coverage DAY5_l2_density DAY5_ufog_density DAY5_cfog_density
|
|
|
|
screen.DAY6_WEATHER.columns = 2
|
|
|
|
screen.DAY6_WEATHER = DAY6_l0_coverage DAY6_l0_density DAY6_l1_coverage DAY6_l1_density DAY6_l2_coverage DAY6_l2_density DAY6_ufog_density DAY6_cfog_density
|
|
|
|
screen.DAY7_WEATHER.columns = 2
|
|
|
|
screen.DAY7_WEATHER = DAY7_l0_coverage DAY7_l0_density DAY7_l1_coverage DAY7_l1_density DAY7_l2_coverage DAY7_l2_density DAY7_ufog_density DAY7_cfog_density
|
|
|
|
screen.DAY8_WEATHER.columns = 2
|
|
|
|
screen.DAY8_WEATHER = DAY8_l0_coverage DAY8_l0_density DAY8_l1_coverage DAY8_l1_density DAY8_l2_coverage DAY8_l2_density DAY8_ufog_density DAY8_cfog_density
|
|
|
|
screen.DAY9_WEATHER.columns = 2
|
|
|
|
screen.DAY9_WEATHER = DAY9_l0_coverage DAY9_l0_density DAY9_l1_coverage DAY9_l1_density DAY9_l2_coverage DAY9_l2_density DAY9_ufog_density DAY9_cfog_density
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2024-02-11 07:10:46 +08:00
|
|
|
#####################################
|
|
|
|
####### WEATHER RELATED STUFF #######
|
|
|
|
#####################################
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
# thank you sixthsurge!
|
|
|
|
#ifdef LIGHTNING_FLASH
|
|
|
|
#ifdef IS_IRIS
|
|
|
|
variable.float.lightningFlash = smooth(if(lightningBoltPosition.w > 0.0, 1.0, 0.0), 0.0, 0.0)
|
|
|
|
#else
|
|
|
|
variable.float.lightningFlash = smooth(if(equals(skyColor.r, skyColor.g, 0.01) && skyColor.r > 0.3, 1.0, 0.0), 0.0, 0.0)
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
variable.float.lightningFlash = 0.0
|
|
|
|
#endif
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
uniform.vec3.lightningEffect = vec3(77.0 * lightningFlash, 153.0 * lightningFlash, 255.0 * lightningFlash)
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
###################################
|
|
|
|
####### BIOME RELATED STUFF #######
|
|
|
|
###################################
|
2023-06-29 07:03:54 +08:00
|
|
|
|
2023-10-21 08:26:41 +08:00
|
|
|
# in seconds
|
2023-10-26 07:17:23 +08:00
|
|
|
variable.int.BiomeTransitionTime = 60
|
2023-06-29 06:59:21 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
#ifdef SWAMP_ENV
|
|
|
|
uniform.float.isSwamps = smooth(if(in(biome, 6, 52, 7), 1,0), BiomeTransitionTime, BiomeTransitionTime)
|
|
|
|
#else
|
|
|
|
uniform.float.isSwamps = 0.0
|
|
|
|
#endif
|
2023-06-29 06:59:21 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
#ifdef JUNGLE_ENV
|
|
|
|
uniform.float.isJungles = smooth(if(in(biome, 23, 24, 25), 1,0), BiomeTransitionTime, BiomeTransitionTime)
|
|
|
|
#else
|
|
|
|
uniform.float.isJungles = 0.0
|
|
|
|
#endif
|
2023-04-17 04:18:26 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
#ifdef DARKFOREST_ENV
|
|
|
|
uniform.float.isDarkForests = smooth(if(in(biome, 11), 1,0), BiomeTransitionTime, BiomeTransitionTime)
|
|
|
|
#else
|
|
|
|
uniform.float.isDarkForests = 0.0
|
|
|
|
#endif
|
2023-04-17 04:18:26 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
#ifdef MANGROVE_ENV
|
|
|
|
uniform.float.isMangroveSwamp = smooth(if(in(biome, 7), 1,0), BiomeTransitionTime, BiomeTransitionTime)
|
|
|
|
#else
|
|
|
|
uniform.float.isMangroveSwamp = 0.0
|
|
|
|
#endif
|
2023-04-17 04:18:26 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
# set to only happen in dry deserts.
|
|
|
|
uniform.float.sandStorm = smooth(if(in(biome, 5, 26, 27, 28), rainStrength, 0), 15,30)
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
# set to only happen in cold mountains.
|
|
|
|
uniform.float.snowStorm = smooth(if(in(biome, 31, 32, 33, 34), rainStrength, 0), 15,30)
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-10-21 08:26:41 +08:00
|
|
|
uniform.float.noPuddleAreas = smooth(if(in(biome, 3, 4, 16, 37, 39, 48, 49, 31, 32, 33, 34, 5, 17, 18, 26, 27, 28), 0,1), 15,15)
|
2023-07-18 03:17:54 +08:00
|
|
|
|
2023-01-13 04:00:14 +08:00
|
|
|
|
2023-07-18 03:17:54 +08:00
|
|
|
|
2023-10-08 10:18:20 +08:00
|
|
|
############################
|
|
|
|
####### RANDOM STUFF #######
|
|
|
|
############################
|
|
|
|
|
2024-05-19 10:58:30 +08:00
|
|
|
#if defined WATER_ON_CAMERA_EFFECT
|
|
|
|
uniform.float.exitWater = smooth(if(isEyeInWater == 1,1,0),0.0,5.0)
|
|
|
|
#endif
|
2024-05-22 12:01:17 +08:00
|
|
|
# uniform.float.exitPowderSnow = smooth(if(isEyeInWater == 3,1,0),0.0,5.0)
|
2024-05-19 10:58:30 +08:00
|
|
|
|
2024-03-28 04:11:28 +08:00
|
|
|
#if defined LOW_HEALTH_EFFECT || defined DAMAGE_TAKEN_EFFECT
|
|
|
|
#ifdef IS_IRIS
|
|
|
|
variable.float.Currenthealth = currentPlayerHealth * maxPlayerHealth
|
|
|
|
uniform.float.oneHeart = smooth(if(Currenthealth <= 2.0 && currentPlayerHealth > -1.0, 1,0), 0.0,1.0)
|
|
|
|
uniform.float.threeHeart = smooth(if(Currenthealth <= 6.0 && currentPlayerHealth > -1.0, 1,0), 0.0,1.0)
|
2024-05-19 10:58:30 +08:00
|
|
|
|
2024-05-22 12:01:17 +08:00
|
|
|
variable.float.interpolatedHealth = smooth(if(is_hurt, 0.0, Currenthealth), 0.0, 1.0)
|
|
|
|
|
|
|
|
# detect over 5 hearts of damage taken
|
|
|
|
variable.bool.largeHealthDifference = (interpolatedHealth - Currenthealth) >= 10.0
|
|
|
|
variable.bool.delayedCritDamage = smooth(if(largeHealthDifference, 1.0, 0.0), 0.0, 1.0) > 0.01
|
|
|
|
|
|
|
|
uniform.float.CriticalDamageTaken = smooth(if(delayedCritDamage && currentPlayerHealth > -1.0, 1.0, 0.0), 0.5, 3.0)
|
2024-05-19 10:58:30 +08:00
|
|
|
|
|
|
|
# detect over 2 hearts of damage taken
|
2024-05-22 12:01:17 +08:00
|
|
|
variable.bool.smallHealthDifference = (interpolatedHealth - Currenthealth) >= 4.0
|
|
|
|
uniform.float.MinorDamageTaken = smooth(if(smallHealthDifference && currentPlayerHealth > -1.0, 1.0, 0.0), 0.5, 1.0)
|
2024-05-19 10:58:30 +08:00
|
|
|
|
2024-03-28 04:11:28 +08:00
|
|
|
#else
|
|
|
|
uniform.bool.isDead = !is_alive
|
2024-03-13 05:16:30 +08:00
|
|
|
#endif
|
2023-10-08 10:18:20 +08:00
|
|
|
#endif
|
|
|
|
|
2024-05-23 05:06:21 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-21 08:26:41 +08:00
|
|
|
# photon stuff
|
|
|
|
uniform.vec2.view_res = vec2(viewWidth, viewHeight)
|
|
|
|
uniform.vec2.view_pixel_size = vec2(1.0 / viewWidth, 1.0 / viewHeight)
|
2023-10-08 10:18:20 +08:00
|
|
|
|
|
|
|
texture.noise = texture/noises.png
|
|
|
|
texture.composite.colortex6 = texture/blueNoise.png
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
variable.float.texelSizeX = 1.0/viewWidth
|
|
|
|
variable.float.texelSizeY = 1.0/viewHeight
|
2024-05-10 06:24:29 +08:00
|
|
|
uniform.vec2.texelSize = vec2(texelSizeX,texelSizeY)
|
2023-01-13 04:00:14 +08:00
|
|
|
|
|
|
|
uniform.int.framemod8 = frameCounter%8
|
|
|
|
|
|
|
|
variable.float.normSunVec = sqrt(sunPosition.x*sunPosition.x+sunPosition.y*sunPosition.y+sunPosition.z*sunPosition.z)
|
|
|
|
variable.float.normUpVec = sqrt(upPosition.x*upPosition.x+upPosition.y*upPosition.y+upPosition.z*upPosition.z)
|
|
|
|
|
|
|
|
variable.float.sunPosX = sunPosition.x/normSunVec
|
|
|
|
variable.float.sunPosY = sunPosition.y/normSunVec
|
|
|
|
variable.float.sunPosZ = sunPosition.z/normSunVec
|
|
|
|
|
|
|
|
uniform.vec3.sunVec=vec3(sunPosX,sunPosY,sunPosZ)
|
|
|
|
|
|
|
|
variable.float.upPosX = upPosition.x/normUpVec
|
|
|
|
variable.float.upPosY = upPosition.y/normUpVec
|
|
|
|
variable.float.upPosZ = upPosition.z/normUpVec
|
|
|
|
|
|
|
|
uniform.vec3.upVec=vec3(upPosX,upPosY,upPosZ)
|
|
|
|
uniform.float.sunElevation = sunPosX*upPosX+sunPosY*upPosY+sunPosZ*upPosZ
|
|
|
|
uniform.float.lightSign = clamp(sunElevation * 1000000000000000000, 0.0, 1.0) * 2.0 - 1.0
|
|
|
|
|
|
|
|
#Max angle at frustrum diagonal
|
|
|
|
variable.float.maxAngle = atan(1.0 / gbufferProjection.1.1 * sqrt(1.0+(aspectRatio * aspectRatio)))
|
|
|
|
uniform.float.cosFov = cos(maxAngle)
|
|
|
|
variable.float.viewDirX = gbufferModelViewInverse.2.0
|
|
|
|
variable.float.viewDirY = gbufferModelViewInverse.2.1
|
|
|
|
variable.float.viewDirZ = gbufferModelViewInverse.2.2
|
|
|
|
variable.float.normView = sqrt(viewDirX*viewDirX + viewDirY*viewDirY + viewDirZ*viewDirZ)
|
|
|
|
variable.float.shViewDirX = (shadowModelView.0.0 * viewDirX + shadowModelView.1.0 * viewDirY + shadowModelView.2.0 * viewDirZ)/normView
|
|
|
|
variable.float.shViewDirY = (shadowModelView.0.1 * viewDirX + shadowModelView.1.1 * viewDirY + shadowModelView.2.1 * viewDirZ)/normView
|
|
|
|
variable.float.shViewDirZ = (shadowModelView.0.2 * viewDirX + shadowModelView.1.2 * viewDirY + shadowModelView.2.2 * viewDirZ)/normView
|
|
|
|
|
|
|
|
uniform.vec3.shadowViewDir = vec3(shViewDirX, shViewDirY, shViewDirZ)
|
|
|
|
|
|
|
|
variable.float.shStartX = (shadowModelView.0.0 * gbufferModelViewInverse.3.0 + shadowModelView.1.0 * gbufferModelViewInverse.3.1 + shadowModelView.2.0 * gbufferModelViewInverse.3.2)
|
|
|
|
variable.float.shStartY = (shadowModelView.0.1 * gbufferModelViewInverse.3.0 + shadowModelView.1.1 * gbufferModelViewInverse.3.1 + shadowModelView.2.1 * gbufferModelViewInverse.3.2)
|
|
|
|
variable.float.shStartZ = (shadowModelView.0.2 * gbufferModelViewInverse.3.0 + shadowModelView.1.2 * gbufferModelViewInverse.3.1 + shadowModelView.2.2 * gbufferModelViewInverse.3.2)
|
|
|
|
|
|
|
|
uniform.vec3.shadowCamera = vec3(shStartX + shadowModelView.3.0 + shViewDirX*2., shStartY + shadowModelView.3.1 + shViewDirY*2., shStartZ + shadowModelView.3.2 + shViewDirZ*2.0)
|
|
|
|
|
|
|
|
variable.float.wSunX = (gbufferModelViewInverse.0.0 * sunPosX + gbufferModelViewInverse.1.0 * sunPosY + gbufferModelViewInverse.2.0 * sunPosZ)
|
|
|
|
variable.float.wSunY = (gbufferModelViewInverse.0.1 * sunPosX + gbufferModelViewInverse.1.1 * sunPosY + gbufferModelViewInverse.2.1 * sunPosZ)
|
|
|
|
variable.float.wSunZ = (gbufferModelViewInverse.0.2 * sunPosX + gbufferModelViewInverse.1.2 * sunPosY + gbufferModelViewInverse.2.2 * sunPosZ)
|
|
|
|
|
|
|
|
variable.float.shSunX = (shadowModelView.0.0 * wSunX + shadowModelView.1.0 * wSunY + shadowModelView.2.0 * wSunZ)
|
|
|
|
variable.float.shSunY = (shadowModelView.0.1 * wSunX + shadowModelView.1.1 * wSunY + shadowModelView.2.1 * wSunZ)
|
|
|
|
variable.float.shSunZ = (shadowModelView.0.2 * wSunX + shadowModelView.1.2 * wSunY + shadowModelView.2.2 * wSunZ)
|
|
|
|
|
|
|
|
uniform.vec3.shadowLightVec = vec3(lightSign*shSunX, lightSign*shSunY, lightSign*shSunZ)
|
|
|
|
|
2024-05-02 01:40:52 +08:00
|
|
|
uniform.float.shadowMaxProj = 150.0/abs(sunPosY)
|
|
|
|
|
|
|
|
|
|
|
|
###############################
|
|
|
|
####### FLOODFILL STUFF #######
|
|
|
|
###############################
|
|
|
|
|
2024-05-03 00:43:30 +08:00
|
|
|
#ifdef LPV_ENABLED
|
2024-05-07 03:12:52 +08:00
|
|
|
image.imgBlockData = texBlockData RG_INTEGER RG32UI UNSIGNED_INT false false 2048
|
2024-05-02 04:32:25 +08:00
|
|
|
|
2024-05-02 01:40:52 +08:00
|
|
|
#if LPV_SIZE == 8
|
2024-05-02 04:32:25 +08:00
|
|
|
image.imgVoxelMask = none RED_INTEGER R16UI UNSIGNED_SHORT true false 256 256 256
|
2024-05-05 04:33:11 +08:00
|
|
|
image.imgLpv1 = texLpv1 RGB RGBA8 BYTE false false 256 256 256
|
|
|
|
image.imgLpv2 = texLpv2 RGB RGBA8 BYTE false false 256 256 256
|
2024-05-02 01:40:52 +08:00
|
|
|
#elif LPV_SIZE == 7
|
2024-05-02 04:32:25 +08:00
|
|
|
image.imgVoxelMask = none RED_INTEGER R16UI UNSIGNED_SHORT true false 128 128 128
|
2024-05-05 04:33:11 +08:00
|
|
|
image.imgLpv1 = texLpv1 RGB RGBA8 BYTE false false 128 128 128
|
|
|
|
image.imgLpv2 = texLpv2 RGB RGBA8 BYTE false false 128 128 128
|
2024-05-02 01:40:52 +08:00
|
|
|
#elif LPV_SIZE == 6
|
2024-05-02 04:32:25 +08:00
|
|
|
image.imgVoxelMask = none RED_INTEGER R16UI UNSIGNED_SHORT true false 64 64 64
|
2024-05-05 04:33:11 +08:00
|
|
|
image.imgLpv1 = texLpv1 RGB RGBA8 BYTE false false 64 64 64
|
|
|
|
image.imgLpv2 = texLpv2 RGB RGBA8 BYTE false false 64 64 64
|
2024-05-02 01:40:52 +08:00
|
|
|
#endif
|
2024-05-02 04:32:25 +08:00
|
|
|
#else
|
2024-05-04 02:09:20 +08:00
|
|
|
program.world1/setup.enabled = false
|
|
|
|
program.world0/setup.enabled = false
|
|
|
|
program.world-1/setup.enabled = false
|
|
|
|
|
2024-05-06 04:07:28 +08:00
|
|
|
program.world1/shadow.enabled = false
|
|
|
|
program.world-1/shadow.enabled = false
|
|
|
|
|
2024-05-04 02:09:20 +08:00
|
|
|
program.world1/shadowcomp.enabled = false
|
|
|
|
program.world0/shadowcomp.enabled = false
|
|
|
|
program.world-1/shadowcomp.enabled = false
|
2024-05-05 09:36:06 +08:00
|
|
|
#endif
|