- Home /
How to store all vertex normals within a shader file
I am new to shaders in Unity. I would like to create a shader for an AR application. Therefore I need to compute the normal for every vertex. In addition to that I need to know which vertices are neighbors, such that I can store them. So can anyone help me out here? Do I need an unlit shader? How do I get all the vertices of my mesh? How can I store them? Do I need shaders or is there a different way to do this in unity?
Your answer
Follow this Question
Related Questions
How to add "fat" feature to the Standard.shader? 1 Answer
Issue with the merging of a surface shader and vert/frag shader using UNITY_MATRIX_MVP 0 Answers
How to pass vertex color information into GLSL shaders program 1 Answer
GlobalFog overwrites Toony/BasicOutline outline shader -- outlines become white 0 Answers
Saving Depth buffer for VR Game on Unity - DROP IN FPS 1 Answer