mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
More shader generation
This commit is contained in:
parent
1d954d5104
commit
48f0aeaddf
@ -467,7 +467,7 @@ synthesize_shader(const RenderState *rs) {
|
||||
text << "\t l_normal = vtx_normal;\n";
|
||||
if (_map_index_normal) {
|
||||
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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user