Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error running first example (chapter 3 triangle)
#14
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.
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 



Reply


Messages In This Thread
RE: error running first example (chapter 3 triangle) - by Brian Beuken - 06-08-2018, 08:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)