Programming/openGL2025. 7. 30. 19:27

opengl에서 지원하는 쉐이드(면 색상 칠하기)는 flat과 gouraud 뿐이라는데

한 20년 전에 퐁은 어떻게 한거였지?

 

I digged around a bit. You can use the fixed function pipeline and set glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, 1); GL will then light backfaces with your back material and reversed normals. 

[링크 : https://gamedev.stackexchange.com/questions/9228/double-sides-face-with-two-normals]

 

flat / Gouraud

[링크 : https://gofo-coding.tistory.com/entry/OpenGL-Lighting-Shading]

 

phong은 쉐이더 써야한다고

[링크 : https://dev-sbee.tistory.com/35]

 

'Programming > openGL' 카테고리의 다른 글

visual studio 2002 에서 openGL 예제 실행  (2) 2025.07.30
openGL light  (0) 2025.07.30
openGL 은선제거  (0) 2025.07.29
openGL 스터디용 gemini 생성 코드  (0) 2025.07.16
blender in openGL  (0) 2025.04.28
Posted by 구차니