How to enable flat shading?

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
kazade
Insane DCEmu
Insane DCEmu
Posts: 145
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Tue May 02, 2017 3:11 pm
Has thanked: 3 times
Been thanked: 34 times

How to enable flat shading?

Post by kazade »

GLdc implements glShadeModel(GL_FLAT) in the same way that libGL did; by setting `cxt.gen.shading = PVR_SHADE_FLAT`, but it doesn't seem to work.

As far as I can tell the output is the same as PVR_SHADE_GOURAUD.

Any ideas?
kazade
Insane DCEmu
Insane DCEmu
Posts: 145
Joined: Tue May 02, 2017 3:11 pm
Has thanked: 3 times
Been thanked: 34 times

Re: How to enable flat shading?

Post by kazade »

Ah, it seems to be lxdream :/
Post Reply