Hello!
Trying to figure out if there is a way to set the location where shaders are compiled to, currently the working directory (as far as I can tell).
I have tried searching the forum and looking in the source, but I figure this question should be pretty easy to answer.
So to keep it short: How do I set the folder/location where shaders are compiled to?
I'm using opengl only on Linux.
Cheers!
[2.1] Shader compile location Topic is solved
-
- OGRE Expert User
- Posts: 1227
- Joined: Thu Dec 11, 2008 7:56 pm
- Location: Bristol, UK
- x 157
Re: [2.1] Shader compile location
Yup, its done per HLMS instance using setDebugOutputPath. See here;
https://bitbucket.org/sinbad/ogre/src/e ... #lines-725
https://bitbucket.org/sinbad/ogre/src/e ... #lines-725
-
- Halfling
- Posts: 65
- Joined: Wed Aug 08, 2018 9:03 am
- x 13
Re: [2.1] Shader compile location
Thank you for the quick response! Knew it had to be in there somewhere.