-
Notifications
You must be signed in to change notification settings - Fork 63
Rework material system material and surface generation #1645
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
Rework material system material and surface generation #1645
Conversation
20688cb
to
546e4eb
Compare
25a3921
to
325a174
Compare
Ran tests and got this: |
Is it possible it's a glsl cache issue? I've just loaded |
I can reproduce that with just |
No, I still reproduce it with a pristine homepath. |
I did the same thing with homepath, still can't reproduce. I've also added some logging locally, and |
I get the exact same (AMD RDNA3, Mesa radeonsi). |
So it works on master, but not on this branch? The only thing I could think of is that there's some end-of-string character or something that is messing it up (between |
Yes, on my end it works on master but not on this branch. |
325a174
to
559f72f
Compare
I was able to reproduce this on |
Added a commit to fix this. This should also fix the similar issue in #1600. |
564a173
to
143278f
Compare
That's |
Can't reproduce the |
No. I don't really use dummy gamelogic anymore since the GLSL building changes broke it. |
Any non-default graphics settings other than |
I experience no regression between |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Some more changes to allow entities to be added to the material system. This entirely removes the
GenerateWorldMaterials()
function, instead materials are generated for eachMaterialSurface
. This also removes a bunch of things fromdrawSurf_t
,tess
,Render_*()
etc. that were only used to pass information through to the material system.Also fixed a memory leak in material system portal surface processing.