Skip to content

Fix liquid adaptation and GPU crash with cap enabled#8

Open
Keikoo wants to merge 2 commits into
UniversalToolCompiler:mainfrom
Keikoo:main
Open

Fix liquid adaptation and GPU crash with cap enabled#8
Keikoo wants to merge 2 commits into
UniversalToolCompiler:mainfrom
Keikoo:main

Conversation

@Keikoo
Copy link
Copy Markdown

@Keikoo Keikoo commented Oct 24, 2025

LiquidSahderFillCS was causing GPU crash due to OutputTexture[PixelTemp[j]] = float4(0, 0, 0, 0); so I split the algorithm in two loops.

ComputeLiquidVolume never adjusted the liquid height offset because of the missing RVectorTrace = false; if there was a hit but no material was found. The collision setting was missing bReturnFaceIndex = true so ROutHit.FaceIndex was set to -1.

… trace hit component.

Fix liquid adaptation collision setting bReturnFaceIndex not set to true.
Fix crash when enabling cap due to LiquidSahderFillCS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants