- Home /
Cross-project shader support
I have one project with some vertex shaders that I am working on. I recently discovered need to add a geometry stage to the shader. As soon as I add the '#pragma geometry xxx' (or for that matter '#pragma target 4.0') to the .shader file in my project the material turns pink and tells me that: "shader is not supported on this GPU (none of subshaders/fallbacks are suitable)".
To me that indicates that my machine doesn't have hardware/drivers capable of doing geometry shader work. However, when geometry shaders compile, execute, and produce correct output in other Unity3D projects on the same machine that indicates that something in Unity is amok.
Is there a setting I need to switch that determines shader level support or do I just need to start with a new project and copy all of my current assets into it to get geometry shader to start working?
Note: In another project 'Project Settings' -> Player and 'Project Settings' -> Graphics are both set to the exact same set of options and geometry shaders work on my work machine.
Your answer
![](https://koobas.hobune.stream/wayback/20220612142657im_/https://answers.unity.com/themes/thub/images/avi.jpg)