X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Frenderpass.cpp;fp=source%2Fmaterials%2Frenderpass.cpp;h=36404a6620b7d209713fb6302b970af9027aad72;hp=35692a4eaa69d49e54666e5684ff46b04f03c324;hb=3c2241d9eec23d75e9be08922420736d151278a3;hpb=cb7db94f7837e6a3be037d07575dc248177d9426 diff --git a/source/materials/renderpass.cpp b/source/materials/renderpass.cpp index 35692a4e..36404a66 100644 --- a/source/materials/renderpass.cpp +++ b/source/materials/renderpass.cpp @@ -130,6 +130,11 @@ int RenderPass::get_texture_index(const string &n) const return (shprog && i!=textures.end() ? shprog->get_uniform_binding(i->tag) : -1); } +void RenderPass::set_back_faces(bool bf) +{ + back_faces = bf; +} + void RenderPass::set_receive_shadows(bool rs) { receive_shadows = rs;