There's a hint you can set:Every shadow technique except ShadowTexture replaces the fixed-function rendering of receivers
Code: Select all
... or if multitexturing is used, or <insert 100 other reasons here>with a (supposedly) equivalent shader with shadow support, except that it might not be equivalent if, for example, fog is on,
You can access a lot of fixed function state, but not all of it. Generally the GL_ENABLE states aren't available. We've mostly worked around this by setting values that are no-ops instead (e.g. setting a really large fog start distance, or a light with color (0,0,0) ).as the shader used can't access fixed-function state
I'm not sure what you mean by prebuild script. Running cmake should copy the new files. Does it not do that?I also found an issue with Git for Windows' bash shell - the cp command replaces existing files normally but doesn't do so when copying the entire contents of a folder. This means actually testing my shaders is a pain as the prebuild script can't put the new versions in the right place without tweaking.