Quantcast
Channel: Questions in topic: "shader programming"
Viewing all articles
Browse latest Browse all 169

vertex and geometry shader change with distance

$
0
0
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

Viewing all articles
Browse latest Browse all 169

Trending Articles