|
|
|
|
|
by shikshake
969 days ago
|
|
When you’re writing graphics engines (at least from my experience in OpenGL) you tend to write the vertex and fragment shaders in different files and link them when you actually need to render something. That way you can use combinations of them. The vs or fs extension is used to understand which one it is at a glance. |
|