- Home /
 
 
               Question by 
               P_jvillar · Nov 18, 2021 at 12:26 PM · 
                shadershadersshader programmingvertex shadergeometry shader  
              
 
              vertex and geometry shader change with distance
Hi, I´m working with unity 2021.1.28f1 and I want to know if it is possible for a shader, depending on the distance from the vertex to the camera, to work as a normal vertex shader for far distances or show as a geometry shader that creates a bilboard in close distances. Thanks, Javi
               Comment
              
 
               
              Your answer