Setting GL_SPECULAR

If there is something important you think is missing in the current version of ZGameEditor then you can post a feature request here!

Moderator: Moderators

Post Reply
User avatar
Lupo
Posts: 76
Joined: Wed Sep 09, 2009 6:21 pm
Location: Montevideo, Uruguay

Setting GL_SPECULAR

Post by Lupo »

Hi!

I will really like to have a check box in zApplication properties under Light Position, something like Enable Specular, to add a nice touch in the shading like this Opengl command does:

glLightfv(GL_LIGHT0, GL_SPECULAR, (1.0,1.0,1.0,1.0));

I know this could be made with shaders, but I think is a nice feature to have.

Thanks in advance!
Attachments
specule.jpg
specule.jpg (5.86 KiB) Viewed 4277 times
Close, but not there yet.
User avatar
Kjell
Posts: 1876
Joined: Sat Feb 23, 2008 11:15 pm

Post by Kjell »

Hi Lupo,

One of many fixed-function pipeline features missing from ZGE :roll: It's a difficult issue though. Ideally you want PC games to gracefully degrade on lower-end hardware, but you have to draw the line somewhere .. and it's always allot of additional work.

Anyway .. since the Material Component already holds the Diffuse property, I feel that Ambient / Specular / Emission would belong there as well, instead of being a member of App.

K
Post Reply