I was checking out breath of the wild to analyze the camera system, collisions etc, and realized that every objects in the world smoothly fade out when close to the camera.
Does that mean that all objects in the world just use a transparent shader all the time ?
From my understanding, transparent shaders are less optimized than opaque ones because they dont always write to the depth buffer (assuming its optimized to act like a normal opaque object when the alpha is 1, thats still an additional check to see if its 1 or not)
They are obviously using their own engine, so a different rendering pipeline. Do they have a way to dynamically switch between rendering as a transparent and opaque material ?
Switching between two materials completly sounds pretty unoptimized but maybe Im wrong, also that would mean making a secondary shader for each opaque shader to have a transparent variant..
Anyways just a random thought I had, how is it optimized, is it just not as bad as I think to only use transparent objects, etc
Also how would this be made in unity URP ?
Thanks !