More shader generation

This commit is contained in:
Josh Yelon 2008-01-28 17:55:06 +00:00
parent 1d954d5104
commit 48f0aeaddf

View File

@ -467,7 +467,7 @@ synthesize_shader(const RenderState *rs) {
text << "\t l_normal = vtx_normal;\n"; text << "\t l_normal = vtx_normal;\n";
if (_map_index_normal) { if (_map_index_normal) {
text << "\t l_tangent = vtx_tangent" << _map_index_normal << ";\n"; text << "\t l_tangent = vtx_tangent" << _map_index_normal << ";\n";
text << "\t l_binormal = vtx_binormal" << _map_index_normal << ";\n"; text << "\t l_binormal = -vtx_binormal" << _map_index_normal << ";\n";
} }
} }
text << "}\n\n"; text << "}\n\n";