X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect.cpp;h=15fff8c15dc0b3a834611d879da3b8bfaee1e274;hb=873b60b640a96c8fb4c2d8c88c85d20e0a2dca6b;hp=3a4f8c8c3b30c8bbe3b2d4e423015e40b2af2825;hpb=96a1cff51a8b7dc45ebe725e0d0685eecce31331;p=movit diff --git a/effect.cpp b/effect.cpp index 3a4f8c8..15fff8c 100644 --- a/effect.cpp +++ b/effect.cpp @@ -152,3 +152,8 @@ void Effect::set_uniforms(GLuint glsl_program_num, const std::string& prefix) set_uniform_vec3(glsl_program_num, prefix, it->first, it->second); } } + +std::string Effect::output_vertex_shader() +{ + return read_file("identity-vs.glsl"); +}