Looking for Object-Space Normals as a render pass

Hi,

How do I set up a render network in TD to get object-space normals from my scene geo?
I’m coming from a 3D background and have no GLSL experience so apologies if I’ve overlooked something.

For example, in Blender, I can use a texture coordinate node to call up face orientations:

Is there a SOP or MAT-level function that does the same thing in TouchDesigner?

Thanks!

This is on the Advanced page of your phong material:

You can output another color buffer with the variety of information:

The one extra step you’ll need to use is to turn on a second color buffer on your render TOP:

Then use a render select TOP to grab that buffer:

1 Like

Yes!!! This is exactly what I was looking for. Thank you so much!

1 Like