06-08-2018, 08:22 AM
Not in the early examples, the shaders are hard coded in the openGL init, later we will use a shader manager and load individual shaders as needed.
Shaders are not usually hidden away since we write them for our needs, its just a case of using the simplest approach of embedding them in the code until we're ready to explore.
Really pleased you worked it out, keep bashing away.
Shaders are not usually hidden away since we write them for our needs, its just a case of using the simplest approach of embedding them in the code until we're ready to explore.
Really pleased you worked it out, keep bashing away.
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's