Forums > Jitter

Multiple Light Source on sketch

September 23, 2009 | 9:36 am

Based on an replay pelado gave at the forum, I’m trying to create and control multiple light sources.

I’ve manage to create and control the ambient color of two light sources, but the position of the second source doesn’t have any effect.

If someone can help? more thing:
which is the correct syntax when enabling more than one light source

glenable light0, glenable normalize, glenable lighting, glenable light1, glenable normalize, glenable lighting


glenable light0 light1, lenable normalize, glenable lighting

I’ve looked the "red book" but its not clear to me.

— Pasted Max Patch, click to expand. —

thanks in advance


September 24, 2009 | 9:30 pm

see if this simple patch with two spotlights helps clarify things.

— Pasted Max Patch, click to expand. —
September 25, 2009 | 9:10 am

Thanks a bunch!!
That what was exactly what I needed.


Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter