Is there any way for me to render shadows on a skybox/360 image. I have done research with not much help. I tried to use a matte shadow, but the ones on the forums are for unity 4 and do not work on mobile.
I have looked for a shader online that could allow me to render a solid color as transparent. like a green screen type of effect so that only the shadow will be visible. I cannot find this.
I would like a solution to do this. I’m hoping it will work on mobile.
To my knowledge, there is no way to know where shadows are into the fragment shader (where you apply alpha) since shadows are added after in a later pass.
Also, Unity shadows are only supported on opaque or cutout shaders but not on alpha blending shaders.
That’s probably why you can’t find this…
A workaround could be to write your own shadow system to retrieve the shadows atlas and send it to your shader.
The Lab Renderer from Valve(free in asset store) have done a custom shadow system to have high shadows quality for VR but I don’t really know if it will work on mobile.