Could not render anything for Tutorial 09
OS: Ubuntu 24.04LTS GCC: 13.3.0 OpenGL: 4.6.0 NVIDIA: 555.42.06
I compiled the projects using the following command.
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
cmake --build . --config Release
I then tried to execute ./Tut09BasicLighting, ./Tut09AmbientLighting and ./Tut09ScaleAndLighting. None of these executable rendered any shapes.
@b-sia I noticed some of the shaders weren't working in Tut 07 due to conflicting names with the other tutorials. I appended 'Tut07' to the shader files and their references in InitializeProgram() and they loaded successfully. Maybe the same thing is happening with Tut 09?
Edit: Finally got to Tutorial 9 myself. It's definitely a problem with data files being stored globally from all tutorials. Add a unique suffix to the data file name, updated the cpp file that loads it and you should be good to go.