Debian Codegraph @

examples/viewport_and_scenes/shader_effects/data/shaders/texture_effect.vs

raw
1 /* Vertex shader.
2 Just a helper for texture_effect.fs (fragment shader):
3 this passes "pass_vertex_object" information to fragment shader.
4 */
5
6 // Vertex coordinates in object-space coordinate system.
7 varying vec4 my_vertex_object;
8
9 void PLUG_vertex_object_space(
10 const in vec4 vertex_object,
11 inout vec3 normal_object)
12 {
13 my_vertex_object = vertex_object;
14 }