Comment 1 for bug 1214782

Revision history for this message
Juha Jeronen (juha-jeronen) wrote :

Furthermore, the line

text << "\t float lr_out = " << l0 << "\n";

as also its proposed replacement

text << "\t float lr_out = 0.0\n";

is missing the final semicolon before the \n in the generated code. It should be:

text << "\t float lr_out = 0.0;\n";

After applying these modifications to my local copy of panda sources, the double light ramp shading started working.