Forums > Jitter

Lighting

April 9, 2008 | 10:06 am

Hi,
Does anyone know how to manipulate emissive lighting of an object?
Wanted to create objects that are in effect little lights themselves….either mesh/girdshape or ideally .obj in open gl…

prepend mat_emissive doesnt seem to have any effect


April 9, 2008 | 6:27 pm

make sure @lighting_enable 1, and @auto_material 0 (neither of these are the default) on your gl object. mat_emission will do the trick after this.

note, the "light" created will not illuminate other objects in the scene with this property, you will probably have to use gl.sketch to enable lights and position them where your emissive objects are.

-rob


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