Converting aiUtility Normal color mode from Worldspace to Tangentspace - please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am working on a game project, and need to generate normals sprite frames along with the albedo and z depth frames. The purpose of this is to create the illusion of 3D lighting and shadows in an otherwise 2D gameworld.
I'm trying to follow this tutorial HERE, but I can't seem to get it to work.
I also tried a method where I used an aiSpaceTransform node connected to an aiUtilityNode set to color mode: Normal, to change World space to Tangent space, but connecting it to a custom AOV doesn't seem to have actually changed the render to tangent space normals, it's still stuck in worldspace normals.
Here is my shader network in hypershade, for those curious. I have a custom AOV with aiUtility_N connected to the Shader slot in the custom AOV. This still results in worldspace normals in renderview. Is this not the correct way to set it up? It's critical I get this to work for my game.