Ogre version 2.3.4 (Daedalus)
If Ogre::Hlms::mDebugOutput is set to true (through Hlms::setDebugOutputPath), the shader code is node written to the output file in Hlms::_compileShaderFromPreprocessedSource. Writing of source[ i ] is missing there which led to empty files (or only the properties/pieces are written).
Code: Select all
debugDumpFile.write(source[i].c_str(), source[i].size());