Little shot of mod4x lighting, 2 lights, 1 green, 1 red.
Source used,
Include "Includes\VividGL_Lite.bb" Graphics_Init(512,512,32,2) ;-- [ Setup screen Graphics_Setbuffer Graphics_Back() ;-- [ Set our backbuffer. cam=Camera_Create() Entity_Position cam,0,5,-20 cube=IO_LoadVGL("Example_Media\SmallCar.vgl",11,11,11) JeepTex=Texture_Load("Example_Media\Jeep1.png") Texture_Blend jeepTex,2 Entity_Texture cube,jeeptex Texture_ColorScale jeepTex,4 Entity_Color cube,128,128,128 Entity_ColorMode cube,ColorMode_Color Entity_CullMode cube,CullMode_Disabled entity_GenNormals(cube) Entity_Compile(cube,compile_agp) Entity_Point cam,cube test=Light_Create (1,1) Light_Ambient test,0,0,0 Light_Diffuse test,255,0,0 shock=Light_Create(1,1) Light_Ambient shock,0,0,0 Light_Diffuse shock,0,128,128 Entity_Position shock,30,0,-40 Entity_Position test,0,0,-40 Update_Lights() Entity_Scale Cube,1,1,1 While Not KeyDown(1) Render_Cls(True) Entity_Render cube Entity_Turn cube,MouseYSpeed(),MouseXSpeed(),0 MoveMouse 320,240 FlushMouse Text_Out(1,1,fps,0,0) Render_Flip(False) Wend End