- Home /
Can I have a surface shader and a fragment shader on the same mesh?
I have a single mesh with 2 materials.
the 1st material has a fragment shader for refraction.
the 2nd material has a surface shader for reflection.
I can't seem to get the surface shader to work when applied to the original mesh. It does work on other meshes.
I would just combine them but I don't really know how yet and they work beautifully individually.
Is the surface vs fragment shaders what is keeping the reflection material from applying?
Your answer
![](https://koobas.hobune.stream/wayback/20220612001105im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can you specify both Surface and Vertex/Fragment shaders? 3 Answers
Fresnel shader and mixed textures 0 Answers
How to write to Camera's Depth Buffer with a basic vertex and fragment shader? 0 Answers
Lighting support in Unlit shader 0 Answers
Dynamic batching breaks with the material Mobile/Alpha Blended. 0 Answers