08-12-2022, 10:22 AM
(This post was last modified: 08-12-2022, 10:23 AM by josemendez.)
(07-12-2022, 09:30 PM)7Dev.io Wrote: I figured it out. My depth texture mode was set to after transparents, changing it to after opaques fixed it.
Glad you found the culprit! Makes sense: since the fluid is a transparent object, generating the depth texture after transparents would depth test the fluid against itself, causing z-fighting.