Sorry but it does not work. RenderToCubemap seems to disable camera events so both Standard and URP shaders seems to not work there.
do you know if there is any workaround for that?
I looked into the code of that asset but it simply calls rendertocubemap, and as i searched it there seems to be no workaround (i tried a few thinks but not worked) sorry.
Hi Is it possible to have a mirror with a larger field of view (like a convex mirror)?
Sorry but it is just a planar i have not tried convex or concave etc. Have to look into that.
Ok, thanks!
So far I managed to get a higher fov in the mirrors by manipulating the projection matrix (like described here ) in the CameraShade script. But it behaves weirdly as the vanishing point in the mirror moves when I rotate the camera.
I’ll leave it be for now and see if you manage to implement it in the future
Hmm, you can set the fov of reflection camera manually but i am not sure if that gives you the desired result
Hi there!
I’m having an issue with this asset. I don’t know why, but the mirror is reflecting something weird. It’s like at some point it is becoming transparent or reflecting the wall at the back. When I move the character near the mirror, the wrong effect disappears.
I have recorded this video: b22ppx
I have tried about everything and I don’t get to make it work: deactivating all post-processing, moving the mirror to different positions, activating and deactivating all options in the Mirror Manager, tested different configurations in the shader, …
This is in Unity 2021.3 LTS (latest version) with the most recent version of your asset. It is the built-in pipeline.
Any clue on what might be happening?
Best regards.
I have just tried to remove the wall at the back of the mirror and the effect is not showing. I have tried to replace the plane I was using by a cube, but the back walls are still being shown in the reflection. Increasing the Clip Plane Offset is not helping.
What it seems to help is changing the rendering mode in the shader to Transparent or Fade. Why? I don’t know, but it seems that there is some kind of bug with Rendering Mode = Opaque.
Regards.
Hi, the problem can be anything. Setup or bug as you said. Can you please connect me via skype as “hayletbisi” or discord “Akilli Mum#6862” so we can look into it together or try the tick (open) the “Turn Off Occlusion” option. It may not be occluded by mirrror cam on certain angles
Hello, I’m looking for a mirror for use in VR. I see the asset store page says that VR is supported, but is this a true 3D (stereo) reflection? Or is it simply putting a flat renderTexture onto a plane (which I could easily do myself)?
You can not put just a rendertexture into a plane. It needs matrix transformations, eye seperation calculations and many more You can test it by yourself, as you say; just rendering texture and putting it on a plane is not hard
Yes, I realize all that. That’s why I’m looking for an asset to do this properly. Does this asset do it (stereo reflections) or not?
Yes it does, but for certain passes. Please see the docs or explanation on asset page. I am not writing it here cause it may change (I will try to add more passes if I find the solutions )