List Info

Thread: OpenGL Lightning




OpenGL Lightning
country flaguser name
Germany
2007-07-24 10:15:26
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-develkde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel

Re: OpenGL Lightning
user name
2007-07-24 11:19:39
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-kellerweb.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-develkde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel
>


-- 
    Henrique Pinto
    tawhakigmail.com
_______________________________________________
kde-games-devel mailing list
kde-games-develkde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )