// sb6.h 헤더 파일을 포함시킨다. #include #include #include #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" // sb6::application을 상속받는다. class my_application : public sb7::application { public: // 쉐이더 컴파일한다. // basic lighting shader GLuint compile_shader2(void) { // 버텍스 쉐이더를 생성하고 컴파일한다. GLuint vertex_shader = sb7::shader::load("basic_lighting_vs.glsl", GL_VERTEX_SHADER); // 프래그먼트 쉐이더를 생성하고 컴파일한다. G..