Questions tagged [pixel-shader]

25 questions
4
votes
0 answers

Unfolding a 3D point to a Cartesian plane

I am writing a texture splatting pixel shader for meshes (not terrain) whereby I find a UV position from a raycast, which I convert to a local position, and then calculate a bounding box around that position. Then when cycling through the UVs (also…
Garth Wood
  • 41
  • 2