[2.1] Shader compile location Topic is solved

Problems building or running the engine, queries about how to use features etc.
Post Reply
gabbsson
Halfling
Posts: 44
Joined: Wed Aug 08, 2018 9:03 am
x 4

[2.1] Shader compile location

Post by gabbsson » Wed Mar 13, 2019 5:30 pm

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!
0 x

al2950
OGRE Expert User
OGRE Expert User
Posts: 1188
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 69

Re: [2.1] Shader compile location

Post by al2950 » Wed Mar 13, 2019 6:50 pm

Yup, its done per HLMS instance using setDebugOutputPath. See here;
https://bitbucket.org/sinbad/ogre/src/e ... #lines-725
1 x

gabbsson
Halfling
Posts: 44
Joined: Wed Aug 08, 2018 9:03 am
x 4

Re: [2.1] Shader compile location

Post by gabbsson » Thu Mar 14, 2019 9:02 am

Thank you for the quick response! Knew it had to be in there somewhere.
0 x

Post Reply