I have no problems when using a Normal map texture in the shader graph, but when I create a normal map using the Normal From Height Node, it doesn’t work in the simulator.
Thanks for the heads-up! I can replicate this. We use the standard MaterialX “heighttonormal” node, and it looks like visionOS doesn’t actually support that, so we will reimplement “Normal From Height” using the reference implementation (which will probably only be possible on visionOS 2.0, since it uses the fragment derivatives).
Is this still a work in progress as of PolySpatial 2.0.0-pre-11? I updated my project to 2.0.0-pre-11 and I’m currently not seeing the normal map that I’m expecting to see from the Normal from Height node in Shader Graph on AVP or Simulator. I even added a MaterialX boolean keyword object to my Shader Graph and I’m still not seeing it. Is there something that I may be missing?
The Normal From Height node should work in 2.0.0-pre.11/latest visionOS 2.0 beta (not on 1.X/visionOS 1.0, due to the lack of the fragment derivative nodes as mentioned above). You don’t need the MaterialX keyword; the only purpose of that is to have separate subgraphs for Unity rendering versus MaterialX export. If you provide more information about your shader and what you expect to see (or, better yet, submit a repro project and let us know the incident number: IN-#####), we can try to debug what might be going wrong.