[SOLVED]RTSS cache question

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
drwbns
Orc Shaman
Posts: 788
Joined: Mon Jan 18, 2010 6:06 pm
Location: Costa Mesa, California
x 24

[SOLVED]RTSS cache question

Post by drwbns »

With the cache option in RTSS, isn't the system not supposed to rebuild the shaders with each run? For some reason I'm getting rebuilt shaders everytime I run so the cache folder is getting bigger and bigger.
Last edited by drwbns on Fri Aug 15, 2014 9:04 pm, edited 1 time in total.
shenjoku
Gremlin
Posts: 193
Joined: Sat Aug 06, 2011 11:02 pm
x 6

Re: RTSS cache question

Post by shenjoku »

If you change anything in the code or the materials that would cause different shaders code to get generated then yes, it will output new files with different names to the cache when you run. If you haven't changed anything then it should only output them once though. Easy way to test is to clear the cache, run once, close it, make note of the files that are there and their timestamps, then run again and see if anything changes.
drwbns
Orc Shaman
Posts: 788
Joined: Mon Jan 18, 2010 6:06 pm
Location: Costa Mesa, California
x 24

Re: RTSS cache question

Post by drwbns »

You.re right. I didn't realize it would rebuild with code changes. Thank you.