Skip to content

Commit

Permalink
hyst: add better biome blend & entity culling
Browse files Browse the repository at this point in the history
  • Loading branch information
occanowey committed Oct 28, 2024
1 parent 0f8c963 commit 7d63551
Show file tree
Hide file tree
Showing 8 changed files with 230 additions and 1 deletion.
9 changes: 9 additions & 0 deletions pack/config/betterbiomeblend.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Configuration file

general {
# Min: 0
# Max: 14
I:"Blend Radius"=14
}


93 changes: 93 additions & 0 deletions pack/config/entityculling.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Configuration file

general {
# Ideally should be set to equal the render distance. Ram usage (in Bytes) = 1063 * (2x + 1) ^ 3
I:cacheSize=12
B:disabledInSpectator=true

# If you have a weak CPU enabling this option might help reducing the CPU usage.
B:enableRaytraceCache=false

# Disable all changes from this mod (This is not equal to removing the mod!).
B:enabled=true

# If enabled and OpenGl 4.4 is supported OpenGl based culling is used which is a lot faster and more accurate. If you have a weak GPU you might want to disable this.
B:openglBasedCulling=true

# Mode that is used to calculate the distance from camera to a raytrace end point.
# Valid values:
# SPHERICAL
# CYLINDRICAL
S:raytraceDistanceCalculator=SPHERICAL

# Used to calculate the raytrace distance limit. Points farther away than the limit are not raytraced. Distance limit = (renderDistance * 16 + adder) * multiplier
# Min: 0.0
# Max: 1024.0
D:raytraceDistanceLimitAdder=16.0

# Used to calculate the raytrace distance limit. Points farther away than the limit are not raytraced. Distance limit = (renderDistance * 16 + adder) * multiplier
# Min: 0.0
# Max: 1024.0
D:raytraceDistanceLimitMultiplier=1.0

# If you feel the need to increase this value because of entities being culled falsely then another modder probably messed up their render bounding boxes and you should report the issue to them. Alternatively you can use the (tile-)entityBoundingBoxGrowthList settings to fix bounding boxes on your own.
# Min: 0.0
# Max: 1024.0
D:raytraceThreshold=1.0

# If enabled tile entity bounding boxes are increased slightly to avoid issues when other mods don't correctly set their bounding boxes (requires opengl based culling). If you still have culling or flickering issues you can use the 'debugRenderBoxes', 'entityBoundingBoxGrowthList' and 'tileEntityBoundingBoxGrowthList' config options to try to fix the bounding box of that entity or tile entity.
B:tileEntityAABBGrowth=true

entity {
B:alwaysRenderBosses=true
B:alwaysRenderEntitiesWithName=true
B:alwaysRenderPlayers=true
B:alwaysRenderViewEntity=true
B:ignoreEndCrystalsWithBeam=true

# Skip rendering of entities that are not visible (hidden behind blocks). This might cause issues where an entity is partly behind a block and thus does not get rendered but it's usually not really noticable.
B:skipHiddenEntityRendering=true

# Tile entities which will always be rendered. (Accepts 'modid' or 'modid:entity_name')
S:skipHiddenEntityRenderingBlacklist <
>

# Entities with a width or height greater than this value will always get rendered.
# Min: 0.0
# Max: 1024.0
D:skipHiddenEntityRenderingSize=16.0
}

tileentity {
# Skip rendering of entities that are not visible (hidden behind blocks). This might cause issues where a tile entity is partly behind a block and thus does not get rendered but it's usually not really noticable.
B:skipHiddenTileEntityRendering=true

# Tile entities which will always be rendered. (Accepts 'modid' or 'modid:tile_entity_name')
S:skipHiddenTileEntityRenderingBlacklist <
enderio:tile_travel_anchor
>

# Tile entities with a width or height greater than this value will always get rendered.
# Min: 0.0
# Max: 1024.0
D:skipHiddenTileEntityRenderingSize=16.0
}

optifineshaderoptions {
B:entityShadowsCulling=true
B:entityShadowsCullingLessAggressiveMode=true

# Min: 0.0
# Max: 1024.0
D:entityShadowsCullingLessAggressiveModeDiff=4.0
B:tileEntityShadowsCulling=true
B:tileEntityShadowsCullingLessAggressiveMode=true

# Min: 0.0
# Max: 1024.0
D:tileEntityShadowsCullingLessAggressiveModeDiff=4.0
}

}


