(RESOLVED) : Any way for a point to query a heightfield's mask?

   604   0   0
User Avatar
Member
47 posts
Joined: 4月 2020
Offline
i thought it was the volumesample() function, but it appears to only query the height and nothing else, which seems odd.. i could possibly copy the mask layer to the height layer just so i could query it, but that of course sounds wrong.

thx in advance!
-seneca


EDIT : this works now. my guess i was sending a float on accident instead of a vector and it was returning values that sounded correct with the height layer, but all zeroes in the mask layer, so it misled me as to whether or not it was working...

EDIT2 : i found the real reason why i couldn't get it to work. if your point's Y position != 0, it works fine with a height layer but not a mask layer. odd.
Edited by indigosm - 2021年2月26日 19:39:46
  • Quick Links