| 1 |
/* Use the plug vertex_object_space to pass the vertex position in object |
| 2 |
space to the fragment shader. |
| 3 |
*/ |
| 4 |
|
| 5 |
varying vec4 water_vertex_object; |
| 6 |
|
| 7 |
void PLUG_vertex_object_space(const in vec4 vertex_object, inout vec3 normal_object) |
| 8 |
{ |
| 9 |
water_vertex_object = vertex_object; |
| 10 |
} |