Some problems with render "Masked" textures
Closed this issue · 7 comments
Hello
we have some problems with render models that use textures with alpha channels and $texrendermode masked on models.
all parts of models that used this flag is "invisible"
zm_buffclass23s1tr_eg.zip
u can use this one for tests
Looks like the same issue as in #16. The model looks fine on my machine. What GPU do you have?
Laptop gtx1050ti
I compiled a debug dll for you to try since I can't reproduce the issue myself: client.zip.
I added some checks for GL_ALPHA_TEST, it should spam the console if it's enabled for whatever reason. I also made the fragment shader show all opaque fragments as blue and transparent ones as red. If the issue is caused by the fragment shader discarding all fragments, the masked parts of the models you're having issues with should be fully red.
The result: https://youtu.be/HYHhyx8j7qA
Looks like the same issue as in #16. The model looks fine on my machine. What GPU do you have?
can u give this compiled DLL, maybe problem was with it?
Aw yeah, I thought I published a release that included the fix but I never did.
Update: published a new release that contains the fix.