object - OpenGL - Directional bright Light? -


the light, added, looks on objects weak? want brighter , don't want give light position. mean, want bright light on screen same brightness in middle or @ corners?

float[] lightcolor = {1, 1, 1, 0}; float[] lightposition = {0, 0, 10, 0};    @override public void render () {      ...     gl.glenable(gl10.gl_lighting);     ...     gl.glenable(gl10.gl_light0);     gl.gllightfv(gl10.gl_light0, gl10.gl_diffuse, lightcolor, 0);     gl.gllightfv(gl10.gl_light0, gl10.gl_position, lightposition, 0); } 


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -