[Kde-games-devel] OpenGL Lightning

Henrique Pinto tawhaki at gmail.com
Tue Jul 24 18:19:39 CEST 2007


I *think* you can enable GL_COLOR_MATERIAL in order not to have to set
material properties for each face on the scene.

On 7/24/07, christoph-keller <christoph-keller at web.de> wrote:
> Hello,
>
> I have a scene without lights. I want to light a surface so that the
> Color is only dependent on the angle the surface is seen under.
>
> Mathematically there could be an easy Option to enable this. Or do i
> have to add a Light source, and work with Material properties and so on..?
>
> Greetings,
> Christoph
>
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel
>


-- 
    Henrique Pinto
    tawhaki at gmail.com


More information about the kde-games-devel mailing list