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

Method update_shadow_matrix

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

Source from the content-addressed store, hash-verified

126}
127
128void stable_cascaded_shadows::update_shadow_matrix(const float4x4 & shadowModelMatrix)
129{
130 auto & shader = program.get()->get_variant()->shader;
131 shader.uniform("u_modelShadowMatrix", shadowModelMatrix);
132}
133
134void stable_cascaded_shadows::post_draw()
135{

Callers 1

run_shadow_passMethod · 0.80

Calls 3

get_variantMethod · 0.80
getMethod · 0.45
uniformMethod · 0.45

Tested by

no test coverage detected