- Home /
Unity standard shader source?
Since I don't know much about writing shaders yet, I would rather start with the standard, see how it works and modify it, instead of starting from scratch. So, can anyone tell me where I can find the vertex/fragment shader sources?
Answer by cjdev · Aug 10, 2015 at 08:25 AM
You can just create a new shader and open it up in Visual Studio to see the source for it, as well as edit it and create your own. If you're just getting into shaders I'd recommend these two websites for some great intro and tutorial material:
A good read for shaders in general: http://patriciogonzalezvivo.com/2015/thebookofshaders/
Thanks for replies. I found the source files on the official site. Longer than I expected :( The code is even split into several files with includes and stuff. Well, I'm new to Unity and there's other things I want to get familiar with before I try to understand those shaders.
Your answer
Follow this Question
Related Questions
Please help me resolve these errors related to shaders. 0 Answers
Unity 5, uv not working in standard shader 3 Answers
Has line on the edge of the mesh when use fade shader. Any idea how to solve? 0 Answers
How to convert Legacy/Particles/Alpha Blended to Standard?And How to configure the standard option? 0 Answers
Modifing the Standard Shader (specular setup) and Multiple UV set. 1 Answer