Open dsezen opened 11 years ago
Are you sure you're running mat_dxlevel 90? There's a bug(?) where if you don't have the Steampipe beta for Half-Life 2, the material system defaults to DirectX 8.
I was running mat_dxlevel 95 actually because I am on Windows 7. I forced mat_dxlevel 90 but still have the issue.
When running Black Mesa on the 2013 edition of the SDK, I'm seeing the following errors in my console:
These are VALVe supplied shaders and materials. Our code doesn't touch any of the HDR stuff so I wrote up some code to print out the variables given a VMT file. Here was the result for dev/lumcompare (note, out of order msg calls due to a separate SDK bug):
For dev/blurfiltery_nohdr, the result is the following:
So the interesting thing is, I took note of the fact that the parameters were all lower case. Even after lowercasing all instances in the codebase, I still got the same error message.
I took it a step further and wrote some code to print out all loaded shaders and their variables. I came across something interesting:
This is the VMT for dev/lumcompare:
Note that the _DX9 version does contain the required variables. blurfiltery_nohdr.vmt uses the BlurFilterY shader which contains the following variables:
Any ideas?
Update: It looks like the issue is in in the following area: