Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I try to use Phong shading model by setting
C++
glShadeModel(GL_PHONG_WIN);

(after creating GL Context)

I am getting an INVALID_ENUM error (1280).

When I enquire the GL version glGetString(GL_VERSION), I am getting 1.1.0

How can I use Phong shading in my program.

OS : Windows 7.
Graphics Card : Intel(R) HD Graphics
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900