Has anyone else noticed that upon migration to 1.11 that the startup time for loading the main menu has dramatically increased. Is this due to POM being on every texture? I have two revisions that I can flick back and forth to, and the only thing that I can see that has made a difference is the fact that all materials are set as POM as default. I have made no other code changes other than the migration.
My machine is quite beasty so I wouldn't expect that kind of increase in startup time:
- 1.1 startup ~ 20 seconds
- 1.11 startup ~ 40 seconds
I know I could just change the startup screen but I like to keep a base benchmark to make sure nothing dramatic has changed version upon version so that's why I'm a bit confused as to why I've got this massive increase in load time. It happens after
the Neoaxis logo pops up, and then the application freezes for about 20-30 seconds until the main menu appears.
EDIT: I just changed the materials to all use normal Parallax mapping but it didn't help. I have no idea what Neoaxis is processing from last version.
EDIT 2: I paused the app at the point that was taking it ages, and it seems to be taking longer at the lightpass for ShaderBaseMaterial.cs at this code:
- Code: Select all Expand view
GpuProgram fragmentProgram = GpuProgramCacheManager.Instance.AddProgram(
"ShaderBase_Fragment_", GpuProgramType.FragmentProgram, sourceFileMain,
"main_fp", fragmentSyntax, arguments.ToString(), replaceStrings,
out defaultTechniqueErrorString );
I did a hit count on 1.1 and 1.11 and the counts are exactly the same so I don't know why it's taking longer to process this bit in 1.11 (5728 is you must know).