Hello everyone, I’m stuck on a problem, hope you can help
I’m trying to map a texture2d (taken from a fuild simulation layer) with Datatexture (containing particle positions/velocities). Mapping is simply done by directly taking the particle positions as uv coordinates.
The mapping is only correct when the camera is on the -Z axis (default axis). When I use Orbitcontrols and rotate the camera, the mapping is wrong
==> And I want to ask what I missed. I tried applying the camera’s projection matrix, but it didn’t work. Hope to have help from you
** This my example Video