Unity-Technologies / arfoundation-demos

AR Foundation demo projects
Other
494 stars 129 forks source link

Wireframe shader not working on iPad #57

Open ValentinGuillemot-6freedom opened 2 years ago

ValentinGuillemot-6freedom commented 2 years ago

Hello, we have an issue with the Wireframe shader for iOS. We tried using the shader from Assets/Shaders/Wireframe/ShaderGraph with the material from Assets/Shaders/Wireframe/Materials that we put in our project in Unity 2020.3.30.f1. When we try using it as the material on our Mesh Prefab for our ARMeshManager, the shader does not display a wireframe and the material appears entirely white. IMG_0041

Tested on iPad Pro (11 inch) 3rd generation, iOS 15.4.1.

Is there anything that we're missing?

danlee-lils commented 2 years ago

When I checked out the project, the shader graph is essentially created using the older version and not been updated to the latest shadergraph version and broken. Unity never updates their sample/example projects along with the plugin... which is sad...

danlee-lils commented 2 years ago

Once the shader graph is updated to the new version, the Albedo and WireColor needs to be adjusted. I opened the demo project in another unity editor and let unity do it's thing updating. I created a brand new shader graph in my project and copied the nodes to my new shader and adjusted the properties.