-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export & decompile shaders should output VFX files #777
Comments
Also the generated VFX may be invalid (csgo_character.vfx). I tried recompiling it with https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-scalar When I changed it to Also I still couldn't get it to compile but that could be because the compiler is outdated in that repo ( +StaticComboRule( Requires1( S_ANISOTROPIC_GLOSS == 1, S_SPHERICAL_PROJECTED_ANISOTROPIC_TANGENTS == 0 ) );
-StaticComboRule( ChildOf1( S_SPHERICAL_PROJECTED_ANISOTROPIC_TANGENTS, S_ANISOTROPIC_GLOSS ) ); otherwise it would output that it doesn't know what compile logs
|
You vastly underestimate the complexity of the shaders. |
The shader decompile output does not have enough data to be compiled back. And ChildOf1 should be ChildOf i think. |
@kristiker I think you're right, however it doesn't work for
|
Oh interesting, our exporter needs updating then. |
I checked and the types are case-sensitive. The attached compiler does not understand |
Describe the bug
Relevant log output or exception with stacktrace
No response
What game does this happen in
CS2
Reference file in a Source 2 game
Expected behavior
VFX should be exported
What version of VRF are you using?
v9.0.3420
The text was updated successfully, but these errors were encountered: