- Home /
Question by
IGY-United · Apr 16, 2017 at 02:51 PM ·
shaderunity5
Is it possible to override vertex shader of another shader?
For example, i would like to use Unity Standard Shader and add my own vertex deformations.
Is it possible to override a vertex shader or extend or blend two different shaders?
Comment
Answer by tanoshimi · Apr 16, 2017 at 03:13 PM
No, but you can download the source of the Standard shader from the Unity download site and add in your own vertex modification to it.
Answer by RibsNGibs · Apr 16, 2017 at 03:21 PM
See the "Normal Extrusion with Vertex Modifier" example shader on https://docs.unity3d.com/Manual/SL-SurfaceShaderExamples.html .
Your answer
Follow this Question
Related Questions
Sprite texture incorrect 0 Answers
Writing a shader for a terrain? 0 Answers
Vertex position in 2D shader always zero on Mac 0 Answers
Render object with different shader depending on the camera 2 Answers