MCPcopy Create free account
hub / github.com/ddiakopoulos/polymer / post_draw

Method post_draw

libraries/lib-engine/src/renderer-pbr.cpp:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void stable_cascaded_shadows::post_draw()
135{
136 auto & shader = program.get()->get_variant()->shader; // should this be a call to default()?
137 glCullFace(GL_BACK);
138 glEnable(GL_CULL_FACE);
139 glBindFramebuffer(GL_FRAMEBUFFER, 0);
140 shader.unbind();
141}
142
143GLuint stable_cascaded_shadows::get_output_texture() const
144{

Callers 3

run_shadow_passMethod · 0.45
on_drawMethod · 0.45
on_drawMethod · 0.45

Calls 3

get_variantMethod · 0.80
getMethod · 0.45
unbindMethod · 0.45

Tested by

no test coverage detected