Hey Sebastian,this should be right for you:[code]shaderActivateLighting(1)shaderLamp(0, 0, {500,316,1}, {250,0,0}, {0.001,0.000001,0}, {0,0,0}, {1,1,1}, 1, 90, 0)[/code]This:[code]bind("light1", "lights[0].targetpos", point(inverty(scrollfix(field("{x=500,y=316}"))), 0))[/code]should bind the light to the position. But actually ist seems that the binding not works... I think sth. is wrong with the shader toolkit. Have problems with the binding for my flashlight too...But i hope, the 1st code-snippet works for you...
by turrican, 10 years ago