Is it possible to change a shader's Render Type/Queue from Transparent/Transparent to Opaque/Geometry during runtime? By script or otherwise.
Trying to achieve a Depth of Field effect and found that Transparent objects don't play well with it as it doesn't have Depth Information. But manually switching to Opaque/Geometry during Play Mode seems to work, trying to find a way to do it with script.
I've seen a few posts that seem to do it, but require fiddling with the shader itself which I'm unsure how to do with amplify shaders.