61 changes: 61 additions & 0 deletions pack/config/renderlib.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Configuration file

general {
B:debugRenderBoxes=false

# Allows you to increase the render bounding boxes of entities (or all entities of a mod). Width increases the size on the X and Z axis. Top increases the size in the positive Y direction. Bottom increases the size in the negative Y direction. (Accepts 'modid=width,top,bottom' or 'modid:entity=width,top,bottom').
S:entityBoundingBoxGrowthList <
>
I:mainMenuFPS=60

# If set to true the main menu FPS is synced to the in game FPS (but clamped between 30 and 240).
B:mainMenuFPSSynced=false
B:openGLLogExtensions=false
B:showFrameTimes=false

# Allows you to increase the render bounding boxes of tile entities (or all entities of a mod). Width increases the size on the X and Z axis. Top increases the size in the positive Y direction. Bottom increases the size in the negative Y direction. (Accepts 'modid=width,top,bottom' or 'modid:tileentity=width,top,bottom').
S:tileEntityBoundingBoxGrowthList <
>

# Tile entities whose bounding boxes won't be cached (Accepts 'modid' or 'modid:tileentity').
S:tileEntityCachedBoundingBoxBlacklist <
>

# Most tile entities have static bounding boxes and thus they can be cached. Tile entities whose bounding boxes are likely to change every frame or so should be added to the blacklist. Tile entities whose bounding only change every once in a while should be covered by cache updates (update speed adjustable through tileEntityCachedBoundingBoxUpdateInterval)
B:tileEntityCachedBoundingBoxEnabled=true

# Every frame there is a 1 in x chance to update the cached bounding box. Higher = better performance, Lower = tile entities with dynamic bounding boxes get updated faster.
# Min: 1
# Max: 1000000
I:tileEntityCachedBoundingBoxUpdateInterval=100

opengldebugoutput {
# Enable/Disable crashing when an OpenGL error occurs. If disabled OpenGL errors are likely to go unnoticed unless the log is checked manually.
B:crashOnError=false

# Better debugging of OpenGL errors. Might not be supported by your hardware/driver.
B:enabled=true

# Enable/Disable appending of the stack trace when logging a debug message.
# Valid values:
# DISABLED
# ALWAYS
# ERRORS_ONLY
S:logStackTrace=ERRORS_ONLY

# Enable/Disable debug messages matching the specified filters.
# Format: 'source, type, severity, enabled'
# Valid source values: [ ANY, API, WINDOW_SYSTEM, SHADER_COMPILER, THIRD_PARTY, APPLICATION, OTHER ]
# Valid type values: [ ANY, ERROR, DEPRECATED_BEHAVIOR, UNDEFINED_BEHAVIOR, PORTABILITY, PERFORMANCE, MARKER, PUSH_GROUP, POP_GROUP, OTHER ]
# Valid severity values: [ ANY, HIGH, MEDIUM, LOW, NOTIFICATION ]
S:messageFilters <
ANY;ERROR;ANY;true
>

# May be required by some systems to generate OpenGL debug output. (Enabling might have a negative impact on performance)
B:setContextDebugBit=false
}

}


27 changes: 27 additions & 0 deletions pack/index.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6976,6 +6976,10 @@ hash = "e508483e8a803419d2600e3135cd0ccb6ea71307e3b20ccefc7943cbde4e1b18"
file = "config/betteradvancements/betteradvancements.cfg"
hash = "6b26c60fe7e9eecf218f6136ee9188a1538e560e2aced0a62b61b22404c24052"

[[files]]
file = "config/betterbiomeblend.cfg"
hash = "7575920f2203bc52de8dfd940a873f9143e908002c006db1a1f89e49725869b4"

[[files]]
file = "config/betterbuilderswands.cfg"
hash = "059133216f2f843b667caad4f06022855aa3f7a7b2dbcc93c521e154038acc16"
Expand Down Expand Up @@ -8416,6 +8420,10 @@ hash = "eaa0a887355b5ab29f81d79fac01cddeb1a34c8e49f7d468ff150f5cc1e10772"
file = "config/enderstorage.cfg"
hash = "0e768f6d9d9275564e12c41e0364cc3f0b98b6d2a1715af31509c1d577860853"

[[files]]
file = "config/entityculling.cfg"
hash = "8a1dc449204426365e60b56c217b6b279df87156c054500037aca90500fe1638"

