Share same codes( cpp & glsl included) while implement with Qt
source code: https://github.com/huailiang/OpenGLEngine
You should set work directory first at line 34 in common.h, otherwise it will be not load asset correctly!
#define WORKDIR "/users/username/qt_engine"
- qt 5.11
- opengl 330
- direct light
- point light
- spot light
penghuailiang
2019.05.29