Hi there,
I am trying to recreate the 'Night mode' so it doesn't darken your viewmodel. But I am looking for firstMaterial and other methods from MaterialSystem but it only has findMaterial?
Basically every source (that is using night mode) is creating the night mode by using FirstMaterial/NextMaterial/InvalidMaterial/. I am not really sure how to achieve this, since I do not have those functions.
For example, I wanted to create the night mode correctly by using this post: https://www.unknowncheats.me/forum/counterstrike-global-offensive/215804-night-mode.html
But they're using functions that don't exist, to get all the materials for example.
Hope someone can help me with this.
Get the src with working nightmode c+p
Fix some errors then MaterialSystem might be missing
Right click on it on the working src goto definition
The rest is up to you.