[[files]]
file = "config/epicsiegemod.cfg"
hash = "5000039cba21c41501293a15243bdbe070e430589e0bcb3aab275aecbe710bcf"
Expand Down Expand Up @@ -9600,6 +9608,10 @@ hash = "2b587ca12f0b39037da88d1b37686ac8d5f2d0e77dc125abd088a882f0cc1733"
file = "config/recipehandler.cfg"
hash = "c5ab5de863d2540cc16269abf150f005e40c694064502667d83775086eab6250"

[[files]]
file = "config/renderlib.cfg"
hash = "0141dfb86b5bd862e801b3e0fb3e8ad50f50200f84fd7d7ce76dedaac5053eff"

[[files]]
file = "config/restrictedportals.cfg"
hash = "6ccd15672d91e010368b20bb3e7937032d88137fff9c80cbbb20bea0bbd832f7"
Expand Down Expand Up @@ -10046,6 +10058,11 @@ file = "mods/better-advancements.pw.toml"
hash = "7a812e6a1d2e45df6d44834a1fbb5358e7222fed21739601abef5d6bbe00cd97"
metafile = true

[[files]]
file = "mods/better-biome-blend.pw.toml"
hash = "54daf55723880c0c325a1226ade7c75d55d863443e5c552332015d2b34b94931"
metafile = true

[[files]]
file = "mods/better-builders-wands.pw.toml"
hash = "f7c821287bcb460b7cd51438d4f08c818beb1070d687a0460ce5c5279941bad2"
Expand Down Expand Up @@ -10346,6 +10363,11 @@ file = "mods/endertweaker.pw.toml"
hash = "c99940171284edcf75dc2c588a2d462fede08ab849acc67ffe125dc93a66bb0c"
metafile = true

[[files]]
file = "mods/entity-culling.pw.toml"
hash = "28f3104079a644a1dc5ac037880777e5eb7de613917f5164f7e09ed3a90c734a"
metafile = true

[[files]]
file = "mods/epic-siege-mod.pw.toml"
hash = "caa9e90b3c0b1203a6e4185ec5302d9050d699f35bdf68bfd5ebdba5cb4dfbe4"
Expand Down Expand Up @@ -10956,6 +10978,11 @@ file = "mods/reliquary-reincarnations.pw.toml"
hash = "1b4a0a19615a8b8ed0d78ddfd05fa3ee59f7050a8a4490de0e800115c0b66885"
metafile = true

[[files]]
file = "mods/renderlib.pw.toml"
hash = "5b65213d7179d07ab308e4a108b53d5d3fc4caef98efd4fef64ddaaeaf489400"
metafile = true

[[files]]
file = "mods/resource-loader.pw.toml"
hash = "5b23fff02027846cadc887ffe26fce12a4e20bdee2cc0c06732897a44f364357"
Expand Down
13 changes: 13 additions & 0 deletions pack/mods/better-biome-blend.pw.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name = "Better Biome Blend"
filename = "betterbiomeblend-1.12.2-1.1.7-forge.jar"
side = "client"

[download]
hash-format = "sha1"
hash = "a9463fed7357f39515707b5bbb4cac780916abf5"
mode = "metadata:curseforge"

[update]
[update.curseforge]
file-id = 3554486
project-id = 446253
13 changes: 13 additions & 0 deletions pack/mods/entity-culling.pw.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name = "Entity Culling"
filename = "EntityCulling-1.12.2-6.4.3.jar"
side = "client"

[download]
hash-format = "sha1"
hash = "6cecf04d943834fd2b09953b98d46d9340735e49"
mode = "metadata:curseforge"

[update]
[update.curseforge]
file-id = 5096144
project-id = 409087
13 changes: 13 additions & 0 deletions pack/mods/renderlib.pw.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name = "RenderLib"
filename = "RenderLib-1.12.2-1.3.5.jar"
side = "both"

[download]
hash-format = "sha1"
hash = "0635a2cd62e1ab352941af5d886d2ebb0aa593fa"
mode = "metadata:curseforge"

[update]
[update.curseforge]
file-id = 5421689
project-id = 624967
2 changes: 1 addition & 1 deletion pack/pack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "85aad0cc6e5b6acae4a7a0b00ed5e10b7a1a557af51c9e4eb1cb33d051501350"
hash = "a345af7201119cfe2dc4abe3b43c3161517cfc18a1501f411fff63b283decccc"

[versions]
forge = "14.23.5.2860"
Expand Down

0 comments on commit 7d63551

Please sign in to comment.