Open hyblocker opened 1 year ago
I can't reproduce this issue.
The two places where I do mat.shader = something
I have it wrapped with render queue preservation since that assignment resets it to from shader.
Any more info on how this happened? Maybe some special shaders or shader inspectors?
I'll have a look and see if I can notice any patterns regarding this.
I've just come across this issue myself, so I hope I can add a bit more info.
Using Silent's shader, I noticed on a certain opaque material, default render queue, and with the bake button activated (pre-baked?), I would notice the material being semi-transparent in certain conditions. Shown in the image below, and 2nd image is what it should look like instead.
I've noticed the issue fixes itself when I do any of the following, independently of each other:
My optimizer settings for this are only:
The world is "White tile" by amanek: https://vrchat.com/home/world/wrld_1544f2bc-e6db-4810-b450-483376745f7a
I've included the broken shader of the post above.
One of the materials on my avatar's render queue is not preserved when generating the optimised shaders and materials. I have it set to a render queue of 1600, however upon optimising, the optimised variant's render queue option is reset to 2000.