Create shade folders and files

Add a shaders folder in your project root folder.

Create colour.vert and colour.frag in the shaders folder.

modify CMakeLists.txt

to include shader.cpp as follows

copy shader files to the build directory

Last updated