Hey, I have been busy with compiling shaders lately. I can compile the more simple shaders or custom shaders and they also work ingame. However I got a problem related to shadercompile.exe and compiling some of the bigger shaders . The problem mainly occurs with 'SDK_lightmappedgeneric_ps2x.fxc'.
So what happens? When compiling, multiple processes are created of shadercompile.exe and all start going for a while. At one point (around '7864343 remaining') one of the processes takes up 100% cpu and the others are doing nothing. Then after some time the idling processes exit. The one process that is taking up the full cpu goes on for a while and then exits too, producing no shader. No error message. I tried this on two different computers with the same result. Furthermore to see if the problem was related to multiple processes of shadercompile.exe I disabled all cores in my OS (Win7) except for one. In that case shadercompile only creates one process. I can't find a command list of shadercompile, so I don't know if I can force it to only spawn one process. This time it does compile the shader without problem, although it takes about 2 hours. So I am wondering if there are more people with this problem and if there is a solution for it. I would also be happy to know where I can find the command list for shadercompile.exe, so I can at least force it to only using one process if possible. Furthermore I can't find any cpp code for SDK_LightMapGeneric, am I missing something here? Although it doesn't seems to be a big problem since SDK_WorldVertexTransition does about the same. Sander _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders