I have a cross platform Unity app I’m trying to port to the Magic Leap. One of the shaders I use is from the HoloToolkit (for the HoloLens) but this shader also works on all other platforms I’ve tried, except for the Magic Leap. The shader is the one here:
When I use this shader on the Magic Leap it renders all in pink like it’s missing a texture, except that I have the materials configured to just use colors and no textures. The “2 Sided” part of the shader also doesn’t work. I render CAD models which often have backfaces of triangles on the outside, which is why I need a 2 sided shader. The materials are also generated at runtime to match the ones in the CAD models which are loaded at runtime, which is why I need a highly configurable shader like this.
Anyone have any idea what I could do to make this shader work on the Magic Leap? Or if that isn’t possible, where could I get a 2 sided shader that is as configurable as this one that does work on the Magic Leap?