Skip to content
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

Fixed vbsp not loading game shader libraries #200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Biohazard90
Copy link

VBsp is not loading game shader libraries by default which results in custom lightmapped shaders to be unlit in-game. It can be fixed by calling IMaterialSystem::ModInit right after VBsp initialized the material system.

@alanedwardes
Copy link
Contributor

Thanks for pushing this up! We've been using this in our codebase for about 5 months - we got the fix from you in the first place. Thought we'd hit a brick wall when we couldn't get lighting on surfaces using the SDK_* shaders, but this fixed it. I think it would save other teams some frustration in the future if it was included.

untodesu pushed a commit to untodesu/refraction that referenced this pull request May 18, 2020
TotallyMehis added a commit to zm-reborn/zmr-game that referenced this pull request Jun 22, 2020
TotallyMehis added a commit to zm-reborn/zmr-game that referenced this pull request Oct 2, 2020
untodesu pushed a commit to untodesu/refraction that referenced this pull request Dec 22, 2020
wolfestridershooter added a commit to wolfestridershooter/source-sdk-2013-ce that referenced this pull request Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants