Goby56/wakes

Crash when rendering wakes

Daniel99j2 opened this issue · 2 comments

Describe the bug
Whenever my client renders a wake, it crashes

Expected behavior
It should not crash

To Reproduce

  1. Join world
  2. Create wake
  3. Crash

Screenshots
N/A

Hardware and OS
Windows 11

Versions

  • 1.20.4
  • Fabric 0.15.7
  • BOTH 0.2.2 and 0.2.3
  • Fabric API 0.96.11

Additional information
Note that in 0.2.2 it only froze, and I had to stop it, so crash is from 0.2.2 and log is from 0.2.3
Logs - https://mclo.gs/7Vzxs3d#L1515
Crash - https://mclo.gs/ZP2WAsN

Config:
{
"effectSpawningRules": {
"mobs": "SIMULATION_AND_PLANES",
"items": "SIMULATION_AND_PLANES",
"other_players": "SIMULATION_AND_PLANES",
"boat": "SIMULATION_AND_PLANES",
"player": "SIMULATION_AND_PLANES"
},
"wakesInRunningWater": true,
"wavePropagationFactor": 0.949999988079071,
"waveDecayFactor": 0.5,
"initialStrength": 20,
"paddleStrength": 100,
"splashStrength": 100,
"spawnParticles": false,
"disableMod": false,
"floodFillDistance": 3,
"use9PointStencil": true,
"ticksBeforeFill": 2,
"drawDebugBoxes": false,
"renderType": "GENERAL",
"wakeResolution": "SIXTEEN",
"wakeOpacity": 1.0,
"useWaterBlending": true,
"blendFunc": "DEFAULT",
"srcFactor": "SRC_ALPHA",
"dstFactor": "ONE_MINUS_SRC_ALPHA",
"colorIntervals": [
{
"color": "TRANSPARENT",
"lower": -50,
"upper": -45
},
{
"color": "DARK_GRAY",
"lower": -45,
"upper": -35
},
{
"color": "GRAY",
"lower": -35,
"upper": -30
},
{
"color": "LIGHT_GRAY",
"lower": -30,
"upper": -15
},
{
"color": "TRANSPARENT",
"lower": -15,
"upper": 2
},
{
"color": "LIGHT_GRAY",
"lower": 2,
"upper": 10
},
{
"color": "WHITE",
"lower": 10,
"upper": 20
},
{
"color": "LIGHT_GRAY",
"lower": 20,
"upper": 40
},
{
"color": "GRAY",
"lower": 40,
"upper": 50
}
],
"splashPlaneWidth": 3.0,
"splashPlaneHeight": 1.5,
"splashPlaneDepth": 2.0,
"splashPlaneResolution": 5,
"maxSplashPlaneVelocity": 0.5,
"splashPlaneScale": 1.0,
"splashPlaneOffset": 0.0
}

Looks like GENERAL shader is not valid anymore (Not an option)