Download

Getting the global (x,y,z) coordinates of a fragment?

Hey I think the title says it all. Is there a way to get the (x,y,z) coordinate of a pixel in the material editor? Something like ObjectPosition but varying on a per pixel level.

Thanks!

Gabe

World position node

That was embarrasingly easy, thanks a lot, you saved the day :stuck_out_tongue: