[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: 65
Joined: Wed Aug 08, 2018 9:03 am
x 13

[2.1] Shader compile location

Post by gabbsson »

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!
al2950
OGRE Expert User
OGRE Expert User
Posts: 1227
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 157

Re: [2.1] Shader compile location

Post by al2950 »

Yup, its done per HLMS instance using setDebugOutputPath. See here;
https://bitbucket.org/sinbad/ogre/src/e ... #lines-725
gabbsson
Halfling
Posts: 65
Joined: Wed Aug 08, 2018 9:03 am
x 13

Re: [2.1] Shader compile location

Post by gabbsson »

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