vec_set(sky_color,vector(0,0,0));
vec_set(ambient_color,vector(10,10,10));
sun_light = 0; // dark scene

EDIT: torches are just particle effects with some point lights

Flashlights require a bit more (including shaders) code to program in (if you're want it to work and look correctly)

As far as tutorial go, there aren't many (or any) that cover those topics....

Last edited by DLively; 06/15/15 23:18.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com