mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
ShaderGenerator: don't output unused attr_ambient input variable
This commit is contained in:
parent
b12fcec099
commit
61a089ad59
@ -1094,7 +1094,9 @@ synthesize_shader(const RenderState *rs, const GeomVertexAnimationSpec &anim) {
|
||||
text << "\t uniform float4 clipplane_" << i << ",\n";
|
||||
}
|
||||
|
||||
text << "\t uniform float4 attr_ambient,\n";
|
||||
if (key._lighting) {
|
||||
text << "\t uniform float4 attr_ambient,\n";
|
||||
}
|
||||
text << "\t uniform float4 attr_colorscale\n";
|
||||
text << ") {\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user