Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Distance Fields not working
#3
(16-09-2019, 03:18 PM)josemendez Wrote: Your mesh, while having non-zero thickness, is extremely thin, so you will have to reduce max error and/or increase the scale of your mesh for the distance field to be able to pick up such small features. As you can see in the preview, the distance field does not have fine enough resolution to "see" there's an inside and an outside to your glass, and thinks it's all outside (black).

Thanks for your answer Jose.
I have resolved it by using .blend file instead of .fbx, I still don't know why it doesn't work using fbx.
Anyway, now everything is up and running, except that I see that the fluid doesn't completely fill the empty space within my glass.

Scene view (I enabled convex just for previewing the collider)
[attachment=404]

Game view
[attachment=405]

See that there is empty unfilled spaces at the bottom and on the left and right of the glass.
I have tried modifying the material fluid, regenerating distance fields using any parameters, changing the radius of the particles, but nothing could fill those empty spaces.
Is there any solution to this?
Reply


Messages In This Thread
Distance Fields not working - by jaysama - 16-09-2019, 05:37 AM
RE: Distance Fields not working - by josemendez - 16-09-2019, 03:18 PM
RE: Distance Fields not working - by jaysama - 16-09-2019, 04:21 PM
RE: Distance Fields not working - by josemendez - 16-09-2019, 04:59 PM