Audit and implement missing Source shader types #49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Several Source engine shader types are either not implemented or have incomplete implementations. For full rendering parity we need coverage of every shader that appears in the wild.
Currently missing or incomplete
Shaders currently set to
visible = falseor unhandled:Shaders with simplified fallback implementations:
Shaders that may appear but aren't in our switch statement:
Approach
applyVMTPropertiesRelated
Implemented in
3491300. Added switch cases for all Source Engine shader types found in the SDK (materialsystem/stdshaders/):Newly implemented (with appropriate rendering paths):
Utility/debug shaders (correctly hidden):
Every shader either has a specific implementation or maps to an appropriate existing path. Unrecognized shaders still fall through to the default lightmapped path.