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!
Setting GL_SPECULAR
Moderator: Moderators
Hi Lupo,
One of many fixed-function pipeline features missing from ZGE 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
One of many fixed-function pipeline features missing from ZGE 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