Reflection vector

How I can Get or Calculate the reflection vector xyz in spark AR ??
in Lens Studio I can get it as a built in node in the graph editor

I think you can use the reflect function in spark SL to get the reflection. Hopefully it’s supported.

https://registry.khronos.org/OpenGL-Refpages/gl4/html/reflect.xhtml

1 Like